From 179f266262fcc2b3c476f81167f09efe4c4a9073 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Tue, 16 Feb 2021 15:37:54 -0500 Subject: [PATCH 1/6] feat: use OpenAPI descriptions instead of octokit/routes --- .eslintrc | 24 - .github/workflows/build.yml | 2 + index.js | 26 +- lib/generate.js | 46 +- lib/generators.js | 13 +- lib/helpers.js | 11 +- lib/id-generator.js | 4 +- package-lock.json | 21501 +++++++++++++++++---- package.json | 16 +- routes/api.github.com.json | 11014 +++++------ routes/ghe-2.16.json | 10843 ----------- routes/{ghe-2.19.json => ghes-2.18.json} | 4806 +++-- routes/{ghe-2.17.json => ghes-2.19.json} | 3810 ++-- routes/ghes-2.20.json | 9071 +++++++++ routes/ghes-2.21.json | 9330 +++++++++ routes/ghes-2.22.json | 10471 ++++++++++ routes/ghes-3.0.json | 7243 +++++++ routes/{ghe-2.18.json => github.ae.json} | 6048 +++--- tests/generate.test.js | 50 +- 19 files changed, 66937 insertions(+), 27392 deletions(-) delete mode 100644 .eslintrc delete mode 100644 routes/ghe-2.16.json rename routes/{ghe-2.19.json => ghes-2.18.json} (57%) rename routes/{ghe-2.17.json => ghes-2.19.json} (57%) create mode 100644 routes/ghes-2.20.json create mode 100644 routes/ghes-2.21.json create mode 100644 routes/ghes-2.22.json create mode 100644 routes/ghes-3.0.json rename routes/{ghe-2.18.json => github.ae.json} (53%) diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 3c0e332..0000000 --- a/.eslintrc +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": [ - "airbnb", - "prettier" - ], - "env": { - "es6": true, - "node": true, - "jest": true - }, - "rules": { - "prettier/prettier": [ - "error", - { - "trailingComma": "none", - "singleQuote": true, - "printWidth": 120 - } - ] - }, - "plugins": [ - "prettier" - ] -} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 654e0bb..75a9282 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,8 @@ jobs: npm ci - name: Test + env: + GITHUB_TOKEN: 987zyx run: | npm run lint npm test diff --git a/index.js b/index.js index a94ab00..642327d 100755 --- a/index.js +++ b/index.js @@ -1,17 +1,21 @@ #!/usr/bin/env node const path = require('path'); -const fs = require('fs'); -const routes = require('@octokit/routes'); +const fs = require('fs/promises'); const meta = require('./package'); -const generate = require('./lib/generate'); +const { generate, getLatestRoutes } = require('./lib/generate'); -Object.entries(routes).forEach(([route, api]) => { - const data = generate({ api, meta }); - const destination = path.normalize(path.join(__dirname, 'routes', `${route}.json`)); +(async () => { + const routes = await getLatestRoutes(); - // Write output straight to file - const output = JSON.stringify(data, null, 2); - fs.writeFileSync(destination, output); -}); + Object.entries(routes).forEach(async ([route, api]) => { + const data = generate({ api, meta }); + const destination = path.normalize(path.join(__dirname, 'routes', `${route}.json`)); -process.exit(0); + // Write output straight to file + const output = JSON.stringify(data, null, 2); + await fs.writeFile(destination, output); + + process.exit(0); + }); + +})(); diff --git a/lib/generate.js b/lib/generate.js index 8845257..9740aa1 100644 --- a/lib/generate.js +++ b/lib/generate.js @@ -1,12 +1,32 @@ const _ = require('lodash'); const { idGenerator } = require('./id-generator'); const { generateEnvironmentVariables, generateRequestGroups, generateRequests } = require('./generators'); +const { Octokit } = require('@octokit/rest'); + +const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }); +const owner = 'github'; +const repo = 'rest-api-description'; const fldIdGenerator = idGenerator('FLD'); const reqIdGenerator = idGenerator('REQ'); -function generate({ api, meta }) { - // eslint-disable-next-line no-underscore-dangle +const getContentAtPath = async (path) => { + return await octokit.repos.getContent({ + owner, + repo, + path + }); +}; + +const getFileContent = async (sha) => { + return await octokit.git.getBlob({ + owner, + repo, + file_sha: sha + }); +}; + +const generate = ({ api, meta }) => { const _api = _(api); const rootRequestGroup = { @@ -35,6 +55,24 @@ function generate({ api, meta }) { }; return data; -} +}; + +const getLatestRoutes = async () => { + const routes = {}; + const { data: platforms } = await getContentAtPath('descriptions'); + + await Promise.all(platforms.map(async platform => { + const { data: files } = await getContentAtPath(platform.path + '/dereferenced'); + const file = files.find(f => f.name.indexOf('json') >= 0); + const { data: blob } = await getFileContent(file.sha); + const content = Buffer.from(blob.content, 'base64').toString('utf-8'); + routes[platform.name] = JSON.parse(content); + })); + + return routes; +}; -module.exports = generate; +module.exports = { + generate, + getLatestRoutes +}; diff --git a/lib/generators.js b/lib/generators.js index 1e37ef6..b4a35cc 100644 --- a/lib/generators.js +++ b/lib/generators.js @@ -1,7 +1,7 @@ const _ = require('lodash'); const { requestGroupNameFromSpec, queryParamsFromSpec, previewHeadersFromSpec } = require('./helpers'); -function generateEnvironmentVariables(api) { +function generateEnvironmentVariables (api) { // Use a set so that we de-duplicate const environmentVariables = new Set(); @@ -13,7 +13,10 @@ function generateEnvironmentVariables(api) { Object.values(api.paths).forEach(methods => { Object.values(methods).forEach(spec => { - spec.parameters + if (!spec.parameters) { + return []; + } + return spec.parameters .filter(param => param.in === 'path') .forEach(({ name, schema }) => { // Add each environment variable as a key-value pair, initialize the value to default @@ -27,7 +30,7 @@ function generateEnvironmentVariables(api) { } module.exports.generateEnvironmentVariables = generateEnvironmentVariables; -function generateRequestGroups(api, idGenerator, parentId) { +function generateRequestGroups (api, idGenerator, parentId) { const groups = new Set(); Object.values(api.paths).forEach(methods => { @@ -45,7 +48,7 @@ function generateRequestGroups(api, idGenerator, parentId) { } module.exports.generateRequestGroups = generateRequestGroups; -function generateRequests(api, idGenerator, requestGroups) { +function generateRequests (api, idGenerator, requestGroups) { const requests = []; // Generate an index of requestGroups by group @@ -79,7 +82,7 @@ function generateRequests(api, idGenerator, requestGroups) { _id: idGenerator(), _type: 'request', name: spec.summary, - description: `${spec.description}\n\n${spec.externalDocs.url}`, + description: spec.externalDocs ? `${spec.description}\n\n${spec.externalDocs.url}` : '', headers, authentication: { token: '{{ github_token }}', diff --git a/lib/helpers.js b/lib/helpers.js index f50f4ac..aaef664 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -1,9 +1,12 @@ -function requestGroupNameFromSpec(spec) { +function requestGroupNameFromSpec (spec) { return spec.operationId.split('/')[0]; } module.exports.requestGroupNameFromSpec = requestGroupNameFromSpec; -function queryParamsFromSpec(spec) { +function queryParamsFromSpec (spec) { + if (!spec.parameters) { + return []; + } return spec.parameters .filter(param => param.in === 'query') .map(({ name, schema }) => { @@ -16,8 +19,8 @@ function queryParamsFromSpec(spec) { } module.exports.queryParamsFromSpec = queryParamsFromSpec; -function previewHeadersFromSpec(spec) { - return spec['x-github'].previews.length +function previewHeadersFromSpec (spec) { + return spec['x-github'] && spec['x-github'].previews && spec['x-github'].previews.length ? { name: 'Accept', value: spec['x-github'].previews.map(preview => `application/vnd.github.${preview.name}-preview+json`).join(',') diff --git a/lib/id-generator.js b/lib/id-generator.js index 83e7f38..f00e5a8 100644 --- a/lib/id-generator.js +++ b/lib/id-generator.js @@ -1,6 +1,6 @@ -function idGenerator(kind, initial = 1, increment = 1) { +function idGenerator (kind, initial = 1, increment = 1) { let current = initial; - return function generateId() { + return function generateId () { const id = `__${kind}_${current}__`; current += increment; return id; diff --git a/package-lock.json b/package-lock.json index ae280c2..9a645d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,2189 +1,15723 @@ { "name": "github-rest-apis-for-insomnia", "version": "1.1.1", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", - "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", + "packages": { + "": { + "version": "1.1.1", + "license": "ISC", + "dependencies": { + "@octokit/rest": "^18.1.1", + "lodash": "^4.17.15" + }, + "bin": { + "github-rest-apis-for-insomnia": "index.js" + }, + "devDependencies": { + "insomnia-importers": "^2.1.1", + "jest": "^26.6.3", + "nock": "^13.0.7", + "nodemon": "^1.18.10", + "semistandard": "^16.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", + "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", "dev": true, - "requires": { - "@babel/highlight": "^7.0.0" + "dependencies": { + "@babel/highlight": "^7.12.13" } }, - "@babel/core": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.7.5.tgz", - "integrity": "sha512-M42+ScN4+1S9iB6f+TL7QBpoQETxbclx+KNoKJABghnKYE+fMzSGqst0BZJc8CpI625bwPwYgUyRvxZ+0mZzpw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.7.4", - "@babel/helpers": "^7.7.4", - "@babel/parser": "^7.7.5", - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4", + "node_modules/@babel/core": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.16.tgz", + "integrity": "sha512-t/hHIB504wWceOeaOoONOhu+gX+hpjfeN6YRBT209X/4sibZQfSF1I0HFRRlBe97UZZosGx5XwUg1ZgNbelmNw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.12.15", + "@babel/helper-module-transforms": "^7.12.13", + "@babel/helpers": "^7.12.13", + "@babel/parser": "^7.12.16", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13", "convert-source-map": "^1.7.0", "debug": "^4.1.0", - "json5": "^2.1.0", - "lodash": "^4.17.13", - "resolve": "^1.3.2", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.19", "semver": "^5.4.1", "source-map": "^0.5.0" }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, "dependencies": { - "@babel/code-frame": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.0.0" - } - }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true } } }, - "@babel/generator": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.7.4.tgz", - "integrity": "sha512-m5qo2WgdOJeyYngKImbkyQrnUN1mPceaG5BV+G0E3gWsa4l/jCSryWJdM2x8OuGAOyh+3d5pVYfZWCiNFtynxg==", + "node_modules/@babel/core/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true, - "requires": { - "@babel/types": "^7.7.4", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/generator": { + "version": "7.12.15", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.15.tgz", + "integrity": "sha512-6F2xHxBiFXWNSGb7vyCUTBF8RCLY66rS0zEPcP8t/nQyXjha5EuK4z7H5o7fWG8B4M7y6mqVWq1J+1PuwRhecQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.12.13", "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-function-name": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz", - "integrity": "sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==", + "node_modules/@babel/generator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/types": "^7.7.4" + "engines": { + "node": ">=0.10.0" } }, - "@babel/helper-get-function-arity": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz", - "integrity": "sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==", + "node_modules/@babel/helper-function-name": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", + "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", "dev": true, - "requires": { - "@babel/types": "^7.7.4" + "dependencies": { + "@babel/helper-get-function-arity": "^7.12.13", + "@babel/template": "^7.12.13", + "@babel/types": "^7.12.13" } }, - "@babel/helper-plugin-utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", - "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", - "dev": true + "node_modules/@babel/helper-get-function-arity": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", + "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.12.13" + } }, - "@babel/helper-split-export-declaration": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz", - "integrity": "sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==", + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.16.tgz", + "integrity": "sha512-zYoZC1uvebBFmj1wFAlXwt35JLEgecefATtKp20xalwEK8vHAixLBXTGxNrVGEmTT+gzOThUgr8UEdgtalc1BQ==", "dev": true, - "requires": { - "@babel/types": "^7.7.4" + "dependencies": { + "@babel/types": "^7.12.13" } }, - "@babel/helpers": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz", - "integrity": "sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg==", + "node_modules/@babel/helper-module-imports": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz", + "integrity": "sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g==", "dev": true, - "requires": { - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" + "dependencies": { + "@babel/types": "^7.12.13" } }, - "@babel/highlight": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", - "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", + "node_modules/@babel/helper-module-transforms": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.13.tgz", + "integrity": "sha512-acKF7EjqOR67ASIlDTupwkKM1eUisNAjaSduo5Cz+793ikfnpe7p4Q7B7EWU2PCoSTPWsQkR7hRUWEIZPiVLGA==", "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^4.0.0" + "dependencies": { + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-replace-supers": "^7.12.13", + "@babel/helper-simple-access": "^7.12.13", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/helper-validator-identifier": "^7.12.11", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13", + "lodash": "^4.17.19" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", + "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.12.13" } }, - "@babel/parser": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.5.tgz", - "integrity": "sha512-KNlOe9+/nk4i29g0VXgl8PEXIRms5xKLJeuZ6UptN0fHv+jDiriG+y94X6qAgWTR0h3KaoM1wK5G5h7MHFRSig==", + "node_modules/@babel/helper-plugin-utils": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.12.13.tgz", + "integrity": "sha512-C+10MXCXJLiR6IeG9+Wiejt9jmtFpxUc3MQqCmPY8hfCjyUGl9kT+B2okzEZrtykiwrc4dbCPdDoz0A/HQbDaA==", "dev": true }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz", - "integrity": "sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg==", + "node_modules/@babel/helper-replace-supers": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.13.tgz", + "integrity": "sha512-pctAOIAMVStI2TMLhozPKbf5yTEXc0OJa0eENheb4w09SrgOWEs+P4nTOZYJQCqs8JlErGLDPDJTiGIp3ygbLg==", "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.12.13", + "@babel/helper-optimise-call-expression": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13" } }, - "@babel/runtime": { - "version": "7.7.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.6.tgz", - "integrity": "sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw==", + "node_modules/@babel/helper-simple-access": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.13.tgz", + "integrity": "sha512-0ski5dyYIHEfwpWGx5GPWhH35j342JaflmCeQmsPWcrOQDtCN6C1zKAVRFVbK53lPW2c9TsuLLSUDf0tIGJ5hA==", "dev": true, - "requires": { - "regenerator-runtime": "^0.13.2" + "dependencies": { + "@babel/types": "^7.12.13" } }, - "@babel/template": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz", - "integrity": "sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==", + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", + "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4" + "dependencies": { + "@babel/types": "^7.12.13" } }, - "@babel/traverse": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz", - "integrity": "sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==", + "node_modules/@babel/helper-validator-identifier": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true + }, + "node_modules/@babel/helpers": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.13.tgz", + "integrity": "sha512-oohVzLRZ3GQEk4Cjhfs9YkJA4TdIDTObdBEZGrd6F/T0GPSnuV6l22eMcxlvcvzVIPH3VTtxbseudM1zIE+rPQ==", "dev": true, - "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.7.4", - "@babel/helper-function-name": "^7.7.4", - "@babel/helper-split-export-declaration": "^7.7.4", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4", - "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.13" - }, "dependencies": { - "@babel/code-frame": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.0.0" - } - }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13" } }, - "@babel/types": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz", - "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==", + "node_modules/@babel/highlight": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.12.13.tgz", + "integrity": "sha512-kocDQvIbgMKlWxXe9fof3TQ+gkIPOUSEYhJjqUjvKMez3krV7vbzYCDq39Oj11UAVK7JqPVGQPlgE85dPNlQww==", "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.13", - "to-fast-properties": "^2.0.0" + "dependencies": { + "@babel/helper-validator-identifier": "^7.12.11", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" } }, - "@cnakazawa/watch": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz", - "integrity": "sha512-r5160ogAvGyHsal38Kux7YYtodEKOj89RGb28ht1jh3SJb08VwRwAKKJL0bGb04Zd/3r9FL3BFIc3bBidYffCA==", + "node_modules/@babel/parser": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.16.tgz", + "integrity": "sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw==", "dev": true, - "requires": { - "exec-sh": "^0.3.2", - "minimist": "^1.2.0" + "bin": { + "parser": "bin/babel-parser.js" }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } + "engines": { + "node": ">=6.0.0" } }, - "@jest/console": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", - "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, - "requires": { - "@jest/source-map": "^24.9.0", - "chalk": "^2.0.1", - "slash": "^2.0.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/core": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz", - "integrity": "sha512-Fogg3s4wlAr1VX7q+rhV9RVnUv5tD7VuWfYy1+whMiWUrvl7U3QJSJyWcDio9Lq2prqYsZaeTv2Rz24pWGkJ2A==", + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/reporters": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-changed-files": "^24.9.0", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-resolve-dependencies": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "jest-watcher": "^24.9.0", - "micromatch": "^3.1.10", - "p-each-series": "^1.0.0", - "realpath-native": "^1.1.0", - "rimraf": "^2.5.4", - "slash": "^2.0.0", - "strip-ansi": "^5.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 - }, - "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" - } - } + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/environment": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", - "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, - "requires": { - "@jest/fake-timers": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/fake-timers": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", - "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "node_modules/@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": { - "@jest/types": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/reporters": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz", - "integrity": "sha512-mu4X0yjaHrffOsWmVLzitKmmmWSQ3GGuefgNscUSWNiUNcEOSEQk9k3pERKEQVBb0Cnn88+UESIsZEMH3o88Gw==", + "node_modules/@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", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, - "requires": { - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "glob": "^7.1.2", - "istanbul-lib-coverage": "^2.0.2", - "istanbul-lib-instrument": "^3.0.1", - "istanbul-lib-report": "^2.0.4", - "istanbul-lib-source-maps": "^3.0.1", - "istanbul-reports": "^2.2.6", - "jest-haste-map": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", - "node-notifier": "^5.4.2", - "slash": "^2.0.0", - "source-map": "^0.6.0", - "string-length": "^2.0.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/source-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", - "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "node_modules/@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": { - "callsites": "^3.0.0", - "graceful-fs": "^4.1.15", - "source-map": "^0.6.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/test-result": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", - "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "node_modules/@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", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, - "requires": { - "@jest/console": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/istanbul-lib-coverage": "^2.0.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/test-sequencer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz", - "integrity": "sha512-6qqsU4o0kW1dvA95qfNog8v8gkRN9ph6Lz7r96IvZpHdNipP2cBcb07J1Z45mz/VIS01OHJ3pY8T5fUY38tg4A==", + "node_modules/@babel/plugin-syntax-numeric-separator": { + "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": { - "@jest/test-result": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/transform": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", - "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, - "requires": { - "@babel/core": "^7.1.0", - "@jest/types": "^24.9.0", - "babel-plugin-istanbul": "^5.1.0", - "chalk": "^2.0.1", - "convert-source-map": "^1.4.0", - "fast-json-stable-stringify": "^2.0.0", - "graceful-fs": "^4.1.15", - "jest-haste-map": "^24.9.0", - "jest-regex-util": "^24.9.0", - "jest-util": "^24.9.0", - "micromatch": "^3.1.10", - "pirates": "^4.0.1", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", - "source-map": "^0.6.1", - "write-file-atomic": "2.4.1" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@jest/types": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", - "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^13.0.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@octokit/routes": { - "version": "26.18.0", - "resolved": "https://registry.npmjs.org/@octokit/routes/-/routes-26.18.0.tgz", - "integrity": "sha512-xkg+WVAzKztJmRRTWu8qTRkTZZ9cmBrw9MpI6FmRDLZ4sj+jr8oeuuXgLFqEczg6Nxzat+cS7pkqLwIrSmRsgA==" - }, - "@types/babel__core": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz", - "integrity": "sha512-8fBo0UR2CcwWxeX7WIIgJ7lXjasFxoYgRnFHUj+hRvKkpiBJbxhdAPTCY6/ZKM0uxANFVzt4yObSLuTiTnazDA==", + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, - "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@types/babel__generator": { - "version": "7.6.1", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz", - "integrity": "sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==", + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz", + "integrity": "sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ==", "dev": true, - "requires": { - "@babel/types": "^7.0.0" + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "@types/babel__template": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz", - "integrity": "sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==", + "node_modules/@babel/runtime": { + "version": "7.7.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.6.tgz", + "integrity": "sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw==", "dev": true, - "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" + "dependencies": { + "regenerator-runtime": "^0.13.2" } }, - "@types/babel__traverse": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.8.tgz", - "integrity": "sha512-yGeB2dHEdvxjP0y4UbRtQaSkXJ9649fYCmIdRoul5kfAoGCwxuCbMhag0k3RPfnuh9kPGm8x89btcfDEXdVWGw==", + "node_modules/@babel/template": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", + "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", "dev": true, - "requires": { - "@babel/types": "^7.3.0" + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@babel/parser": "^7.12.13", + "@babel/types": "^7.12.13" } }, - "@types/istanbul-lib-coverage": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", - "integrity": "sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg==", - "dev": true - }, - "@types/istanbul-lib-report": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", - "integrity": "sha512-3BUTyMzbZa2DtDI2BkERNC6jJw2Mr2Y0oGI7mRxYNBPxppbtEK1F66u3bKwU2g+wxwWI7PAoRpJnOY1grJqzHg==", + "node_modules/@babel/traverse": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.13.tgz", + "integrity": "sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA==", "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "*" + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.12.13", + "@babel/helper-function-name": "^7.12.13", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/parser": "^7.12.13", + "@babel/types": "^7.12.13", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.19" } }, - "@types/istanbul-reports": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz", - "integrity": "sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA==", + "node_modules/@babel/traverse/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "*", - "@types/istanbul-lib-report": "*" + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "@types/stack-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", - "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==", - "dev": true - }, - "@types/yargs": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.3.tgz", - "integrity": "sha512-K8/LfZq2duW33XW/tFwEAfnZlqIfVsoyRB3kfXdPXYhl0nfM8mmh7GS0jg7WrX2Dgq/0Ha/pR1PaR+BvmWwjiQ==", + "node_modules/@babel/types": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.13.tgz", + "integrity": "sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==", "dev": true, - "requires": { - "@types/yargs-parser": "*" + "dependencies": { + "@babel/helper-validator-identifier": "^7.12.11", + "lodash": "^4.17.19", + "to-fast-properties": "^2.0.0" } }, - "@types/yargs-parser": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz", - "integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==", - "dev": true - }, - "abab": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", - "integrity": "sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==", - "dev": true - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "acorn": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", - "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", - "dev": true + "node_modules/@cnakazawa/watch": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", + "integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==", + "dev": true, + "dependencies": { + "exec-sh": "^0.3.2", + "minimist": "^1.2.0" + }, + "bin": { + "watch": "cli.js" + }, + "engines": { + "node": ">=0.1.95" + } }, - "acorn-globals": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", - "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==", + "node_modules/@eslint/eslintrc": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz", + "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==", "dev": true, - "requires": { - "acorn": "^6.0.1", - "acorn-walk": "^6.0.1" + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "lodash": "^4.17.19", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/@eslint/eslintrc/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, "dependencies": { - "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", - "dev": true + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true } } }, - "acorn-jsx": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", - "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", - "dev": true + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "dependencies": { + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "acorn-walk": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", - "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", - "dev": true + "node_modules/@eslint/eslintrc/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "ajv": { - "version": "6.9.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.9.2.tgz", - "integrity": "sha512-4UFy0/LgDo7Oa/+wOAlj44tp9K78u38E5/359eSrqEp1Z5PdVfimCcs7SluXMP755RUQu6d2b4AvF0R1C9RZjg==", + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" } }, - "ansi-align": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", - "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, - "requires": { - "string-width": "^2.0.0" + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, "dependencies": { - "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" - } - } + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "dev": true + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } }, - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true + "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "requires": { - "color-convert": "^1.9.0" + "engines": { + "node": ">=8" } }, - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, - "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" + "engines": { + "node": ">=8" } }, - "apiconnect-wsdl": { - "version": "1.8.18", - "resolved": "https://registry.npmjs.org/apiconnect-wsdl/-/apiconnect-wsdl-1.8.18.tgz", - "integrity": "sha512-HxIm7d1FlJZ6bzCo20Cg2hNQFJYYSVYcbLpgdxyIa7u6J74QnfpHxYXUDyOrFz7MN/6yNUYey+sjpbnbY1IeyA==", + "node_modules/@jest/console": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz", + "integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==", "dev": true, - "requires": { - "iconv-lite": "^0.4.13", - "js-yaml": "^3.13.1", - "jszip": "3.1.5", - "lodash": "^4.17.14", - "oas-validator": "3.3.0", - "q": "^1.4.1", - "swagger-parser": "3.4.1", - "swagger2openapi": "5.3.0", - "xml2js": "0.4.19", - "xmldom": "^0.1.27", - "yauzl": "^2.4.1" + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^26.6.2", + "jest-util": "^26.6.2", + "slash": "^3.0.0" }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/console/node_modules/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, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "swagger-parser": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-3.4.1.tgz", - "integrity": "sha1-ApBSnbriVNF4tEKpXfYNI9FCMB0=", - "dev": true, - "requires": { - "call-me-maybe": "^1.0.1", - "debug": "^2.2.0", - "es6-promise": "^3.0.2", - "json-schema-ref-parser": "^1.4.1", - "ono": "^2.0.1", - "swagger-methods": "^1.0.0", - "swagger-schema-official": "2.0.0-bab6bed", - "z-schema": "^3.16.1" - } - } + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "node_modules/@jest/console/node_modules/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": { - "sprintf-js": "~1.0.2" + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "aria-query": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", - "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=", + "node_modules/@jest/console/node_modules/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": { - "ast-types-flow": "0.0.7", - "commander": "^2.11.0" + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "node_modules/@jest/console/node_modules/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 }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true + "node_modules/@jest/console/node_modules/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, + "engines": { + "node": ">=8" + } }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true + "node_modules/@jest/console/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } }, - "array-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", - "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=", - "dev": true + "node_modules/@jest/core": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz", + "integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/reporters": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-changed-files": "^26.6.2", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-resolve-dependencies": "^26.6.3", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "jest-watcher": "^26.6.2", + "micromatch": "^4.0.2", + "p-each-series": "^2.1.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } }, - "array-includes": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", - "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "node_modules/@jest/core/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "dev": true, - "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.7.0" + "engines": { + "node": ">=8" } }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true + "node_modules/@jest/core/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "node_modules/@jest/core/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, - "requires": { - "safer-buffer": "~2.1.0" + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" } }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true + "node_modules/@jest/core/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true + "node_modules/@jest/core/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } }, - "ast-types-flow": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", - "integrity": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=", + "node_modules/@jest/core/node_modules/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 }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true + "node_modules/@jest/core/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } }, - "async-each": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", - "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", - "dev": true - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "dev": true - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true + "node_modules/@jest/core/node_modules/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, + "engines": { + "node": ">=8" + } }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true + "node_modules/@jest/core/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } }, - "aws4": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz", - "integrity": "sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==", - "dev": true + "node_modules/@jest/core/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } }, - "axobject-query": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.0.2.tgz", - "integrity": "sha512-MCeek8ZH7hKyO1rWUbKNQBbl4l2eY0ntk7OGi+q0RlafrCnfPxC06WZA+uebCfmYp4mNU9jRBP1AhGyf8+W3ww==", + "node_modules/@jest/core/node_modules/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": { - "ast-types-flow": "0.0.7" + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "babel-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz", - "integrity": "sha512-ntuddfyiN+EhMw58PTNL1ph4C9rECiQXjI4nMMBKBaNjXvqLdkXpPRcMSr4iyBrJg/+wz9brFUD6RhOAT6r4Iw==", + "node_modules/@jest/core/node_modules/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": { - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/babel__core": "^7.1.0", - "babel-plugin-istanbul": "^5.1.0", - "babel-preset-jest": "^24.9.0", - "chalk": "^2.4.2", - "slash": "^2.0.0" + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" } }, - "babel-plugin-istanbul": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz", - "integrity": "sha512-5LphC0USA8t4i1zCtjbbNb6jJj/9+X6P37Qfirc/70EQ34xKlMW+a1RHGwxGI+SwWpNwZ27HqvzAobeqaXwiZw==", + "node_modules/@jest/core/node_modules/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": { - "@babel/helper-plugin-utils": "^7.0.0", - "find-up": "^3.0.0", - "istanbul-lib-instrument": "^3.3.0", - "test-exclude": "^5.2.3" + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "babel-plugin-jest-hoist": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz", - "integrity": "sha512-2EMA2P8Vp7lG0RAzr4HXqtYwacfMErOuv1U3wrvxHX6rD1sV6xS3WXG3r8TRQ2r6w8OhvSdWt+z41hQNwNm3Xw==", + "node_modules/@jest/core/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, - "requires": { - "@types/babel__traverse": "^7.0.6" + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" } }, - "babel-preset-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz", - "integrity": "sha512-izTUuhE4TMfTRPF92fFwD2QfdXaZW08qvWTFCI51V8rW5x00UuPgc3ajRoWofXOuxjfcOM5zzSYsQS3H8KGCAg==", + "node_modules/@jest/environment": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz", + "integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==", "dev": true, - "requires": { - "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^24.9.0" + "dependencies": { + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" } }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "node_modules/@jest/fake-timers": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz", + "integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@sinonjs/fake-timers": "^6.0.1", + "@types/node": "*", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "node_modules/@jest/globals": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz", + "integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==", "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/types": "^26.6.2", + "expect": "^26.6.2" }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/reporters": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz", + "integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==", + "dev": true, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.4", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^4.0.3", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "jest-haste-map": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "node-notifier": "^8.0.0", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^7.0.0" + }, + "engines": { + "node": ">= 10.14.2" + }, + "optionalDependencies": { + "node-notifier": "^8.0.0" } }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "node_modules/@jest/reporters/node_modules/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": { - "tweetnacl": "^0.14.3" + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "better-ajv-errors": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-0.5.7.tgz", - "integrity": "sha512-O7tpXektKWVwYCH5g6Vs3lKD+sJs7JHh5guapmGJd+RTwxhFZEf4FwvbHBURUnoXsTeFaMvGuhTTmEGiHpNi6w==", + "node_modules/@jest/reporters/node_modules/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": { - "@babel/code-frame": "^7.0.0", - "@babel/runtime": "^7.0.0", - "chalk": "^2.4.1", - "core-js": "^2.5.7", - "json-to-ast": "^2.0.3", - "jsonpointer": "^4.0.1", - "leven": "^2.1.0" + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/reporters/node_modules/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, "dependencies": { - "core-js": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", - "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", - "dev": true - }, - "leven": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", - "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", - "dev": true - } + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "binary-extensions": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz", - "integrity": "sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw==", + "node_modules/@jest/reporters/node_modules/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 }, - "boxen": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", - "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", + "node_modules/@jest/reporters/node_modules/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, - "requires": { - "ansi-align": "^2.0.0", - "camelcase": "^4.0.0", - "chalk": "^2.0.1", - "cli-boxes": "^1.0.0", - "string-width": "^2.0.0", - "term-size": "^1.2.0", - "widest-line": "^2.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 - }, - "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" - } - } + "engines": { + "node": ">=8" } }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/@jest/reporters/node_modules/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": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "node_modules/@jest/source-map": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz", + "integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==", "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "callsites": "^3.0.0", + "graceful-fs": "^4.2.4", + "source-map": "^0.6.0" + }, + "engines": { + "node": ">= 10.14.2" } }, - "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==", - "dev": true - }, - "browser-resolve": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", - "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", + "node_modules/@jest/test-result": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz", + "integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==", "dev": true, - "requires": { - "resolve": "1.1.7" - }, "dependencies": { - "resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", - "dev": true - } + "@jest/console": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": ">= 10.14.2" } }, - "bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "node_modules/@jest/test-sequencer": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz", + "integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==", "dev": true, - "requires": { - "node-int64": "^0.4.0" + "dependencies": { + "@jest/test-result": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3" + }, + "engines": { + "node": ">= 10.14.2" } }, - "buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", - "dev": true + "node_modules/@jest/transform": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz", + "integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/types": "^26.6.2", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-util": "^26.6.2", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true + "node_modules/@jest/transform/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "node_modules/@jest/transform/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" } }, - "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", - "dev": true + "node_modules/@jest/transform/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } }, - "callsites": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz", - "integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==", - "dev": true + "node_modules/@jest/transform/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "node_modules/@jest/transform/node_modules/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 }, - "capture-exit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", - "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", + "node_modules/@jest/transform/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, - "requires": { - "rsvp": "^4.8.4" + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "capture-stack-trace": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", - "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==", - "dev": true - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true + "node_modules/@jest/transform/node_modules/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, + "engines": { + "node": ">=8" + } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/@jest/transform/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "engines": { + "node": ">=0.12.0" } }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true + "node_modules/@jest/transform/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } }, - "chokidar": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz", - "integrity": "sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg==", + "node_modules/@jest/transform/node_modules/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": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.0" + "dependencies": { + "has-flag": "^4.0.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/transform/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "dependencies": { - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - } + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" } }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true + "node_modules/@jest/transform/node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "node_modules/@jest/types": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz", + "integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==", "dev": true, - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0" }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/@jest/types/node_modules/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, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "cli-boxes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", - "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=", - "dev": true + "node_modules/@jest/types/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } }, - "cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "node_modules/@jest/types/node_modules/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": { - "restore-cursor": "^2.0.0" + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "node_modules/@jest/types/node_modules/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 }, - "cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "node_modules/@jest/types/node_modules/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, - "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/types/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@octokit/auth-token": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz", + "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", "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 - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "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" - } - } + "@octokit/types": "^6.0.3" } }, - "co": { + "node_modules/@octokit/core": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.2.5.tgz", + "integrity": "sha512-+DCtPykGnvXKWWQI0E1XD+CCeWSBhB6kwItXqfFmNBlIlhczuDPbg+P6BtLnVBaRJDAjv+1mrUJuRsFSjktopg==", + "dependencies": { + "@octokit/auth-token": "^2.4.4", + "@octokit/graphql": "^4.5.8", + "@octokit/request": "^5.4.12", + "@octokit/types": "^6.0.3", + "before-after-hook": "^2.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/endpoint": { + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.11.tgz", + "integrity": "sha512-fUIPpx+pZyoLW4GCs3yMnlj2LfoXTWDUVPTC4V3MUEKZm48W+XYpeWSZCv+vYF1ZABUm2CqnDVf1sFtIYrj7KQ==", + "dependencies": { + "@octokit/types": "^6.0.3", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "node_modules/@octokit/endpoint/node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@octokit/graphql": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.0.tgz", + "integrity": "sha512-CJ6n7izLFXLvPZaWzCQDjU/RP+vHiZmWdOunaCS87v+2jxMsW9FB5ktfIxybRBxZjxuJGRnxk7xJecWTVxFUYQ==", + "dependencies": { + "@octokit/request": "^5.3.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" + } }, - "code-error-fragment": { - "version": "0.0.230", - "resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz", - "integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==", - "dev": true + "node_modules/@octokit/openapi-types": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.0.0.tgz", + "integrity": "sha512-QXpwbGjidE+XhgCEeXpffQk/XGiexgne8czTebwU359Eoko8FJzAED4aizrQlL9t4n6tMx/1Ka1vwZbP6rayFA==" }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true + "node_modules/@octokit/plugin-paginate-rest": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.9.1.tgz", + "integrity": "sha512-8wnuWGjwDIEobbBet2xAjZwgiMVTgIer5wBsnGXzV3lJ4yqphLU2FEMpkhSrDx7y+WkZDfZ+V+1cFMZ1mAaFag==", + "dependencies": { + "@octokit/types": "^6.8.0" + }, + "peerDependencies": { + "@octokit/core": ">=2" + } }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "node_modules/@octokit/plugin-request-log": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.3.tgz", + "integrity": "sha512-4RFU4li238jMJAzLgAwkBAw+4Loile5haQMQr+uhFq27BmyJXcXSKvoQKqh0agsZEiUlW6iSv3FAgvmGkur7OQ==", + "peerDependencies": { + "@octokit/core": ">=3" } }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "4.10.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.10.3.tgz", + "integrity": "sha512-CsNQeVY34Vs9iea2Z9/TCPlebxv6KpjO9f1BUPz+14qundTSYT9kgf8j5wA1k37VstfBQ4xnuURYdnbGzJBJXw==", + "dependencies": { + "@octokit/types": "^6.8.3", + "deprecation": "^2.3.1" + }, + "peerDependencies": { + "@octokit/core": ">=3" } }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "node_modules/@octokit/request": { + "version": "5.4.14", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.14.tgz", + "integrity": "sha512-VkmtacOIQp9daSnBmDI92xNIeLuSRDOIuplp/CJomkvzt7M18NXgG044Cx/LFKLgjKt9T2tZR6AtJayba9GTSA==", + "dependencies": { + "@octokit/endpoint": "^6.0.1", + "@octokit/request-error": "^2.0.0", + "@octokit/types": "^6.7.1", + "deprecation": "^2.0.0", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.1", + "once": "^1.4.0", + "universal-user-agent": "^6.0.0" + } }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "requires": { - "delayed-stream": "~1.0.0" + "node_modules/@octokit/request-error": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.5.tgz", + "integrity": "sha512-T/2wcCFyM7SkXzNoyVNWjyVlUwBvW3igM3Btr/eKYiPmucXTtkxt2RBsf6gn3LTzaLSLTQtNmvg+dGsOxQrjZg==", + "dependencies": { + "@octokit/types": "^6.0.3", + "deprecation": "^2.0.0", + "once": "^1.4.0" } }, - "commander": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", - "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", - "dev": true + "node_modules/@octokit/request/node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "engines": { + "node": ">=0.10.0" + } }, - "component-emitter": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", - "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", - "dev": true + "node_modules/@octokit/rest": { + "version": "18.1.1", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.1.1.tgz", + "integrity": "sha512-ZcCHMyfGT1qtJD72usigAfUQ6jU89ZUPFb2AOubR6WZ7/RRFVZUENVm1I2yvJBUicqTujezPW9cY1+o3Mb4rNA==", + "dependencies": { + "@octokit/core": "^3.2.3", + "@octokit/plugin-paginate-rest": "^2.6.2", + "@octokit/plugin-request-log": "^1.0.2", + "@octokit/plugin-rest-endpoint-methods": "4.10.3" + } }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "node_modules/@octokit/types": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.9.0.tgz", + "integrity": "sha512-j4ms2ukvWciu8hSuIWtWK/LyOWMZ0ZsRcvPIVLBYyAkTKBKrMJyiyv2wawJnyphKyEOhRgIyu5Nmf4yPxp0tcg==", + "dependencies": { + "@octokit/openapi-types": "^5.0.0" + } }, - "configstore": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", - "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", + "node_modules/@sinonjs/commons": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.2.tgz", + "integrity": "sha512-sruwd86RJHdsVf/AtBoijDmUqJp3B6hF/DGC23C+JaegnDHaZyewCjoVGTdg3J0uz3Zs7NnIT05OBOmML72lQw==", "dev": true, - "requires": { - "dot-prop": "^4.1.0", - "graceful-fs": "^4.1.2", - "make-dir": "^1.0.0", - "unique-string": "^1.0.0", - "write-file-atomic": "^2.0.0", - "xdg-basedir": "^3.0.0" + "dependencies": { + "type-detect": "4.0.8" } }, - "contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true - }, - "convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "node_modules/@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", "dev": true, - "requires": { - "safe-buffer": "~5.1.1" + "dependencies": { + "@sinonjs/commons": "^1.7.0" } }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true - }, - "core-js": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz", - "integrity": "sha1-+rg/uwstjchfpjbEudNMdUIMbWU=", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "create-error-class": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", - "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "node_modules/@types/babel__core": { + "version": "7.1.12", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.12.tgz", + "integrity": "sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==", "dev": true, - "requires": { - "capture-stack-trace": "^1.0.0" + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" } }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "node_modules/@types/babel__generator": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.2.tgz", + "integrity": "sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==", "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" + "dependencies": { + "@babel/types": "^7.0.0" } }, - "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 - }, - "cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "dev": true - }, - "cssstyle": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz", - "integrity": "sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA==", + "node_modules/@types/babel__template": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.0.tgz", + "integrity": "sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A==", "dev": true, - "requires": { - "cssom": "0.3.x" + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" } }, - "damerau-levenshtein": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.4.tgz", - "integrity": "sha1-AxkcQyy27qFou3fzpV/9zLiXhRQ=", - "dev": true + "node_modules/@types/babel__traverse": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.11.0.tgz", + "integrity": "sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.3.0" + } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "node_modules/@types/graceful-fs": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", + "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", "dev": true, - "requires": { - "assert-plus": "^1.0.0" + "dependencies": { + "@types/node": "*" } }, - "data-urls": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz", - "integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==", + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==", + "dev": true + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", "dev": true, - "requires": { - "abab": "^2.0.0", - "whatwg-mimetype": "^2.2.0", - "whatwg-url": "^7.0.0" - }, "dependencies": { - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - } + "@types/istanbul-lib-coverage": "*" } }, - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "node_modules/@types/istanbul-reports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.0.tgz", + "integrity": "sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA==", "dev": true, - "requires": { - "ms": "^2.1.1" + "dependencies": { + "@types/istanbul-lib-report": "*" } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", "dev": true }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "node_modules/@types/node": { + "version": "14.14.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.28.tgz", + "integrity": "sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g==", "dev": true }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "node_modules/@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", "dev": true }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "node_modules/@types/prettier": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-DxZZbyMAM9GWEzXL+BMZROWz9oo6A9EilwwOMET2UVu2uZTqMWS5S69KVtuVKaRjCUpcrOXRalet86/OpG4kqw==", "dev": true }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } + "node_modules/@types/stack-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", + "integrity": "sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==", + "dev": true }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "node_modules/@types/yargs": { + "version": "15.0.13", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.13.tgz", + "integrity": "sha512-kQ5JNTrbDv3Rp5X2n/iUu37IJBDU2gsZ5R/g1/KHOOEc5IKfUFjXT6DENPGduh08I/pamwtEq4oul7gUqKTQDQ==", "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } + "@types/yargs-parser": "*" } }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "node_modules/@types/yargs-parser": { + "version": "20.2.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz", + "integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==", "dev": true }, - "detect-newline": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", - "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=", + "node_modules/abab": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", + "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", "dev": true }, - "diff-sequences": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", - "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true, - "requires": { - "esutils": "^2.0.2" + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" } }, - "domexception": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", - "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==", + "node_modules/acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", "dev": true, - "requires": { - "webidl-conversions": "^4.0.2" + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" } }, - "dot-prop": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", - "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", "dev": true, - "requires": { - "is-obj": "^1.0.0" + "engines": { + "node": ">=0.4.0" } }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "node_modules/ansi-align": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", + "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", "dev": true, - "requires": { - "once": "^1.4.0" + "dependencies": { + "string-width": "^2.0.0" } }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/ansi-align/node_modules/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-arrayish": "^0.2.1" + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" } }, - "es-abstract": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", - "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true, - "requires": { - "es-to-primitive": "^1.2.0", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "is-callable": "^1.1.4", - "is-regex": "^1.0.4", - "object-keys": "^1.0.12" + "engines": { + "node": ">=6" } }, - "es-to-primitive": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", - "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "node_modules/ansi-escapes": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", + "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "dependencies": { + "type-fest": "^0.11.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "es6-promise": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz", - "integrity": "sha1-AQ1YWEI6XxGJeWZfRkhqlcbuK7Y=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "node_modules/ansi-escapes/node_modules/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, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "escodegen": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz", - "integrity": "sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg==", + "node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true, - "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" + "engines": { + "node": ">=4" } }, - "eslint": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.14.1.tgz", - "integrity": "sha512-CyUMbmsjxedx8B0mr79mNOqetvkbij/zrXnFeK2zc3pGRn3/tibjiNAv/3UxFEyfMDjh+ZqTrJrEGBFiGfD5Og==", + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "ajv": "^6.9.1", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "eslint-scope": "^4.0.0", - "eslint-utils": "^1.3.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^5.0.1", - "esquery": "^1.0.1", - "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", - "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", - "globals": "^11.7.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "inquirer": "^6.2.2", - "js-yaml": "^3.12.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.11", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", - "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^5.5.1", - "strip-ansi": "^4.0.0", - "strip-json-comments": "^2.0.1", - "table": "^5.2.3", - "text-table": "^0.2.0" + "dependencies": { + "color-convert": "^1.9.0" }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" } }, - "eslint-config-airbnb": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-17.1.0.tgz", - "integrity": "sha512-R9jw28hFfEQnpPau01NO5K/JWMGLi6aymiF6RsnMURjTk+MqZKllCqGK/0tOvHkPi/NWSSOU2Ced/GX++YxLnw==", + "node_modules/apiconnect-wsdl": { + "version": "1.8.31", + "resolved": "https://registry.npmjs.org/apiconnect-wsdl/-/apiconnect-wsdl-1.8.31.tgz", + "integrity": "sha512-kNs26If9xCJnGolVTAt0VWIA8KrqwodQLqDRTrfc7txD54LJ+hFx638sPYEdG9jw78eifWyy+FBlS5befYSa8Q==", "dev": true, - "requires": { - "eslint-config-airbnb-base": "^13.1.0", - "object.assign": "^4.1.0", - "object.entries": "^1.0.4" + "dependencies": { + "iconv-lite": "^0.4.24", + "js-yaml": "^3.13.1", + "jszip": "^3.2.2", + "lodash": "^4.17.15", + "q": "^1.5.1", + "swagger-parser": "8.0.3", + "xml2js": "^0.4.22", + "xmldom": "^0.1.27", + "yauzl": "^2.10.0" + }, + "engines": { + "node": ">=8" } }, - "eslint-config-airbnb-base": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.1.0.tgz", - "integrity": "sha512-XWwQtf3U3zIoKO1BbHh6aUhJZQweOwSt4c2JrPDg9FP3Ltv3+YfEv7jIDB8275tVnO/qOHbfuYg3kzw6Je7uWw==", + "node_modules/apiconnect-wsdl/node_modules/swagger-methods": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/swagger-methods/-/swagger-methods-2.0.2.tgz", + "integrity": "sha512-/RNqvBZkH8+3S/FqBPejHxJxZenaYq3MrpeXnzi06aDIS39Mqf5YCUNb/ZBjsvFFt8h9FxfKs8EXPtcYdfLiRg==", + "dev": true + }, + "node_modules/apiconnect-wsdl/node_modules/swagger-parser": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-8.0.3.tgz", + "integrity": "sha512-y2gw+rTjn7Z9J+J1qwbBm0UL93k/VREDCveKBK6iGjf7KXC6QGshbnpEmeHL0ZkCgmIghsXzpNzPSbBH91BAEQ==", "dev": true, - "requires": { - "eslint-restricted-globals": "^0.1.1", - "object.assign": "^4.1.0", - "object.entries": "^1.0.4" + "dependencies": { + "call-me-maybe": "^1.0.1", + "json-schema-ref-parser": "^7.1.1", + "ono": "^5.1.0", + "openapi-schemas": "^1.0.2", + "openapi-types": "^1.3.5", + "swagger-methods": "^2.0.1", + "z-schema": "^4.1.1" } }, - "eslint-config-prettier": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-4.0.0.tgz", - "integrity": "sha512-kWuiJxzV5NwOwZcpyozTzDT5KJhBw292bbYro9Is7BWnbNMg15Gmpluc1CTetiCatF8DRkNvgPAOaSyg+bYr3g==", + "node_modules/apiconnect-wsdl/node_modules/validator": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-12.2.0.tgz", + "integrity": "sha512-jJfE/DW6tIK1Ek8nCfNFqt8Wb3nzMoAbocBF6/Icgg1ZFSBpObdnwVY2jQj6qUqzhx5jc71fpvBWyLGO7Xl+nQ==", "dev": true, - "requires": { - "get-stdin": "^6.0.0" + "engines": { + "node": ">= 0.10" } }, - "eslint-import-resolver-node": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", - "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", + "node_modules/apiconnect-wsdl/node_modules/z-schema": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.2.3.tgz", + "integrity": "sha512-zkvK/9TC6p38IwcrbnT3ul9in1UX4cm1y/VZSs4GHKIiDCrlafc+YQBgQBUdDXLAoZHf2qvQ7gJJOo6yT1LH6A==", "dev": true, - "requires": { - "debug": "^2.6.9", - "resolve": "^1.5.0" - }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "commander": "^2.7.1", + "lodash.get": "^4.4.2", + "lodash.isequal": "^4.5.0", + "validator": "^12.0.0" + }, + "bin": { + "z-schema": "bin/z-schema" + }, + "engines": { + "node": ">=6.0.0" + }, + "optionalDependencies": { + "commander": "^2.7.1" } }, - "eslint-module-utils": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.3.0.tgz", - "integrity": "sha512-lmDJgeOOjk8hObTysjqH7wyMi+nsHwwvfBykwfhjR1LNdd7C2uFJBvx4OpWYpXOw4df1yE1cDEVd1yLHitk34w==", + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, - "requires": { - "debug": "^2.6.8", - "pkg-dir": "^2.0.0" - }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "sprintf-js": "~1.0.2" } }, - "eslint-plugin-import": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz", - "integrity": "sha512-z6oqWlf1x5GkHIFgrSvtmudnqM6Q60KM4KvpWi5ubonMjycLjndvd5+8VAZIsTlHC03djdgJuyKG6XO577px6A==", + "node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", "dev": true, - "requires": { - "contains-path": "^0.1.0", - "debug": "^2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.2", - "eslint-module-utils": "^2.3.0", - "has": "^1.0.3", - "lodash": "^4.17.11", - "minimatch": "^3.0.4", - "read-pkg-up": "^2.0.0", - "resolve": "^1.9.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "engines": { + "node": ">=0.10.0" } }, - "eslint-plugin-jsx-a11y": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.1.tgz", - "integrity": "sha512-cjN2ObWrRz0TTw7vEcGQrx+YltMvZoOEx4hWU8eEERDnBIU00OTq7Vr+jA7DFKxiwLNv4tTh5Pq2GUNEa8b6+w==", + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true, - "requires": { - "aria-query": "^3.0.0", - "array-includes": "^3.0.3", - "ast-types-flow": "^0.0.7", - "axobject-query": "^2.0.2", - "damerau-levenshtein": "^1.0.4", - "emoji-regex": "^7.0.2", - "has": "^1.0.3", - "jsx-ast-utils": "^2.0.1" + "engines": { + "node": ">=0.10.0" } }, - "eslint-plugin-prettier": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz", - "integrity": "sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ==", + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true, - "requires": { - "prettier-linter-helpers": "^1.0.0" + "engines": { + "node": ">=0.10.0" } }, - "eslint-plugin-react": { - "version": "7.12.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.12.4.tgz", - "integrity": "sha512-1puHJkXJY+oS1t467MjbqjvX53uQ05HXwjqDgdbGBqf5j9eeydI54G3KwiJmWciQ0HTBacIKw2jgwSBSH3yfgQ==", + "node_modules/array-includes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.2.tgz", + "integrity": "sha512-w2GspexNQpx+PutG3QpT437/BenZBj0M/MZGn5mzv/MofYqo0xmRHzn4lFsoDlWJ+THYsGJmFlW68WlDFx7VRw==", "dev": true, - "requires": { - "array-includes": "^3.0.3", - "doctrine": "^2.1.0", - "has": "^1.0.3", - "jsx-ast-utils": "^2.0.1", - "object.fromentries": "^2.0.0", - "prop-types": "^15.6.2", - "resolve": "^1.9.0" - }, "dependencies": { - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - } + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "get-intrinsic": "^1.0.1", + "is-string": "^1.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "eslint-restricted-globals": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz", - "integrity": "sha1-NfDVy8ZMLj7WLpO0saevBbp+1Nc=", - "dev": true - }, - "eslint-scope": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", - "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", + "node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "engines": { + "node": ">=0.10.0" } }, - "eslint-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", - "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", + "node_modules/array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - }, "dependencies": { - "eslint-visitor-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", - "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", - "dev": true - } + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "eslint-visitor-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", - "dev": true - }, - "espree": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", - "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", + "node_modules/array.prototype.flatmap": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz", + "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==", "dev": true, - "requires": { - "acorn": "^6.0.7", - "acorn-jsx": "^5.0.0", - "eslint-visitor-keys": "^1.0.0" + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "function-bind": "^1.1.1" }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, "dependencies": { - "acorn": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.0.tgz", - "integrity": "sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw==", - "dev": true - } + "safer-buffer": "~2.1.0" } }, - "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", - "dev": true + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "engines": { + "node": ">=0.8" + } }, - "esquery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", "dev": true, - "requires": { - "estraverse": "^4.0.0" + "engines": { + "node": ">=0.10.0" } }, - "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "node_modules/astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", "dev": true, - "requires": { - "estraverse": "^4.1.0" + "engines": { + "node": ">=4" } }, - "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "node_modules/async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", "dev": true }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, - "exec-sh": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", - "integrity": "sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==", - "dev": true + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "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" + "engines": { + "node": "*" } }, - "exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", "dev": true }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "node_modules/babel-jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", + "integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==", "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "dependencies": { + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/babel__core": "^7.1.7", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "slash": "^3.0.0" }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-jest/node_modules/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, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "expect": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", - "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "node_modules/babel-jest/node_modules/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": { - "@jest/types": "^24.9.0", - "ansi-styles": "^3.2.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.9.0" + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "node_modules/babel-jest/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/babel-jest/node_modules/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 }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "node_modules/babel-jest/node_modules/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, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-jest/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz", + "integrity": "sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==", + "dev": true, "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^4.0.0", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" } }, - "external-editor": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", - "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", + "node_modules/babel-plugin-jest-hoist": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz", + "integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==", "dev": true, - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": ">= 10.14.2" } }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", "dev": true, - "requires": { - "array-unique": "^0.3.2", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-preset-jest": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz", + "integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==", + "dev": true, + "dependencies": { + "babel-plugin-jest-hoist": "^26.6.2", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/before-after-hook": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.1.tgz", + "integrity": "sha512-5ekuQOvO04MDj7kYZJaMab2S8SPjGJbotVNyv7QYFCOAwrGZs/YnoDNlh1U+m5hl7H2D/+n0taaAV/tfyd3KMA==" + }, + "node_modules/binary-extensions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz", + "integrity": "sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/boxen": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", + "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", + "dev": true, + "dependencies": { + "ansi-align": "^2.0.0", + "camelcase": "^4.0.0", + "chalk": "^2.0.1", + "cli-boxes": "^1.0.0", + "string-width": "^2.0.0", + "term-size": "^1.2.0", + "widest-line": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/boxen/node_modules/camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/boxen/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", + "dev": true + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "dev": true + }, + "node_modules/callsites": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz", + "integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/capture-exit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", + "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", + "dev": true, + "dependencies": { + "rsvp": "^4.8.4" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/capture-stack-trace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", + "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/chokidar": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz", + "integrity": "sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg==", + "dev": true, + "dependencies": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.0" + }, + "optionalDependencies": { + "fsevents": "^1.2.7" + } + }, + "node_modules/chokidar/node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "node_modules/cjs-module-lexer": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz", + "integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==", + "dev": true + }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cli-boxes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", + "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/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, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true, + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true + }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true + }, + "node_modules/component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/configstore": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", + "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", + "dev": true, + "dependencies": { + "dot-prop": "^4.1.0", + "graceful-fs": "^4.1.2", + "make-dir": "^1.0.0", + "unique-string": "^1.0.0", + "write-file-atomic": "^2.0.0", + "xdg-basedir": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "node_modules/create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "dev": true, + "dependencies": { + "capture-stack-trace": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/cross-spawn/node_modules/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, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cross-spawn/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/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, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decimal.js": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz", + "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==", + "dev": true + }, + "node_modules/decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/diff-sequences": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", + "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dev": true, + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/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, + "dependencies": { + "is-obj": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/emittery": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz", + "integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.18.0-next.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.2.tgz", + "integrity": "sha512-Ih4ZMFHEtZupnUh6497zEL4y2+w8+1ljnCyaTa+adcoafI1GOvMwFlDjBLfWR7y9VLfrjRJe9ocuHY1PSR9jjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.1", + "object-inspect": "^1.9.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.3", + "string.prototype.trimstart": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dev": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/eslint": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.12.1.tgz", + "integrity": "sha512-HlMTEdr/LicJfN08LB3nM1rRYliDXOmfoO4vj39xN6BLpFzF00hbwBoqHk8UcJ2M/3nlARZWy/mslvGEuZFvsg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "@eslint/eslintrc": "^0.2.1", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.0", + "esquery": "^1.2.0", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash": "^4.17.19", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^5.2.3", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-semistandard": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/eslint-config-semistandard/-/eslint-config-semistandard-15.0.1.tgz", + "integrity": "sha512-sfV+qNBWKOmF0kZJll1VH5XqOAdTmLlhbOl9WKI11d2eMEe+Kicxnpm24PQWHOqAfk5pAWU2An0LjNCXKa4Usg==", + "dev": true, + "peerDependencies": { + "eslint": ">=6.0.1", + "eslint-config-standard": ">=14.1.0", + "eslint-plugin-import": ">=2.18.0", + "eslint-plugin-node": ">=9.1.0", + "eslint-plugin-promise": ">=4.2.1", + "eslint-plugin-standard": ">=4.0.0" + } + }, + "node_modules/eslint-config-standard": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.0.tgz", + "integrity": "sha512-kMCehB9yXIG+LNsu9uXfm06o6Pt63TFAOzn9tUOzw4r/hFIxHhNR1Xomxy+B5zMrXhqyfHVEcmanzttEjGei9w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": "^7.12.1", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^4.2.1" + } + }, + "node_modules/eslint-config-standard-jsx": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-10.0.0.tgz", + "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": "^7.12.1", + "eslint-plugin-react": "^7.21.5" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", + "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", + "dev": true, + "dependencies": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "dependencies": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-module-utils/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-es": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", + "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", + "dev": true, + "dependencies": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=4.19.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", + "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.1", + "array.prototype.flat": "^1.2.3", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.4", + "eslint-module-utils": "^2.6.0", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.1", + "read-pkg-up": "^2.0.0", + "resolve": "^1.17.0", + "tsconfig-paths": "^3.9.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "dependencies": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-node": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "dev": true, + "dependencies": { + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", + "minimatch": "^3.0.4", + "resolve": "^1.10.1", + "semver": "^6.1.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "peerDependencies": { + "eslint": ">=5.16.0" + } + }, + "node_modules/eslint-plugin-node/node_modules/ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint-plugin-node/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-promise": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz", + "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/eslint-plugin-react": { + "version": "7.21.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz", + "integrity": "sha512-8MaEggC2et0wSF6bUeywF7qQ46ER81irOdWS4QWxnnlAEsnzeBevk1sWh7fhpCghPpXb+8Ks7hvaft6L/xsR6g==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.1", + "array.prototype.flatmap": "^1.2.3", + "doctrine": "^2.1.0", + "has": "^1.0.3", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "object.entries": "^1.1.2", + "object.fromentries": "^2.0.2", + "object.values": "^1.1.1", + "prop-types": "^15.7.2", + "resolve": "^1.18.1", + "string.prototype.matchall": "^4.0.2" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-standard": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.2.tgz", + "integrity": "sha512-nKptN8l7jksXkwFk++PhJB3cCDTcXOEyhISIN86Ue2feJ1LFyY3PrY3/xT2keXlJSY5bpmbiTG0f885/YKAvTA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": ">=5.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/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 + }, + "node_modules/eslint/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "dependencies": { + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/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, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/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, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/espree/node_modules/acorn-jsx": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", + "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/exec-sh": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", + "integrity": "sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==", + "dev": true + }, + "node_modules/execa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", + "dev": true, + "dependencies": { + "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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/execa/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/execa/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/expect": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz", + "integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "ansi-styles": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/expect/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/expect/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/expect/node_modules/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 + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extend-shallow/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "node_modules/fb-watchman": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", + "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", + "dev": true, + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, + "dependencies": { + "pend": "~1.2.0" + } + }, + "node_modules/file-entry-cache": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", + "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", + "dev": true, + "dependencies": { + "flat-cache": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "dev": true, + "dependencies": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/flatted": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "dev": true + }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/format-util": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/format-util/-/format-util-1.0.3.tgz", + "integrity": "sha1-Ay3KShFiYqEsQ/TD7IVmQWxbLZU=", + "dev": true + }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz", + "integrity": "sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw==", + "bundleDependencies": [ + "abbrev", + "ansi-regex", + "aproba", + "are-we-there-yet", + "balanced-match", + "brace-expansion", + "chownr", + "code-point-at", + "concat-map", + "console-control-strings", + "core-util-is", + "debug", + "deep-extend", + "delegates", + "detect-libc", + "fs-minipass", + "fs.realpath", + "gauge", + "glob", + "has-unicode", + "iconv-lite", + "ignore-walk", + "inflight", + "inherits", + "ini", + "is-fullwidth-code-point", + "isarray", + "minimatch", + "minimist", + "minipass", + "minizlib", + "mkdirp", + "ms", + "needle", + "node-pre-gyp", + "nopt", + "npm-bundled", + "npm-packlist", + "npmlog", + "number-is-nan", + "object-assign", + "once", + "os-homedir", + "os-tmpdir", + "osenv", + "path-is-absolute", + "process-nextick-args", + "rc", + "readable-stream", + "rimraf", + "safe-buffer", + "safer-buffer", + "sax", + "semver", + "set-blocking", + "signal-exit", + "string-width", + "string_decoder", + "strip-ansi", + "strip-json-comments", + "tar", + "util-deprecate", + "wide-align", + "wrappy", + "yallist" + ], + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "dependencies": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/fsevents/node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "node_modules/fsevents/node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/fsevents/node_modules/chownr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/fsevents/node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/fsevents/node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/fsevents/node_modules/fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^2.2.1" + } + }, + "node_modules/fsevents/node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "node_modules/fsevents/node_modules/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "minimatch": "^3.0.4" + } + }, + "node_modules/fsevents/node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/fsevents/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/minipass": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/fsevents/node_modules/minizlib": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "minipass": "^2.2.1" + } + }, + "node_modules/fsevents/node_modules/mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/fsevents/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/needle": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.4.tgz", + "integrity": "sha512-HyoqEb4wr/rsoaIDfTH2aVL9nWtQqba2/HvMv+++m8u0dz808MaagKILxtfeSN7QU7nvbQ79zk3vYOJp9zsNEA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 0.10.x" + } + }, + "node_modules/fsevents/node_modules/node-pre-gyp": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz", + "integrity": "sha512-d1xFs+C/IPS8Id0qPTZ4bUT8wWryfR/OzzAFxweG+uLN85oPzyo2Iw6bVlLQ/JOdgNonXLCoRyqDzDWq4iw72A==", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" + } + }, + "node_modules/fsevents/node_modules/nopt": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "abbrev": "1", + "osenv": "^0.1.4" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/fsevents/node_modules/npm-bundled": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz", + "integrity": "sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/npm-packlist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz", + "integrity": "sha512-7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "node_modules/fsevents/node_modules/npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "node_modules/fsevents/node_modules/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, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/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, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/fsevents/node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "node_modules/fsevents/node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "inBundle": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/fsevents/node_modules/rc/node_modules/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/fsevents/node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/fsevents/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/fsevents/node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/fsevents/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/tar": { + "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + }, + "engines": { + "node": ">=4.5" + } + }, + "node_modules/fsevents/node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/fsevents/node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "node_modules/gensync": { + "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, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stdin": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/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, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/global-dirs": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", + "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", + "dev": true, + "dependencies": { + "ini": "^1.3.4" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", + "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", + "dev": true + }, + "node_modules/growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", + "dev": true, + "optional": true + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dev": true, + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dev": true, + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true, + "engines": { + "node": ">=8.12.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", + "dev": true + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "dev": true + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/import-local": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", + "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/insomnia-importers": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/insomnia-importers/-/insomnia-importers-2.1.1.tgz", + "integrity": "sha512-E9z4zmDhB/1hSAb+mtXMusWDxeiGPJZwPiVEbc/G4zQb5uBwGbJ9ZagABubDcYIz7sgxKXtQSrORgZmxZINGZg==", + "dev": true, + "dependencies": { + "apiconnect-wsdl": "^1.8.10", + "commander": "^2.20.0", + "lodash": "^4.17.15", + "shell-quote": "^1.6.1", + "swagger-parser": "^6.0.5", + "yaml": "^1.5.0" + }, + "bin": { + "insomnia-import": "bin/cli" + } + }, + "node_modules/insomnia-importers/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "dependencies": { + "binary-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/is-callable": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", + "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-docker": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", + "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", + "dev": true, + "optional": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "engines": { + "node": ">=4" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-installed-globally": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz", + "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=", + "dev": true, + "dependencies": { + "global-dirs": "^0.1.0", + "is-path-inside": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-npm": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", + "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "dependencies": { + "path-is-inside": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", + "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=", + "dev": true + }, + "node_modules/is-redirect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", + "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", + "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-retry-allowed": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "optional": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/istanbul-lib-report/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-report/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/istanbul-reports": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz", + "integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==", + "dev": true, + "dependencies": { + "@jest/core": "^26.6.3", + "import-local": "^3.0.2", + "jest-cli": "^26.6.3" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-changed-files": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz", + "integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "execa": "^4.0.0", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-cli": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz", + "integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==", + "dev": true, + "dependencies": { + "@jest/core": "^26.6.3", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "import-local": "^3.0.2", + "is-ci": "^2.0.0", + "jest-config": "^26.6.3", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "prompts": "^2.0.1", + "yargs": "^15.4.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-cli/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-cli/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-cli/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-cli/node_modules/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 + }, + "node_modules/jest-cli/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-cli/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz", + "integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^26.6.3", + "@jest/types": "^26.6.2", + "babel-jest": "^26.6.3", + "chalk": "^4.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^26.6.2", + "jest-environment-node": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-jasmine2": "^26.6.3", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + }, + "peerDependencies": { + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-config/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-config/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-config/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-config/node_modules/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 + }, + "node_modules/jest-config/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jest-config/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/jest-diff": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", + "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-diff/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-diff/node_modules/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 + }, + "node_modules/jest-diff/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-diff/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-docblock": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", + "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", + "dev": true, + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-each": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz", + "integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-each/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-each/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-each/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-each/node_modules/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 + }, + "node_modules/jest-each/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-each/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-environment-jsdom": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", + "integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==", + "dev": true, + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2", + "jsdom": "^16.4.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-environment-node": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz", + "integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==", + "dev": true, + "dependencies": { + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-get-type": { + "version": "26.3.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz", + "integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-haste-map": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz", + "integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.4", + "jest-regex-util": "^26.0.0", + "jest-serializer": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "micromatch": "^4.0.2", + "sane": "^4.0.3", + "walker": "^1.0.7" + }, + "engines": { + "node": ">= 10.14.2" + }, + "optionalDependencies": { + "fsevents": "^2.1.2" + } + }, + "node_modules/jest-haste-map/node_modules/anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/jest-haste-map/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-haste-map/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-haste-map/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/jest-haste-map/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jest-haste-map/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-haste-map/node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jest-haste-map/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/jest-jasmine2": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz", + "integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.1.0", + "@jest/environment": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "expect": "^26.6.2", + "is-generator-fn": "^2.0.0", + "jest-each": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-jasmine2/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-jasmine2/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-jasmine2/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-jasmine2/node_modules/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 + }, + "node_modules/jest-jasmine2/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-jasmine2/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-leak-detector": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", + "integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==", + "dev": true, + "dependencies": { + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-matcher-utils": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", + "integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-matcher-utils/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-matcher-utils/node_modules/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 + }, + "node_modules/jest-matcher-utils/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-matcher-utils/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", + "integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "@jest/types": "^26.6.2", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-message-util/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-message-util/node_modules/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 + }, + "node_modules/jest-message-util/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jest-message-util/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/jest-mock": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", + "integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", + "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "dev": true, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", + "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", + "dev": true, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-resolve": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz", + "integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^26.6.2", + "read-pkg-up": "^7.0.1", + "resolve": "^1.18.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz", + "integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-snapshot": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-resolve/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-resolve/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-resolve/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-resolve/node_modules/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 + }, + "node_modules/jest-resolve/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-resolve/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-resolve/node_modules/read-pkg/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runner": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz", + "integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.7.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-docblock": "^26.0.0", + "jest-haste-map": "^26.6.2", + "jest-leak-detector": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "source-map-support": "^0.5.6", + "throat": "^5.0.0" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-runner/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-runner/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-runner/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-runner/node_modules/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 + }, + "node_modules/jest-runner/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runner/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runtime": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz", + "integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==", + "dev": true, + "dependencies": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/globals": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0", + "cjs-module-lexer": "^0.6.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.4.1" + }, + "bin": { + "jest-runtime": "bin/jest-runtime.js" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-runtime/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-runtime/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-runtime/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-runtime/node_modules/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 + }, + "node_modules/jest-runtime/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runtime/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runtime/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-serializer": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz", + "integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==", + "dev": true, + "dependencies": { + "@types/node": "*", + "graceful-fs": "^4.2.4" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-snapshot": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz", + "integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0", + "@jest/types": "^26.6.2", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.0.0", + "chalk": "^4.0.0", + "expect": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-haste-map": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "natural-compare": "^1.4.0", + "pretty-format": "^26.6.2", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-snapshot/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-snapshot/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-snapshot/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/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 + }, + "node_modules/jest-snapshot/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot/node_modules/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, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-snapshot/node_modules/semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-snapshot/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/jest-util": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz", + "integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "is-ci": "^2.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-util/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-util/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-util/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-util/node_modules/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 + }, + "node_modules/jest-util/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jest-util/node_modules/micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/jest-validate": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz", + "integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "camelcase": "^6.0.0", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "leven": "^3.1.0", + "pretty-format": "^26.6.2" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-validate/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-validate/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-validate/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-validate/node_modules/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 + }, + "node_modules/jest-validate/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-validate/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-watcher": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", + "integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==", + "dev": true, + "dependencies": { + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^26.6.2", + "string-length": "^4.0.1" + }, + "engines": { + "node": ">= 10.14.2" + } + }, + "node_modules/jest-watcher/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-watcher/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-watcher/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-watcher/node_modules/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 + }, + "node_modules/jest-watcher/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-watcher/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "node_modules/jsdom": { + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.4.0.tgz", + "integrity": "sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "acorn": "^7.1.1", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.2.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.0", + "domexception": "^2.0.1", + "escodegen": "^1.14.1", + "html-encoding-sniffer": "^2.0.1", + "is-potential-custom-element-name": "^1.0.0", + "nwsapi": "^2.2.0", + "parse5": "5.1.1", + "request": "^2.88.2", + "request-promise-native": "^1.0.8", + "saxes": "^5.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^3.0.1", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0", + "ws": "^7.2.3", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "node_modules/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 + }, + "node_modules/json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "node_modules/json-schema-ref-parser": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-7.1.4.tgz", + "integrity": "sha512-AD7bvav0vak1/63w3jH8F7eHId/4E4EPdMAEZhGxtjktteUv9dnNB/cJy6nVnMyoTPBJnLwFK6tiQPSTeleCtQ==", + "dev": true, + "dependencies": { + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.13.1", + "ono": "^6.0.0" + } + }, + "node_modules/json-schema-ref-parser/node_modules/ono": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ono/-/ono-6.0.1.tgz", + "integrity": "sha512-5rdYW/106kHqLeG22GE2MHKq+FlsxMERZev9DCzQX1zwkxnFwBivSn5i17a5O/rDmOJOdf4Wyt80UZljzx9+DA==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonschema": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.4.tgz", + "integrity": "sha512-lz1nOH69GbsVHeVgEdvyavc/33oymY1AZwtePMiMj4HZPMbP5OIKK3zT9INMWjwua/V4Z4yq7wSlBbSG+g4AEw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/jsonschema-draft4": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/jsonschema-draft4/-/jsonschema-draft4-1.0.0.tgz", + "integrity": "sha1-8K8gBQVPDwrefqIRhhS2ncUS2GU=", + "dev": true + }, + "node_modules/jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz", + "integrity": "sha512-EIsmt3O3ljsU6sot/J4E1zDRxfBNrhjyf/OKjlydwgEimQuznlM4Wv7U+ueONJMyEn1WRE0K8dhi3dVAXYT24Q==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.2", + "object.assign": "^4.1.2" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/jszip": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.6.0.tgz", + "integrity": "sha512-jgnQoG9LKnWO3mnVNBnfhkh0QknICd1FGSrXcgrl67zioyJ4wgx25o9ZqwNtrROSflGBCGYnJfjrIyRIby1OoQ==", + "dev": true, + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/latest-version": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz", + "integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=", + "dev": true, + "dependencies": { + "package-json": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/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, + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dev": true, + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, + "node_modules/load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/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, + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=", + "dev": true + }, + "node_modules/lodash.set": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", + "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=", + "dev": true + }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", + "dev": true + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "node_modules/make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "dev": true, + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/make-dir/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/makeerror": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz", + "integrity": "sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=", + "dev": true, + "dependencies": { + "tmpl": "1.0.x" + } + }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mime-db": { + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", + "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.29", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz", + "integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==", + "dev": true, + "dependencies": { + "mime-db": "1.46.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/nan": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz", + "integrity": "sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw==", + "dev": true, + "optional": true + }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node_modules/nock": { + "version": "13.0.7", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.0.7.tgz", + "integrity": "sha512-WBz73VYIjdbO6BwmXODRQLtn7B5tldA9pNpWJe5QTtTEscQlY5KXU4srnGzBOK2fWakkXj69gfTnXGzmrsaRWw==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "lodash.set": "^4.3.2", + "propagate": "^2.0.0" + }, + "engines": { + "node": ">= 10.13" + } + }, + "node_modules/nock/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", + "dev": true + }, + "node_modules/node-modules-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", + "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/node-notifier": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.1.tgz", + "integrity": "sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA==", + "dev": true, + "optional": true, + "dependencies": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "node_modules/node-notifier/node_modules/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, + "optional": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-notifier/node_modules/semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "optional": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-notifier/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "optional": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/node-notifier/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "optional": true + }, + "node_modules/nodemon": { + "version": "1.18.10", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-1.18.10.tgz", + "integrity": "sha512-we51yBb1TfEvZamFchRgcfLbVYgg0xlGbyXmOtbBzDwxwgewYS/YbZ5tnlnsH51+AoSTTsT3A2E/FloUbtH8cQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "chokidar": "^2.1.0", + "debug": "^3.1.0", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.0.4", + "pstree.remy": "^1.1.6", + "semver": "^5.5.0", + "supports-color": "^5.2.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.2", + "update-notifier": "^2.5.0" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", + "dev": true, + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/nwsapi": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", + "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", + "dev": true + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/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, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/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, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz", + "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.3.tgz", + "integrity": "sha512-IDUSMXs6LOSJBWE++L0lzIbSqHl9KDCfff2x/JSEIDtEUavUnyMYC2ZGay/04Zq4UT8lvd4xNhU4/YHKibAOlw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.values": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz", + "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ono": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ono/-/ono-5.1.0.tgz", + "integrity": "sha512-GgqRIUWErLX4l9Up0khRtbrlH8Fyj59A0nKv8V6pWEto38aUgnOGOOF7UmgFFLzFnDSc8REzaTXOc0hqEe7yIw==", + "dev": true + }, + "node_modules/openapi-schema-validation": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/openapi-schema-validation/-/openapi-schema-validation-0.4.2.tgz", + "integrity": "sha512-K8LqLpkUf2S04p2Nphq9L+3bGFh/kJypxIG2NVGKX0ffzT4NQI9HirhiY6Iurfej9lCu7y4Ndm4tv+lm86Ck7w==", + "dev": true, + "dependencies": { + "jsonschema": "1.2.4", + "jsonschema-draft4": "^1.0.0", + "swagger-schema-official": "2.0.0-bab6bed" + } + }, + "node_modules/openapi-schemas": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/openapi-schemas/-/openapi-schemas-1.0.3.tgz", + "integrity": "sha512-KtMWcK2VtOS+nD8RKSIyScJsj8JrmVWcIX7Kjx4xEHijFYuvMTDON8WfeKOgeSb4uNG6UsqLj5Na7nKbSav9RQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/openapi-types": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-1.3.5.tgz", + "integrity": "sha512-11oi4zYorsgvg5yBarZplAqbpev5HkuVNPlZaPTknPDzAynq+lnJdXAmruGWP0s+dNYZS7bjM+xrTpJw7184Fg==", + "dev": true + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dev": true, + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-each-series": { + "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, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/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, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/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, + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", + "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", + "dev": true, + "dependencies": { + "got": "^6.7.1", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/package-json/node_modules/get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/package-json/node_modules/got": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", + "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", + "dev": true, + "dependencies": { + "create-error-class": "^3.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "unzip-response": "^2.0.1", + "url-parse-lax": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/package-json/node_modules/prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/package-json/node_modules/url-parse-lax": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", + "dev": true, + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "node_modules/path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "dependencies": { + "pify": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", + "dev": true + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", + "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", + "dev": true, + "dependencies": { + "node-modules-regexp": "^1.0.0" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-conf": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz", + "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==", + "dev": true, + "dependencies": { + "find-up": "^3.0.0", + "load-json-file": "^5.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/load-json-file": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", + "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.15", + "parse-json": "^4.0.0", + "pify": "^4.0.1", + "strip-bom": "^3.0.0", + "type-fest": "^0.3.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-conf/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/type-fest": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", + "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/pretty-format": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", + "dev": true, + "dependencies": { + "@jest/types": "^26.6.2", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/pretty-format/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-format/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/pretty-format/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/pretty-format/node_modules/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 + }, + "node_modules/pretty-format/node_modules/react-is": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.1.tgz", + "integrity": "sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==", + "dev": true + }, + "node_modules/process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/prompts": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.0.tgz", + "integrity": "sha512-awZAKrk3vN6CroQukBL+R9051a4R3zCZBlJm/HBfrSZ8iTpYix3VX1vU4mveiLpiwmOJT4wokTF9m6HUk4KqWQ==", + "dev": true, + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/prop-types": { + "version": "15.7.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", + "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", + "dev": true, + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.8.1" + } + }, + "node_modules/propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "node_modules/pstree.remy": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.6.tgz", + "integrity": "sha512-NdF35+QsqD7EgNEI5mkI/X+UwaxVEbQaz9f4IooEmMUv6ZPmlTQYGjBPJGgrlzNdjSvIy4MWMg6Q6vCgBO2K+w==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true, + "engines": { + "node": ">=0.6.0", + "teleport": ">=0.2.0" + } + }, + "node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, + "node_modules/read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "dependencies": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", + "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==", + "dev": true + }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", + "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexpp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/registry-auth-token": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", + "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", + "dev": true, + "dependencies": { + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/registry-url": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", + "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", + "dev": true, + "dependencies": { + "rc": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "node_modules/repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request-promise-core": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", + "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", + "dev": true, + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request-promise-native": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", + "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", + "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", + "dev": true, + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request-promise-native/node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/request/node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "dev": true, + "dependencies": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-cwd/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/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, + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true, + "engines": { + "node": "6.* || >= 7.*" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "node_modules/sane": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz", + "integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==", + "dev": true, + "dependencies": { + "@cnakazawa/watch": "^1.0.3", + "anymatch": "^2.0.0", + "capture-exit": "^2.0.0", + "exec-sh": "^0.3.2", + "execa": "^1.0.0", + "fb-watchman": "^2.0.0", + "micromatch": "^3.1.4", + "minimist": "^1.1.1", + "walker": "~1.0.5" + }, + "bin": { + "sane": "src/cli.js" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/sane/node_modules/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, + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/sane/node_modules/execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "dev": true, + "dependencies": { + "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" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/sane/node_modules/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, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semistandard": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/semistandard/-/semistandard-16.0.0.tgz", + "integrity": "sha512-pLETGjFyl0ETMDAEZxkC1OJBmNmPIMpMkayStGTgHMMh/5FM7Rbk5NWc1t7yfQ4PrRURQH8MUg3ZxvojJJifcw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "eslint": "~7.12.1", + "eslint-config-semistandard": "15.0.1", + "eslint-config-standard": "16.0.0", + "eslint-config-standard-jsx": "10.0.0", + "eslint-plugin-import": "~2.22.1", + "eslint-plugin-node": "~11.1.0", + "eslint-plugin-promise": "~4.2.1", + "eslint-plugin-react": "~7.21.5", + "eslint-plugin-standard": "~4.0.2", + "standard-engine": "^14.0.0" + }, + "bin": { + "semistandard": "bin/cmd.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/semver": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/semver-diff": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", + "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", + "dev": true, + "dependencies": { + "semver": "^5.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "node_modules/set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shell-quote": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz", + "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==", + "dev": true + }, + "node_modules/shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true, + "optional": true + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/snapdragon/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "dependencies": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "node_modules/spdx-correct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "node_modules/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==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz", + "integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g==", + "dev": true + }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "node_modules/sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/standard-engine": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-14.0.1.tgz", + "integrity": "sha512-7FEzDwmHDOGva7r9ifOzD3BGdTbA7ujJ50afLVdW/tK14zQEptJjbFuUfn50irqdHDcTbNh0DTIoMPynMCXb0Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "get-stdin": "^8.0.0", + "minimist": "^1.2.5", + "pkg-conf": "^3.1.0", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8.10" + } + }, + "node_modules/standard-engine/node_modules/xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string-length": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", + "integrity": "sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==", + "dev": true, + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-length/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-length/node_modules/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, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.0.0.tgz", + "integrity": "sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew==", + "dev": true, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz", + "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", + "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/string.prototype.matchall": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.3.tgz", + "integrity": "sha512-OBxYDA2ifZQ2e13cP82dWFMaCV9CGF8GzmN4fljBVw5O5wep0lu4gacm1OL6MjROoUnB8VbkWRThqkV2YFLNxw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has-symbols": "^1.0.1", + "internal-slot": "^1.0.2", + "regexp.prototype.flags": "^1.3.0", + "side-channel": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/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, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/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, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-hyperlinks": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz", + "integrity": "sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks/node_modules/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, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks/node_modules/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, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/swagger-methods": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/swagger-methods/-/swagger-methods-1.0.8.tgz", + "integrity": "sha512-G6baCwuHA+C5jf4FNOrosE4XlmGsdjbOjdBK4yuiDDj/ro9uR4Srj3OR84oQMT8F3qKp00tYNv0YN730oTHPZA==", + "dev": true + }, + "node_modules/swagger-parser": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-6.0.5.tgz", + "integrity": "sha512-UL47eu4+GRm5y+N7J+W6QQiqAJn2lojyqgMwS0EZgA55dXd5xmpQCsjUmH/Rf0eKDiG1kULc9VS515PxAyTDVw==", + "dev": true, + "dependencies": { + "call-me-maybe": "^1.0.1", + "json-schema-ref-parser": "^6.0.3", + "ono": "^4.0.11", + "openapi-schema-validation": "^0.4.2", + "swagger-methods": "^1.0.8", + "swagger-schema-official": "2.0.0-bab6bed", + "z-schema": "^3.24.2" + } + }, + "node_modules/swagger-parser/node_modules/json-schema-ref-parser": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-6.1.0.tgz", + "integrity": "sha512-pXe9H1m6IgIpXmE5JSb8epilNTGsmTb2iPohAXpOdhqGFbQjNeHHsZxU+C8w6T81GZxSPFLeUoqDJmzxx5IGuw==", + "dev": true, + "dependencies": { + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.12.1", + "ono": "^4.0.11" + } + }, + "node_modules/swagger-parser/node_modules/ono": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/ono/-/ono-4.0.11.tgz", + "integrity": "sha512-jQ31cORBFE6td25deYeD80wxKBMj+zBmHTrVxnc6CKhx8gho6ipmWM5zj/oeoqioZ99yqBls9Z/9Nss7J26G2g==", + "dev": true, + "dependencies": { + "format-util": "^1.0.3" + } + }, + "node_modules/swagger-schema-official": { + "version": "2.0.0-bab6bed", + "resolved": "https://registry.npmjs.org/swagger-schema-official/-/swagger-schema-official-2.0.0-bab6bed.tgz", + "integrity": "sha1-cAcEaNbSl3ylI3suUZyn0Gouo/0=", + "dev": true + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true + }, + "node_modules/table": { + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "dev": true, + "dependencies": { + "ajv": "^6.10.2", + "lodash": "^4.17.14", + "slice-ansi": "^2.1.0", + "string-width": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/term-size": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", + "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=", + "dev": true, + "dependencies": { + "execa": "^0.7.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/term-size/node_modules/cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "node_modules/term-size/node_modules/execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "dependencies": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.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" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/term-size/node_modules/get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "node_modules/throat": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", + "dev": true + }, + "node_modules/timed-out": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", + "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tmpl": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", + "integrity": "sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/touch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", + "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "dev": true, + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tough-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", + "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", + "dev": true, + "dependencies": { + "ip-regex": "^2.1.0", + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", + "integrity": "sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", + "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/undefsafe": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.2.tgz", + "integrity": "sha1-Il9rngM3Zj4Njnz9aG/Cg2zKznY=", + "dev": true, + "dependencies": { + "debug": "^2.2.0" + } + }, + "node_modules/undefsafe/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/undefsafe/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unique-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", + "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", + "dev": true, + "dependencies": { + "crypto-random-string": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/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==" + }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unzip-response": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", + "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/upath": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz", + "integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/update-notifier": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz", + "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==", + "dev": true, + "dependencies": { + "boxen": "^1.2.1", + "chalk": "^2.0.1", + "configstore": "^3.0.0", + "import-lazy": "^2.1.0", + "is-ci": "^1.0.10", + "is-installed-globally": "^0.1.0", + "is-npm": "^1.0.0", + "latest-version": "^3.0.0", + "semver-diff": "^2.0.0", + "xdg-basedir": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/update-notifier/node_modules/ci-info": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", + "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==", + "dev": true + }, + "node_modules/update-notifier/node_modules/is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "dependencies": { + "ci-info": "^1.5.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz", + "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==", + "dev": true + }, + "node_modules/v8-to-istanbul": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.0.tgz", + "integrity": "sha512-uXUVqNUCLa0AH1vuVxzi+MI4RfxEOKt9pBgKwHbgH7st8Kv2P1m+jvWNnektzBh5QShF3ODgKmUFCf38LnVz1g==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/v8-to-istanbul/node_modules/source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validator": { + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-10.11.0.tgz", + "integrity": "sha512-X/p3UZerAIsbBfN/IwahhYaBbY68EN/UQBWHtsbXGT5bfrH/p4NQzUCG1kF/rtKaNpnJ7jAu6NGTdSNtyNIXMw==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "dev": true, + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/walker": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz", + "integrity": "sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=", + "dev": true, + "dependencies": { + "makeerror": "1.0.x" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, + "engines": { + "node": ">=10.4" + } + }, + "node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", + "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", + "dev": true, + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^2.0.2", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "node_modules/widest-line": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz", + "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==", + "dev": true, + "dependencies": { + "string-width": "^2.1.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/widest-line/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/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, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/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, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/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, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/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 + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/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, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/write": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", + "dev": true, + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/write-file-atomic": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz", + "integrity": "sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "node_modules/ws": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.3.tgz", + "integrity": "sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xdg-basedir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", + "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + }, + "node_modules/xml2js": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "dev": true, + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, + "node_modules/xmldom": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", + "integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk=", + "dev": true, + "engines": { + "node": ">=0.1" + } + }, + "node_modules/y18n": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", + "dev": true + }, + "node_modules/yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "node_modules/yaml": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz", + "integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.6.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yargs": { + "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, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/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, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/yargs/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/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, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "node_modules/z-schema": { + "version": "3.25.1", + "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-3.25.1.tgz", + "integrity": "sha512-7tDlwhrBG+oYFdXNOjILSurpfQyuVgkRe3hB2q8TEssamDHB7BbLWYkYO98nTn0FibfdFroFKDjndbgufAgS/Q==", + "dev": true, + "dependencies": { + "commander": "^2.7.1", + "core-js": "^2.5.7", + "lodash.get": "^4.0.0", + "lodash.isequal": "^4.0.0", + "validator": "^10.0.0" + }, + "bin": { + "z-schema": "bin/z-schema" + } + }, + "node_modules/z-schema/node_modules/core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", + "dev": true, + "hasInstallScript": true + } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", + "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.12.13" + } + }, + "@babel/core": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.16.tgz", + "integrity": "sha512-t/hHIB504wWceOeaOoONOhu+gX+hpjfeN6YRBT209X/4sibZQfSF1I0HFRRlBe97UZZosGx5XwUg1ZgNbelmNw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.12.15", + "@babel/helper-module-transforms": "^7.12.13", + "@babel/helpers": "^7.12.13", + "@babel/parser": "^7.12.16", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.19", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "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/generator": { + "version": "7.12.15", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.15.tgz", + "integrity": "sha512-6F2xHxBiFXWNSGb7vyCUTBF8RCLY66rS0zEPcP8t/nQyXjha5EuK4z7H5o7fWG8B4M7y6mqVWq1J+1PuwRhecQ==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13", + "jsesc": "^2.5.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=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", + "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.12.13", + "@babel/template": "^7.12.13", + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", + "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.16.tgz", + "integrity": "sha512-zYoZC1uvebBFmj1wFAlXwt35JLEgecefATtKp20xalwEK8vHAixLBXTGxNrVGEmTT+gzOThUgr8UEdgtalc1BQ==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-module-imports": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz", + "integrity": "sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-module-transforms": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.13.tgz", + "integrity": "sha512-acKF7EjqOR67ASIlDTupwkKM1eUisNAjaSduo5Cz+793ikfnpe7p4Q7B7EWU2PCoSTPWsQkR7hRUWEIZPiVLGA==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-replace-supers": "^7.12.13", + "@babel/helper-simple-access": "^7.12.13", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/helper-validator-identifier": "^7.12.11", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13", + "lodash": "^4.17.19" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", + "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.12.13.tgz", + "integrity": "sha512-C+10MXCXJLiR6IeG9+Wiejt9jmtFpxUc3MQqCmPY8hfCjyUGl9kT+B2okzEZrtykiwrc4dbCPdDoz0A/HQbDaA==", + "dev": true + }, + "@babel/helper-replace-supers": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.13.tgz", + "integrity": "sha512-pctAOIAMVStI2TMLhozPKbf5yTEXc0OJa0eENheb4w09SrgOWEs+P4nTOZYJQCqs8JlErGLDPDJTiGIp3ygbLg==", + "dev": true, + "requires": { + "@babel/helper-member-expression-to-functions": "^7.12.13", + "@babel/helper-optimise-call-expression": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-simple-access": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.13.tgz", + "integrity": "sha512-0ski5dyYIHEfwpWGx5GPWhH35j342JaflmCeQmsPWcrOQDtCN6C1zKAVRFVbK53lPW2c9TsuLLSUDf0tIGJ5hA==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", + "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", + "dev": true, + "requires": { + "@babel/types": "^7.12.13" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true + }, + "@babel/helpers": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.13.tgz", + "integrity": "sha512-oohVzLRZ3GQEk4Cjhfs9YkJA4TdIDTObdBEZGrd6F/T0GPSnuV6l22eMcxlvcvzVIPH3VTtxbseudM1zIE+rPQ==", + "dev": true, + "requires": { + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.12.13", + "@babel/types": "^7.12.13" + } + }, + "@babel/highlight": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.12.13.tgz", + "integrity": "sha512-kocDQvIbgMKlWxXe9fof3TQ+gkIPOUSEYhJjqUjvKMez3krV7vbzYCDq39Oj11UAVK7JqPVGQPlgE85dPNlQww==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.12.11", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.12.16", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.16.tgz", + "integrity": "sha512-c/+u9cqV6F0+4Hpq01jnJO+GLp2DdT63ppz9Xa+6cHaajM9VFzK/iDXiKK65YtpeVwu+ctfS6iqlMqRgQRzeCw==", + "dev": true + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@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", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@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", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "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.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz", + "integrity": "sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/runtime": { + "version": "7.7.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.6.tgz", + "integrity": "sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.2" + } + }, + "@babel/template": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", + "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@babel/parser": "^7.12.13", + "@babel/types": "^7.12.13" + } + }, + "@babel/traverse": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.13.tgz", + "integrity": "sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.12.13", + "@babel/helper-function-name": "^7.12.13", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/parser": "^7.12.13", + "@babel/types": "^7.12.13", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.19" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + } + } + }, + "@babel/types": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.13.tgz", + "integrity": "sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.12.11", + "lodash": "^4.17.19", + "to-fast-properties": "^2.0.0" + } + }, + "@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, + "@cnakazawa/watch": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz", + "integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==", + "dev": true, + "requires": { + "exec-sh": "^0.3.2", + "minimist": "^1.2.0" + } + }, + "@eslint/eslintrc": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz", + "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "lodash": "^4.17.19", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + } + } + }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true + }, + "@jest/console": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz", + "integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^26.6.2", + "jest-util": "^26.6.2", + "slash": "^3.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==", + "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" + } + } + } + }, + "@jest/core": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz", + "integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/reporters": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-changed-files": "^26.6.2", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-resolve-dependencies": "^26.6.3", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "jest-watcher": "^26.6.2", + "micromatch": "^4.0.2", + "p-each-series": "^2.1.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "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" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.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 + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "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 + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "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" + } + }, + "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.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" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + } + } + }, + "@jest/environment": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz", + "integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==", + "dev": true, + "requires": { + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2" + } + }, + "@jest/fake-timers": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz", + "integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "@sinonjs/fake-timers": "^6.0.1", + "@types/node": "*", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" + } + }, + "@jest/globals": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz", + "integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==", + "dev": true, + "requires": { + "@jest/environment": "^26.6.2", + "@jest/types": "^26.6.2", + "expect": "^26.6.2" + } + }, + "@jest/reporters": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz", + "integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.4", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^4.0.3", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "jest-haste-map": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "node-notifier": "^8.0.0", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^7.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==", + "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" + } + } + } + }, + "@jest/source-map": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz", + "integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.4", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz", + "integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/test-sequencer": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz", + "integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==", + "dev": true, + "requires": { + "@jest/test-result": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-runner": "^26.6.3", + "jest-runtime": "^26.6.3" + } + }, + "@jest/transform": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz", + "integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^26.6.2", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-util": "^26.6.2", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.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==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.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 + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "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 + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "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" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + } + } + }, + "@jest/types": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz", + "integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^15.0.0", + "chalk": "^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==", + "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" + } + } + } + }, + "@octokit/auth-token": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz", + "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", + "requires": { + "@octokit/types": "^6.0.3" + } + }, + "@octokit/core": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.2.5.tgz", + "integrity": "sha512-+DCtPykGnvXKWWQI0E1XD+CCeWSBhB6kwItXqfFmNBlIlhczuDPbg+P6BtLnVBaRJDAjv+1mrUJuRsFSjktopg==", + "requires": { + "@octokit/auth-token": "^2.4.4", + "@octokit/graphql": "^4.5.8", + "@octokit/request": "^5.4.12", + "@octokit/types": "^6.0.3", + "before-after-hook": "^2.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/endpoint": { + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.11.tgz", + "integrity": "sha512-fUIPpx+pZyoLW4GCs3yMnlj2LfoXTWDUVPTC4V3MUEKZm48W+XYpeWSZCv+vYF1ZABUm2CqnDVf1sFtIYrj7KQ==", + "requires": { + "@octokit/types": "^6.0.3", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" + }, + "dependencies": { + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + } + } + }, + "@octokit/graphql": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.0.tgz", + "integrity": "sha512-CJ6n7izLFXLvPZaWzCQDjU/RP+vHiZmWdOunaCS87v+2jxMsW9FB5ktfIxybRBxZjxuJGRnxk7xJecWTVxFUYQ==", + "requires": { + "@octokit/request": "^5.3.0", + "@octokit/types": "^6.0.3", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/openapi-types": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.0.0.tgz", + "integrity": "sha512-QXpwbGjidE+XhgCEeXpffQk/XGiexgne8czTebwU359Eoko8FJzAED4aizrQlL9t4n6tMx/1Ka1vwZbP6rayFA==" + }, + "@octokit/plugin-paginate-rest": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.9.1.tgz", + "integrity": "sha512-8wnuWGjwDIEobbBet2xAjZwgiMVTgIer5wBsnGXzV3lJ4yqphLU2FEMpkhSrDx7y+WkZDfZ+V+1cFMZ1mAaFag==", + "requires": { + "@octokit/types": "^6.8.0" + } + }, + "@octokit/plugin-request-log": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.3.tgz", + "integrity": "sha512-4RFU4li238jMJAzLgAwkBAw+4Loile5haQMQr+uhFq27BmyJXcXSKvoQKqh0agsZEiUlW6iSv3FAgvmGkur7OQ==", + "requires": {} + }, + "@octokit/plugin-rest-endpoint-methods": { + "version": "4.10.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.10.3.tgz", + "integrity": "sha512-CsNQeVY34Vs9iea2Z9/TCPlebxv6KpjO9f1BUPz+14qundTSYT9kgf8j5wA1k37VstfBQ4xnuURYdnbGzJBJXw==", + "requires": { + "@octokit/types": "^6.8.3", + "deprecation": "^2.3.1" + } + }, + "@octokit/request": { + "version": "5.4.14", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.14.tgz", + "integrity": "sha512-VkmtacOIQp9daSnBmDI92xNIeLuSRDOIuplp/CJomkvzt7M18NXgG044Cx/LFKLgjKt9T2tZR6AtJayba9GTSA==", + "requires": { + "@octokit/endpoint": "^6.0.1", + "@octokit/request-error": "^2.0.0", + "@octokit/types": "^6.7.1", + "deprecation": "^2.0.0", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.1", + "once": "^1.4.0", + "universal-user-agent": "^6.0.0" + }, + "dependencies": { + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + } + } + }, + "@octokit/request-error": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.5.tgz", + "integrity": "sha512-T/2wcCFyM7SkXzNoyVNWjyVlUwBvW3igM3Btr/eKYiPmucXTtkxt2RBsf6gn3LTzaLSLTQtNmvg+dGsOxQrjZg==", + "requires": { + "@octokit/types": "^6.0.3", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "@octokit/rest": { + "version": "18.1.1", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.1.1.tgz", + "integrity": "sha512-ZcCHMyfGT1qtJD72usigAfUQ6jU89ZUPFb2AOubR6WZ7/RRFVZUENVm1I2yvJBUicqTujezPW9cY1+o3Mb4rNA==", + "requires": { + "@octokit/core": "^3.2.3", + "@octokit/plugin-paginate-rest": "^2.6.2", + "@octokit/plugin-request-log": "^1.0.2", + "@octokit/plugin-rest-endpoint-methods": "4.10.3" + } + }, + "@octokit/types": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.9.0.tgz", + "integrity": "sha512-j4ms2ukvWciu8hSuIWtWK/LyOWMZ0ZsRcvPIVLBYyAkTKBKrMJyiyv2wawJnyphKyEOhRgIyu5Nmf4yPxp0tcg==", + "requires": { + "@octokit/openapi-types": "^5.0.0" + } + }, + "@sinonjs/commons": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.2.tgz", + "integrity": "sha512-sruwd86RJHdsVf/AtBoijDmUqJp3B6hF/DGC23C+JaegnDHaZyewCjoVGTdg3J0uz3Zs7NnIT05OBOmML72lQw==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, + "@types/babel__core": { + "version": "7.1.12", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.12.tgz", + "integrity": "sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.2.tgz", + "integrity": "sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.0.tgz", + "integrity": "sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.11.0.tgz", + "integrity": "sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg==", + "dev": true, + "requires": { + "@babel/types": "^7.3.0" + } + }, + "@types/graceful-fs": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", + "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/istanbul-lib-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", + "integrity": "sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==", + "dev": true + }, + "@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*" + } + }, + "@types/istanbul-reports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.0.tgz", + "integrity": "sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA==", + "dev": true, + "requires": { + "@types/istanbul-lib-report": "*" + } + }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, + "@types/node": { + "version": "14.14.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.28.tgz", + "integrity": "sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g==", + "dev": true + }, + "@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "dev": true + }, + "@types/prettier": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-DxZZbyMAM9GWEzXL+BMZROWz9oo6A9EilwwOMET2UVu2uZTqMWS5S69KVtuVKaRjCUpcrOXRalet86/OpG4kqw==", + "dev": true + }, + "@types/stack-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", + "integrity": "sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==", + "dev": true + }, + "@types/yargs": { + "version": "15.0.13", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.13.tgz", + "integrity": "sha512-kQ5JNTrbDv3Rp5X2n/iUu37IJBDU2gsZ5R/g1/KHOOEc5IKfUFjXT6DENPGduh08I/pamwtEq4oul7gUqKTQDQ==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "@types/yargs-parser": { + "version": "20.2.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz", + "integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==", + "dev": true + }, + "abab": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", + "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true + }, + "acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dev": true, + "requires": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "dev": true + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "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" + } + }, + "ansi-align": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", + "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", + "dev": true, + "requires": { + "string-width": "^2.0.0" + }, + "dependencies": { + "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" + } + } + } + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true + }, + "ansi-escapes": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", + "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", + "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": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "apiconnect-wsdl": { + "version": "1.8.31", + "resolved": "https://registry.npmjs.org/apiconnect-wsdl/-/apiconnect-wsdl-1.8.31.tgz", + "integrity": "sha512-kNs26If9xCJnGolVTAt0VWIA8KrqwodQLqDRTrfc7txD54LJ+hFx638sPYEdG9jw78eifWyy+FBlS5befYSa8Q==", + "dev": true, + "requires": { + "iconv-lite": "^0.4.24", + "js-yaml": "^3.13.1", + "jszip": "^3.2.2", + "lodash": "^4.17.15", + "q": "^1.5.1", + "swagger-parser": "8.0.3", + "xml2js": "^0.4.22", + "xmldom": "^0.1.27", + "yauzl": "^2.10.0" + }, + "dependencies": { + "swagger-methods": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/swagger-methods/-/swagger-methods-2.0.2.tgz", + "integrity": "sha512-/RNqvBZkH8+3S/FqBPejHxJxZenaYq3MrpeXnzi06aDIS39Mqf5YCUNb/ZBjsvFFt8h9FxfKs8EXPtcYdfLiRg==", + "dev": true + }, + "swagger-parser": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-8.0.3.tgz", + "integrity": "sha512-y2gw+rTjn7Z9J+J1qwbBm0UL93k/VREDCveKBK6iGjf7KXC6QGshbnpEmeHL0ZkCgmIghsXzpNzPSbBH91BAEQ==", + "dev": true, + "requires": { + "call-me-maybe": "^1.0.1", + "json-schema-ref-parser": "^7.1.1", + "ono": "^5.1.0", + "openapi-schemas": "^1.0.2", + "openapi-types": "^1.3.5", + "swagger-methods": "^2.0.1", + "z-schema": "^4.1.1" + } + }, + "validator": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-12.2.0.tgz", + "integrity": "sha512-jJfE/DW6tIK1Ek8nCfNFqt8Wb3nzMoAbocBF6/Icgg1ZFSBpObdnwVY2jQj6qUqzhx5jc71fpvBWyLGO7Xl+nQ==", + "dev": true + }, + "z-schema": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.2.3.tgz", + "integrity": "sha512-zkvK/9TC6p38IwcrbnT3ul9in1UX4cm1y/VZSs4GHKIiDCrlafc+YQBgQBUdDXLAoZHf2qvQ7gJJOo6yT1LH6A==", + "dev": true, + "requires": { + "commander": "^2.7.1", + "lodash.get": "^4.4.2", + "lodash.isequal": "^4.5.0", + "validator": "^12.0.0" + } + } + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-includes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.2.tgz", + "integrity": "sha512-w2GspexNQpx+PutG3QpT437/BenZBj0M/MZGn5mzv/MofYqo0xmRHzn4lFsoDlWJ+THYsGJmFlW68WlDFx7VRw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "get-intrinsic": "^1.0.1", + "is-string": "^1.0.5" + } + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + } + }, + "array.prototype.flatmap": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz", + "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "function-bind": "^1.1.1" + } + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "babel-jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", + "integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==", + "dev": true, + "requires": { + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/babel__core": "^7.1.7", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "slash": "^3.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==", + "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" + } + } + } + }, + "babel-plugin-istanbul": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz", + "integrity": "sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^4.0.0", + "test-exclude": "^6.0.0" + } + }, + "babel-plugin-jest-hoist": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz", + "integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==", + "dev": true, + "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", + "@types/babel__traverse": "^7.0.6" + } + }, + "babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + } + }, + "babel-preset-jest": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz", + "integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==", + "dev": true, + "requires": { + "babel-plugin-jest-hoist": "^26.6.2", + "babel-preset-current-node-syntax": "^1.0.0" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "before-after-hook": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.1.tgz", + "integrity": "sha512-5ekuQOvO04MDj7kYZJaMab2S8SPjGJbotVNyv7QYFCOAwrGZs/YnoDNlh1U+m5hl7H2D/+n0taaAV/tfyd3KMA==" + }, + "binary-extensions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz", + "integrity": "sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw==", + "dev": true + }, + "boxen": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", + "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", + "dev": true, + "requires": { + "ansi-align": "^2.0.0", + "camelcase": "^4.0.0", + "chalk": "^2.0.1", + "cli-boxes": "^1.0.0", + "string-width": "^2.0.0", + "term-size": "^1.2.0", + "widest-line": "^2.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 + }, + "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" + } + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", + "dev": true + }, + "bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "requires": { + "node-int64": "^0.4.0" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", + "dev": true + }, + "callsites": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz", + "integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==", + "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 + }, + "capture-exit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", + "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", + "dev": true, + "requires": { + "rsvp": "^4.8.4" + } + }, + "capture-stack-trace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", + "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true + }, + "chokidar": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz", + "integrity": "sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.0" + }, + "dependencies": { + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + } + } + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "cjs-module-lexer": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz", + "integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cli-boxes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", + "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=", + "dev": true + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "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" + } + } + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "configstore": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", + "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", + "dev": true, + "requires": { + "dot-prop": "^4.1.0", + "graceful-fs": "^4.1.2", + "make-dir": "^1.0.0", + "unique-string": "^1.0.0", + "write-file-atomic": "^2.0.0", + "xdg-basedir": "^3.0.0" + } + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "dev": true, + "requires": { + "capture-stack-trace": "^1.0.0" + } + }, + "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" + }, + "dependencies": { + "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" + } + } + } + }, + "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 + }, + "cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "requires": { + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + } + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decimal.js": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz", + "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true + }, + "diff-sequences": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", + "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", + "dev": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dev": true, + "requires": { + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "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" + } + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "emittery": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz", + "integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.18.0-next.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.2.tgz", + "integrity": "sha512-Ih4ZMFHEtZupnUh6497zEL4y2+w8+1ljnCyaTa+adcoafI1GOvMwFlDjBLfWR7y9VLfrjRJe9ocuHY1PSR9jjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.1", + "object-inspect": "^1.9.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.3", + "string.prototype.trimstart": "^1.0.3" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dev": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "eslint": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.12.1.tgz", + "integrity": "sha512-HlMTEdr/LicJfN08LB3nM1rRYliDXOmfoO4vj39xN6BLpFzF00hbwBoqHk8UcJ2M/3nlARZWy/mslvGEuZFvsg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@eslint/eslintrc": "^0.2.1", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.0", + "esquery": "^1.2.0", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash": "^4.17.19", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^5.2.3", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "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 + }, + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "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 + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "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" + } + }, + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "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" + } + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "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" + } + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } + } + }, + "eslint-config-semistandard": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/eslint-config-semistandard/-/eslint-config-semistandard-15.0.1.tgz", + "integrity": "sha512-sfV+qNBWKOmF0kZJll1VH5XqOAdTmLlhbOl9WKI11d2eMEe+Kicxnpm24PQWHOqAfk5pAWU2An0LjNCXKa4Usg==", + "dev": true, + "requires": {} + }, + "eslint-config-standard": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.0.tgz", + "integrity": "sha512-kMCehB9yXIG+LNsu9uXfm06o6Pt63TFAOzn9tUOzw4r/hFIxHhNR1Xomxy+B5zMrXhqyfHVEcmanzttEjGei9w==", + "dev": true, + "requires": {} + }, + "eslint-config-standard-jsx": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-10.0.0.tgz", + "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==", + "dev": true, + "requires": {} + }, + "eslint-import-resolver-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", + "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-plugin-es": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", + "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", + "dev": true, + "requires": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + } + }, + "eslint-plugin-import": { + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", + "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", + "dev": true, + "requires": { + "array-includes": "^3.1.1", + "array.prototype.flat": "^1.2.3", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.4", + "eslint-module-utils": "^2.6.0", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.1", + "read-pkg-up": "^2.0.0", + "resolve": "^1.17.0", + "tsconfig-paths": "^3.9.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-plugin-node": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "dev": true, + "requires": { + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", + "minimatch": "^3.0.4", + "resolve": "^1.10.1", + "semver": "^6.1.0" + }, + "dependencies": { + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "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 + } + } + }, + "eslint-plugin-promise": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz", + "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==", + "dev": true + }, + "eslint-plugin-react": { + "version": "7.21.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz", + "integrity": "sha512-8MaEggC2et0wSF6bUeywF7qQ46ER81irOdWS4QWxnnlAEsnzeBevk1sWh7fhpCghPpXb+8Ks7hvaft6L/xsR6g==", + "dev": true, + "requires": { + "array-includes": "^3.1.1", + "array.prototype.flatmap": "^1.2.3", + "doctrine": "^2.1.0", + "has": "^1.0.3", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "object.entries": "^1.1.2", + "object.fromentries": "^2.0.2", + "object.values": "^1.1.1", + "prop-types": "^15.7.2", + "resolve": "^1.18.1", + "string.prototype.matchall": "^4.0.2" + }, + "dependencies": { + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + } + } + }, + "eslint-plugin-standard": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.2.tgz", + "integrity": "sha512-nKptN8l7jksXkwFk++PhJB3cCDTcXOEyhISIN86Ue2feJ1LFyY3PrY3/xT2keXlJSY5bpmbiTG0f885/YKAvTA==", + "dev": true, + "requires": {} + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } + } + }, + "eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "dev": true + }, + "espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "requires": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "dependencies": { + "acorn-jsx": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", + "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "dev": true, + "requires": {} + }, + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "exec-sh": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", + "integrity": "sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==", + "dev": true + }, + "execa": { + "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", + "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" + }, + "dependencies": { + "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", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "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 + } + } + }, + "exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "expect": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz", + "integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "ansi-styles": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-regex-util": "^26.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==", + "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 + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", @@ -2222,15 +15756,9 @@ "dev": true }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, - "fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, "fast-json-stable-stringify": { @@ -2263,15 +15791,6 @@ "pend": "~1.2.0" } }, - "figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, "file-entry-cache": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", @@ -2325,9 +15844,9 @@ } }, "flatted": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz", - "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, "for-in": { @@ -2387,24 +15906,32 @@ "dependencies": { "abbrev": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "bundled": true, "dev": true, "optional": true }, "ansi-regex": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "bundled": true, "dev": true, "optional": true }, "aproba": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "bundled": true, "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "bundled": true, "dev": true, "optional": true, @@ -2415,12 +15942,16 @@ }, "balanced-match": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "bundled": true, "dev": true, "optional": true }, "brace-expansion": { "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "bundled": true, "dev": true, "optional": true, @@ -2431,36 +15962,48 @@ }, "chownr": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", "bundled": true, "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "bundled": true, "dev": true, "optional": true }, "concat-map": { "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "bundled": true, "dev": true, "optional": true }, "console-control-strings": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "bundled": true, "dev": true, "optional": true }, "core-util-is": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "bundled": true, "dev": true, "optional": true }, "debug": { "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "bundled": true, "dev": true, "optional": true, @@ -2470,24 +16013,32 @@ }, "deep-extend": { "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "bundled": true, "dev": true, "optional": true }, "delegates": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "bundled": true, "dev": true, "optional": true }, "detect-libc": { "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "bundled": true, "dev": true, "optional": true }, "fs-minipass": { "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", "bundled": true, "dev": true, "optional": true, @@ -2497,12 +16048,16 @@ }, "fs.realpath": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "bundled": true, "dev": true, "optional": true }, "gauge": { "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "bundled": true, "dev": true, "optional": true, @@ -2519,6 +16074,8 @@ }, "glob": { "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "bundled": true, "dev": true, "optional": true, @@ -2533,12 +16090,16 @@ }, "has-unicode": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "bundled": true, "dev": true, "optional": true }, "iconv-lite": { "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "bundled": true, "dev": true, "optional": true, @@ -2548,6 +16109,8 @@ }, "ignore-walk": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", "bundled": true, "dev": true, "optional": true, @@ -2557,6 +16120,8 @@ }, "inflight": { "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "bundled": true, "dev": true, "optional": true, @@ -2567,18 +16132,24 @@ }, "inherits": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "bundled": true, "dev": true, "optional": true }, "ini": { "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "bundled": true, "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "bundled": true, "dev": true, "optional": true, @@ -2588,12 +16159,16 @@ }, "isarray": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "bundled": true, "dev": true, "optional": true }, "minimatch": { "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "bundled": true, "dev": true, "optional": true, @@ -2603,12 +16178,16 @@ }, "minimist": { "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "bundled": true, "dev": true, "optional": true }, "minipass": { "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", "bundled": true, "dev": true, "optional": true, @@ -2619,6 +16198,8 @@ }, "minizlib": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", "bundled": true, "dev": true, "optional": true, @@ -2628,6 +16209,8 @@ }, "mkdirp": { "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "bundled": true, "dev": true, "optional": true, @@ -2637,12 +16220,16 @@ }, "ms": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "bundled": true, "dev": true, "optional": true }, "needle": { "version": "2.2.4", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.4.tgz", + "integrity": "sha512-HyoqEb4wr/rsoaIDfTH2aVL9nWtQqba2/HvMv+++m8u0dz808MaagKILxtfeSN7QU7nvbQ79zk3vYOJp9zsNEA==", "bundled": true, "dev": true, "optional": true, @@ -2654,6 +16241,8 @@ }, "node-pre-gyp": { "version": "0.10.3", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz", + "integrity": "sha512-d1xFs+C/IPS8Id0qPTZ4bUT8wWryfR/OzzAFxweG+uLN85oPzyo2Iw6bVlLQ/JOdgNonXLCoRyqDzDWq4iw72A==", "bundled": true, "dev": true, "optional": true, @@ -2672,6 +16261,8 @@ }, "nopt": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "bundled": true, "dev": true, "optional": true, @@ -2682,12 +16273,16 @@ }, "npm-bundled": { "version": "1.0.5", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz", + "integrity": "sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g==", "bundled": true, "dev": true, "optional": true }, "npm-packlist": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz", + "integrity": "sha512-7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ==", "bundled": true, "dev": true, "optional": true, @@ -2698,6 +16293,8 @@ }, "npmlog": { "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "bundled": true, "dev": true, "optional": true, @@ -2710,18 +16307,24 @@ }, "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=", "bundled": true, "dev": true, "optional": true }, "object-assign": { "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "bundled": true, "dev": true, "optional": true }, "once": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "bundled": true, "dev": true, "optional": true, @@ -2731,18 +16334,24 @@ }, "os-homedir": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "bundled": true, "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "bundled": true, "dev": true, "optional": true }, "osenv": { "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "bundled": true, "dev": true, "optional": true, @@ -2753,18 +16362,24 @@ }, "path-is-absolute": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "bundled": true, "dev": true, "optional": true }, "process-nextick-args": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "bundled": true, "dev": true, "optional": true }, "rc": { "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "bundled": true, "dev": true, "optional": true, @@ -2777,6 +16392,8 @@ "dependencies": { "minimist": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "bundled": true, "dev": true, "optional": true @@ -2785,6 +16402,8 @@ }, "readable-stream": { "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "bundled": true, "dev": true, "optional": true, @@ -2800,6 +16419,8 @@ }, "rimraf": { "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "bundled": true, "dev": true, "optional": true, @@ -2809,62 +16430,80 @@ }, "safe-buffer": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "bundled": true, "dev": true, "optional": true }, "safer-buffer": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "bundled": true, "dev": true, "optional": true }, "sax": { "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "bundled": true, "dev": true, "optional": true }, "semver": { "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", "bundled": true, "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "bundled": true, "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "bundled": true, "dev": true, "optional": true }, - "string-width": { - "version": "1.0.2", + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "bundled": true, "dev": true, "optional": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "safe-buffer": "~5.1.0" } }, - "string_decoder": { - "version": "1.1.1", + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "bundled": true, "dev": true, "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, "strip-ansi": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "bundled": true, "dev": true, "optional": true, @@ -2874,12 +16513,16 @@ }, "strip-json-comments": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "bundled": true, "dev": true, "optional": true }, "tar": { "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", "bundled": true, "dev": true, "optional": true, @@ -2895,12 +16538,16 @@ }, "util-deprecate": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "bundled": true, "dev": true, "optional": true }, "wide-align": { "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "bundled": true, "dev": true, "optional": true, @@ -2910,12 +16557,16 @@ }, "wrappy": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "bundled": true, "dev": true, "optional": true }, "yallist": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", "bundled": true, "dev": true, "optional": true @@ -2934,22 +16585,45 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "gensync": { + "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": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true + }, "get-stdin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", "dev": true }, "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" @@ -2971,9 +16645,9 @@ } }, "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -3015,40 +16689,23 @@ } }, "globals": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz", - "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, "graceful-fs": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", - "dev": true - }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", + "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", "dev": true }, "growly": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", - "dev": true - }, - "handlebars": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", - "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", "dev": true, - "requires": { - "neo-async": "^2.6.0", - "optimist": "^0.6.1", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4" - } + "optional": true }, "har-schema": { "version": "2.0.0", @@ -3057,12 +16714,12 @@ "dev": true }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "dev": true, "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -3082,9 +16739,9 @@ "dev": true }, "has-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", - "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", "dev": true }, "has-value": { @@ -3126,14 +16783,20 @@ "dev": true }, "html-encoding-sniffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", - "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", "dev": true, "requires": { - "whatwg-encoding": "^1.0.1" + "whatwg-encoding": "^1.0.5" } }, + "html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -3145,10 +16808,10 @@ "sshpk": "^1.7.0" } }, - "http2-client": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.3.tgz", - "integrity": "sha512-nUxLymWQ9pzkzTmir24p2RtsgruLmhje7lH3hLX1IpwvyTg77fW+1brenPPP3USAR+rQ36p5sTA/x7sjCJVkAA==", + "human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true }, "iconv-lite": { @@ -3179,9 +16842,9 @@ "dev": true }, "import-fresh": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", - "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -3195,22 +16858,56 @@ "dev": true }, "import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", + "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", "dev": true, "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" }, "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "requires": { - "find-up": "^3.0.0" + "find-up": "^4.0.0" } } } @@ -3238,72 +16935,11 @@ "dev": true }, "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, - "inquirer": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz", - "integrity": "sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==", - "dev": true, - "requires": { - "ansi-escapes": "^3.2.0", - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.3", - "figures": "^2.0.0", - "lodash": "^4.17.11", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rxjs": "^6.4.0", - "string-width": "^2.1.0", - "strip-ansi": "^5.0.0", - "through": "^2.3.6" - }, - "dependencies": { - "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" - }, - "dependencies": { - "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" - } - } - } - }, - "strip-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", - "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", - "dev": true, - "requires": { - "ansi-regex": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz", - "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==", - "dev": true - } - } - } - } - }, "insomnia-importers": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/insomnia-importers/-/insomnia-importers-2.1.1.tgz", @@ -3326,19 +16962,21 @@ } } }, - "invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", "dev": true, "requires": { - "loose-envify": "^1.0.0" + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" } }, - "invert-kv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", "dev": true }, "is-accessor-descriptor": { @@ -3383,9 +17021,9 @@ "dev": true }, "is-callable": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", - "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", + "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", "dev": true }, "is-ci": { @@ -3397,6 +17035,15 @@ "ci-info": "^2.0.0" } }, + "is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, "is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", @@ -3442,6 +17089,13 @@ } } }, + "is-docker": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", + "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", + "dev": true, + "optional": true + }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -3467,9 +17121,9 @@ "dev": true }, "is-glob": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", - "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, "requires": { "is-extglob": "^2.1.1" @@ -3485,6 +17139,12 @@ "is-path-inside": "^1.0.0" } }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true + }, "is-npm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -3535,10 +17195,10 @@ "isobject": "^3.0.1" } }, - "is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "is-potential-custom-element-name": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", + "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=", "dev": true }, "is-redirect": { @@ -3548,12 +17208,13 @@ "dev": true }, "is-regex": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", - "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", + "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", "dev": true, "requires": { - "has": "^1.0.1" + "call-bind": "^1.0.2", + "has-symbols": "^1.0.1" } }, "is-retry-allowed": { @@ -3568,6 +17229,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true + }, "is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", @@ -3590,10 +17257,14 @@ "dev": true }, "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "optional": true, + "requires": { + "is-docker": "^2.0.0" + } }, "isarray": { "version": "1.0.0", @@ -3620,24 +17291,21 @@ "dev": true }, "istanbul-lib-coverage": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", - "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", "dev": true }, "istanbul-lib-instrument": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", - "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", "dev": true, "requires": { - "@babel/generator": "^7.4.0", - "@babel/parser": "^7.4.3", - "@babel/template": "^7.4.0", - "@babel/traverse": "^7.4.3", - "@babel/types": "^7.4.0", - "istanbul-lib-coverage": "^2.0.5", - "semver": "^6.0.0" + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" }, "dependencies": { "semver": { @@ -3649,514 +17317,1543 @@ } }, "istanbul-lib-report": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", - "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "requires": { - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "supports-color": "^6.1.0" + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" }, "dependencies": { + "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 + }, "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "requires": { + "semver": "^6.0.0" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "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" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + } + } + }, + "istanbul-reports": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "dev": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "jest": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz", + "integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==", + "dev": true, + "requires": { + "@jest/core": "^26.6.3", + "import-local": "^3.0.2", + "jest-cli": "^26.6.3" + } + }, + "jest-changed-files": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz", + "integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "execa": "^4.0.0", + "throat": "^5.0.0" + } + }, + "jest-cli": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz", + "integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==", + "dev": true, + "requires": { + "@jest/core": "^26.6.3", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "import-local": "^3.0.2", + "is-ci": "^2.0.0", + "jest-config": "^26.6.3", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "prompts": "^2.0.1", + "yargs": "^15.4.1" + }, + "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" + } + } + } + }, + "jest-config": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz", + "integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^26.6.3", + "@jest/types": "^26.6.2", + "babel-jest": "^26.6.3", + "chalk": "^4.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^26.6.2", + "jest-environment-node": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-jasmine2": "^26.6.3", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.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" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.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 + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "to-regex-range": "^5.0.1" } }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "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 + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "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": "^3.0.0" + "has-flag": "^4.0.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" } } } }, - "istanbul-lib-source-maps": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", - "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "jest-diff": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", + "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", "dev": true, "requires": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "rimraf": "^2.6.3", - "source-map": "^0.6.1" + "chalk": "^4.0.0", + "diff-sequences": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" }, "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "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": { - "ms": "^2.1.1" + "color-convert": "^2.0.1" } }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "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": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "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" + } } } }, - "istanbul-reports": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz", - "integrity": "sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA==", + "jest-docblock": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", + "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", "dev": true, "requires": { - "handlebars": "^4.1.2" + "detect-newline": "^3.0.0" } }, - "jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-24.9.0.tgz", - "integrity": "sha512-YvkBL1Zm7d2B1+h5fHEOdyjCG+sGMz4f8D86/0HiqJ6MB4MnDc8FgP5vdWsGnemOQro7lnYo8UakZ3+5A0jxGw==", + "jest-each": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz", + "integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==", "dev": true, "requires": { - "import-local": "^2.0.0", - "jest-cli": "^24.9.0" + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2" }, "dependencies": { - "jest-cli": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz", - "integrity": "sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg==", + "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": { - "@jest/core": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "import-local": "^2.0.0", - "is-ci": "^2.0.0", - "jest-config": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "prompts": "^2.0.1", - "realpath-native": "^1.1.0", - "yargs": "^13.3.0" + "has-flag": "^4.0.0" } } } }, - "jest-changed-files": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz", - "integrity": "sha512-6aTWpe2mHF0DhL28WjdkO8LyGjs3zItPET4bMSeXU6T3ub4FPMw+mcOcbdGXQOAfmLcxofD23/5Bl9Z4AkFwqg==", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "execa": "^1.0.0", - "throat": "^4.0.0" - } - }, - "jest-config": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz", - "integrity": "sha512-RATtQJtVYQrp7fvWg6f5y3pEFj9I+H8sWw4aKxnDZ96mob5i5SD6ZEGWgMLXQ4LE8UurrjbdlLWdUeo+28QpfQ==", - "dev": true, - "requires": { - "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^24.9.0", - "@jest/types": "^24.9.0", - "babel-jest": "^24.9.0", - "chalk": "^2.0.1", - "glob": "^7.1.1", - "jest-environment-jsdom": "^24.9.0", - "jest-environment-node": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "micromatch": "^3.1.10", - "pretty-format": "^24.9.0", - "realpath-native": "^1.1.0" - } - }, - "jest-diff": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", - "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", - "dev": true, - "requires": { - "chalk": "^2.0.1", - "diff-sequences": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - } - }, - "jest-docblock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz", - "integrity": "sha512-F1DjdpDMJMA1cN6He0FNYNZlo3yYmOtRUnktrT9Q37njYzC5WEaDdmbynIgy0L/IvXvvgsG8OsqhLPXTpfmZAA==", - "dev": true, - "requires": { - "detect-newline": "^2.1.0" - } - }, - "jest-each": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz", - "integrity": "sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog==", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0" - } - }, "jest-environment-jsdom": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz", - "integrity": "sha512-Zv9FV9NBRzLuALXjvRijO2351DRQeLYXtpD4xNvfoVFw21IOKNhZAEUKcbiEtjTkm2GsJ3boMVgkaR7rN8qetA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", + "integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0", - "jsdom": "^11.5.1" + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2", + "jsdom": "^16.4.0" } }, "jest-environment-node": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz", - "integrity": "sha512-6d4V2f4nxzIzwendo27Tr0aFm+IXWa0XEUnaH6nU0FMaozxovt+sfRvh4J47wL1OvF83I3SSTu0XK+i4Bqe7uA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz", + "integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0" + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "jest-mock": "^26.6.2", + "jest-util": "^26.6.2" } }, "jest-get-type": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", - "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "version": "26.3.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz", + "integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==", "dev": true }, "jest-haste-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", - "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz", + "integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "anymatch": "^2.0.0", + "@jest/types": "^26.6.2", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", - "fsevents": "^1.2.7", - "graceful-fs": "^4.1.15", - "invariant": "^2.2.4", - "jest-serializer": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.9.0", - "micromatch": "^3.1.10", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.4", + "jest-regex-util": "^26.0.0", + "jest-serializer": "^26.6.2", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", + "micromatch": "^4.0.2", "sane": "^4.0.3", "walker": "^1.0.7" + }, + "dependencies": { + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + } } }, "jest-jasmine2": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz", - "integrity": "sha512-Cq7vkAgaYKp+PsX+2/JbTarrk0DmNhsEtqBXNwUHkdlbrTBLtMJINADf2mf5FkowNsq8evbPc07/qFO0AdKTzw==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz", + "integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", + "@jest/environment": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^24.9.0", + "expect": "^26.6.2", "is-generator-fn": "^2.0.0", - "jest-each": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0", - "throat": "^4.0.0" + "jest-each": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "pretty-format": "^26.6.2", + "throat": "^5.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==", + "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" + } + } } }, "jest-leak-detector": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz", - "integrity": "sha512-tYkFIDsiKTGwb2FG1w8hX9V0aUb2ot8zY/2nFg087dUageonw1zrLMP4W6zsRO59dPkTSKie+D4rhMuP9nRmrA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", + "integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==", "dev": true, "requires": { - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" } }, "jest-matcher-utils": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", - "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", + "integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==", "dev": true, "requires": { - "chalk": "^2.0.1", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" + "chalk": "^4.0.0", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.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" + } + }, + "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" + } + } } }, "jest-message-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", - "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", + "integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/stack-utils": "^1.0.1", - "chalk": "^2.0.1", - "micromatch": "^3.1.10", - "slash": "^2.0.0", - "stack-utils": "^1.0.1" + "@jest/types": "^26.6.2", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "micromatch": "^4.0.2", + "pretty-format": "^26.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.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" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.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 + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "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 + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "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" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + } } }, "jest-mock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", - "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", + "integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==", "dev": true, "requires": { - "@jest/types": "^24.9.0" + "@jest/types": "^26.6.2", + "@types/node": "*" } }, "jest-pnp-resolver": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz", - "integrity": "sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ==", - "dev": true + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", + "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "dev": true, + "requires": {} }, "jest-regex-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", - "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", + "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", "dev": true }, "jest-resolve": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", - "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "browser-resolve": "^1.11.3", - "chalk": "^2.0.1", - "jest-pnp-resolver": "^1.2.1", - "realpath-native": "^1.1.0" + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz", + "integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==", + "dev": true, + "requires": { + "@jest/types": "^26.6.2", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^26.6.2", + "read-pkg-up": "^7.0.1", + "resolve": "^1.18.1", + "slash": "^3.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==", + "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 + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.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 + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "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-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "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 + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + } + }, + "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" + } + } } }, "jest-resolve-dependencies": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz", - "integrity": "sha512-Fm7b6AlWnYhT0BXy4hXpactHIqER7erNgIsIozDXWl5dVm+k8XdGVe1oTg1JyaFnOxarMEbax3wyRJqGP2Pq+g==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz", + "integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-snapshot": "^24.9.0" + "@jest/types": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-snapshot": "^26.6.2" } }, "jest-runner": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz", - "integrity": "sha512-KksJQyI3/0mhcfspnxxEOBueGrd5E4vV7ADQLT9ESaCzz02WnbdbKWIf5Mkaucoaj7obQckYPVX6JJhgUcoWWg==", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.4.2", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz", + "integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.7.1", "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-docblock": "^24.3.0", - "jest-haste-map": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-leak-detector": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-docblock": "^26.0.0", + "jest-haste-map": "^26.6.2", + "jest-leak-detector": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", + "jest-runtime": "^26.6.3", + "jest-util": "^26.6.2", + "jest-worker": "^26.6.2", "source-map-support": "^0.5.6", - "throat": "^4.0.0" + "throat": "^5.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==", + "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" + } + } } }, "jest-runtime": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz", - "integrity": "sha512-8oNqgnmF3v2J6PVRM2Jfuj8oX3syKmaynlDMMKQ4iyzbQzIG6th5ub/lM2bCMTmoTKM3ykcUYI2Pw9xwNtjMnw==", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/source-map": "^24.3.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "chalk": "^2.0.1", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz", + "integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==", + "dev": true, + "requires": { + "@jest/console": "^26.6.2", + "@jest/environment": "^26.6.2", + "@jest/fake-timers": "^26.6.2", + "@jest/globals": "^26.6.2", + "@jest/source-map": "^26.6.2", + "@jest/test-result": "^26.6.2", + "@jest/transform": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0", + "cjs-module-lexer": "^0.6.0", + "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.3", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", - "strip-bom": "^3.0.0", - "yargs": "^13.3.0" + "graceful-fs": "^4.2.4", + "jest-config": "^26.6.3", + "jest-haste-map": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-mock": "^26.6.2", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.6.2", + "jest-snapshot": "^26.6.2", + "jest-util": "^26.6.2", + "jest-validate": "^26.6.2", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.4.1" + }, + "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 + }, + "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 + }, + "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" + } + } } }, "jest-serializer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", - "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", - "dev": true + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz", + "integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==", + "dev": true, + "requires": { + "@types/node": "*", + "graceful-fs": "^4.2.4" + } }, "jest-snapshot": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", - "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz", + "integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==", "dev": true, "requires": { "@babel/types": "^7.0.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "expect": "^24.9.0", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "mkdirp": "^0.5.1", + "@jest/types": "^26.6.2", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.0.0", + "chalk": "^4.0.0", + "expect": "^26.6.2", + "graceful-fs": "^4.2.4", + "jest-diff": "^26.6.2", + "jest-get-type": "^26.3.0", + "jest-haste-map": "^26.6.2", + "jest-matcher-utils": "^26.6.2", + "jest-message-util": "^26.6.2", + "jest-resolve": "^26.6.2", "natural-compare": "^1.4.0", - "pretty-format": "^24.9.0", - "semver": "^6.2.0" + "pretty-format": "^26.6.2", + "semver": "^7.3.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" + } + }, + "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 + }, + "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" + } + }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "requires": { + "lru-cache": "^6.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" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true } } }, "jest-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", - "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz", + "integrity": "sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q==", "dev": true, "requires": { - "@jest/console": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/source-map": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "callsites": "^3.0.0", - "chalk": "^2.0.1", - "graceful-fs": "^4.1.15", + "@jest/types": "^26.6.2", + "@types/node": "*", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", "is-ci": "^2.0.0", - "mkdirp": "^0.5.1", - "slash": "^2.0.0", - "source-map": "^0.6.0" + "micromatch": "^4.0.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" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.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 + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "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 + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "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" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + } } }, "jest-validate": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz", - "integrity": "sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz", + "integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "camelcase": "^5.3.1", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", + "@jest/types": "^26.6.2", + "camelcase": "^6.0.0", + "chalk": "^4.0.0", + "jest-get-type": "^26.3.0", "leven": "^3.1.0", - "pretty-format": "^24.9.0" + "pretty-format": "^26.6.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": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true + }, + "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" + } + } } }, "jest-watcher": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz", - "integrity": "sha512-+/fLOfKPXXYJDYlks62/4R4GoT+GU1tYZed99JSCOsmzkkF7727RqKrjNAxtfO4YpGv11wybgRvCjR73lK2GZw==", - "dev": true, - "requires": { - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "jest-util": "^24.9.0", - "string-length": "^2.0.0" + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", + "integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==", + "dev": true, + "requires": { + "@jest/test-result": "^26.6.2", + "@jest/types": "^26.6.2", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^26.6.2", + "string-length": "^4.0.1" + }, + "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" + } + } } }, "jest-worker": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", - "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", "dev": true, "requires": { + "@types/node": "*", "merge-stream": "^2.0.0", - "supports-color": "^6.1.0" + "supports-color": "^7.0.0" }, "dependencies": { + "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": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "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": "^3.0.0" + "has-flag": "^4.0.0" } } } @@ -4175,14 +18872,6 @@ "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - } } }, "jsbn": { @@ -4192,36 +18881,36 @@ "dev": true }, "jsdom": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz", - "integrity": "sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw==", - "dev": true, - "requires": { - "abab": "^2.0.0", - "acorn": "^5.5.3", - "acorn-globals": "^4.1.0", - "array-equal": "^1.0.0", - "cssom": ">= 0.3.2 < 0.4.0", - "cssstyle": "^1.0.0", - "data-urls": "^1.0.0", - "domexception": "^1.0.1", - "escodegen": "^1.9.1", - "html-encoding-sniffer": "^1.0.2", - "left-pad": "^1.3.0", - "nwsapi": "^2.0.7", - "parse5": "4.0.0", - "pn": "^1.1.0", - "request": "^2.87.0", - "request-promise-native": "^1.0.5", - "sax": "^1.2.4", - "symbol-tree": "^3.2.2", - "tough-cookie": "^2.3.4", - "w3c-hr-time": "^1.0.1", - "webidl-conversions": "^4.0.2", - "whatwg-encoding": "^1.0.3", - "whatwg-mimetype": "^2.1.0", - "whatwg-url": "^6.4.1", - "ws": "^5.2.0", + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.4.0.tgz", + "integrity": "sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "acorn": "^7.1.1", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.2.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.0", + "domexception": "^2.0.1", + "escodegen": "^1.14.1", + "html-encoding-sniffer": "^2.0.1", + "is-potential-custom-element-name": "^1.0.0", + "nwsapi": "^2.2.0", + "parse5": "5.1.1", + "request": "^2.88.2", + "request-promise-native": "^1.0.8", + "saxes": "^5.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^3.0.1", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0", + "ws": "^7.2.3", "xml-name-validator": "^3.0.0" } }, @@ -4237,6 +18926,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": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -4244,31 +18939,20 @@ "dev": true }, "json-schema-ref-parser": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-1.4.1.tgz", - "integrity": "sha1-wMLkOL8HlnI7AkUbrovH3Qs3/tA=", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-7.1.4.tgz", + "integrity": "sha512-AD7bvav0vak1/63w3jH8F7eHId/4E4EPdMAEZhGxtjktteUv9dnNB/cJy6nVnMyoTPBJnLwFK6tiQPSTeleCtQ==", "dev": true, "requires": { "call-me-maybe": "^1.0.1", - "debug": "^2.2.0", - "es6-promise": "^3.0.2", - "js-yaml": "^3.4.6", - "ono": "^2.0.1" + "js-yaml": "^3.13.1", + "ono": "^6.0.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "ono": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ono/-/ono-6.0.1.tgz", + "integrity": "sha512-5rdYW/106kHqLeG22GE2MHKq+FlsxMERZev9DCzQX1zwkxnFwBivSn5i17a5O/rDmOJOdf4Wyt80UZljzx9+DA==", "dev": true } } @@ -4291,39 +18975,15 @@ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true }, - "json-to-ast": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz", - "integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==", - "dev": true, - "requires": { - "code-error-fragment": "0.0.230", - "grapheme-splitter": "^1.0.4" - } - }, "json5": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz", - "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "dev": true, "requires": { - "minimist": "^1.2.0" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } + "minimist": "^1.2.5" } }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", - "dev": true - }, "jsonschema": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.4.tgz", @@ -4349,31 +19009,31 @@ } }, "jsx-ast-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz", - "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz", + "integrity": "sha512-EIsmt3O3ljsU6sot/J4E1zDRxfBNrhjyf/OKjlydwgEimQuznlM4Wv7U+ueONJMyEn1WRE0K8dhi3dVAXYT24Q==", "dev": true, "requires": { - "array-includes": "^3.0.3" + "array-includes": "^3.1.2", + "object.assign": "^4.1.2" } }, "jszip": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.1.5.tgz", - "integrity": "sha512-5W8NUaFRFRqTOL7ZDDrx5qWHJyBXy6velVudIzQUSoqAAYqzSh2Z7/m0Rf1QbmQJccegD0r+YZxBjzqoBiEeJQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.6.0.tgz", + "integrity": "sha512-jgnQoG9LKnWO3mnVNBnfhkh0QknICd1FGSrXcgrl67zioyJ4wgx25o9ZqwNtrROSflGBCGYnJfjrIyRIby1OoQ==", "dev": true, "requires": { - "core-js": "~2.3.0", - "es6-promise": "~3.0.2", - "lie": "~3.1.0", + "lie": "~3.3.0", "pako": "~1.0.2", - "readable-stream": "~2.0.6" + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" } }, "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, "kleur": { @@ -4391,21 +19051,6 @@ "package-json": "^4.0.0" } }, - "lcid": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", - "dev": true, - "requires": { - "invert-kv": "^2.0.0" - } - }, - "left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==", - "dev": true - }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -4423,14 +19068,20 @@ } }, "lie": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", - "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", "dev": true, "requires": { "immediate": "~3.0.5" } }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, "load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", @@ -4454,9 +19105,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" }, "lodash.get": { "version": "4.4.2", @@ -4470,6 +19121,12 @@ "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=", "dev": true }, + "lodash.set": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", + "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -4527,15 +19184,6 @@ "tmpl": "1.0.x" } }, - "map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "requires": { - "p-defer": "^1.0.0" - } - }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -4551,25 +19199,6 @@ "object-visit": "^1.0.0" } }, - "mem": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", - "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", - "dev": true, - "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - }, - "dependencies": { - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - } - } - }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -4598,24 +19227,24 @@ } }, "mime-db": { - "version": "1.42.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz", - "integrity": "sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", + "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==", "dev": true }, "mime-types": { - "version": "2.1.25", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz", - "integrity": "sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==", + "version": "2.1.29", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz", + "integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==", "dev": true, "requires": { - "mime-db": "1.42.0" + "mime-db": "1.46.0" } }, "mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true }, "minimatch": { @@ -4628,9 +19257,9 @@ } }, "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "mixin-deep": { @@ -4655,24 +19284,18 @@ } }, "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { - "minimist": "0.0.8" + "minimist": "^1.2.5" } }, "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "mute-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, "nan": { @@ -4707,27 +19330,40 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", - "dev": true - }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, - "node-fetch-h2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", - "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", + "nock": { + "version": "13.0.7", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.0.7.tgz", + "integrity": "sha512-WBz73VYIjdbO6BwmXODRQLtn7B5tldA9pNpWJe5QTtTEscQlY5KXU4srnGzBOK2fWakkXj69gfTnXGzmrsaRWw==", "dev": true, "requires": { - "http2-client": "^1.2.5" + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "lodash.set": "^4.3.2", + "propagate": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + } } }, + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + }, "node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -4741,32 +19377,56 @@ "dev": true }, "node-notifier": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz", - "integrity": "sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.1.tgz", + "integrity": "sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA==", "dev": true, + "optional": true, "requires": { "growly": "^1.3.0", - "is-wsl": "^1.1.0", - "semver": "^5.5.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", "shellwords": "^0.1.1", - "which": "^1.3.0" - } - }, - "node-readfiles": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", - "integrity": "sha1-271K8SE04uY1wkXvk//Pb2BnOl0=", - "dev": true, - "requires": { - "es6-promise": "^3.2.1" + "uuid": "^8.3.0", + "which": "^2.0.2" }, "dependencies": { - "es6-promise": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=", - "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, + "optional": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "dev": true, + "optional": true, + "requires": { + "lru-cache": "^6.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, + "optional": true, + "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, + "optional": true } } }, @@ -4806,233 +19466,33 @@ "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - }, - "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 - }, - "nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", - "dev": true - }, - "oas-kit-common": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.7.tgz", - "integrity": "sha512-8+P8gBjN9bGfa5HPgyefO78o394PUwHoQjuD4hM0Bpl56BkcxoyW4MpWMPM6ATm+yIIz4qT1igmuVukUtjP/pQ==", - "dev": true, - "requires": { - "safe-json-stringify": "^1.2.0" - } - }, - "oas-linter": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.0.1.tgz", - "integrity": "sha512-vk8Pzqq8iZM8V0/8NJMHAbf4CMyAUnLTJPNKwCkFl6g2W7omomL3yPpseNqihwU7KgqwYDTjxJ31qavmYbeDbg==", - "dev": true, - "requires": { - "should": "^13.2.1", - "yaml": "^1.3.1" - } - }, - "oas-resolver": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.2.5.tgz", - "integrity": "sha512-AwARII3hmdXtDAGccvjVsRLked0PNJycIG/koD6lYoGspJjxnQ3a8AmDgp7kHYnG148zusfsl8GM0cfwGmd7EA==", - "dev": true, - "requires": { - "node-fetch-h2": "^2.3.0", - "oas-kit-common": "^1.0.7", - "reftools": "^1.0.8", - "yaml": "^1.3.1", - "yargs": "^12.0.5" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", - "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - } - }, - "get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", - "dev": true - }, - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "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": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dev": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } - } - }, - "yargs": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz", - "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==", - "dev": true, - "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.2.0", - "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^11.1.1" - } - }, - "yargs-parser": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz", - "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } + "validate-npm-package-license": "^3.0.1" } }, - "oas-schema-walker": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.2.tgz", - "integrity": "sha512-Q9xqeUtc17ccP/dpUfARci4kwFFszyJAgR/wbDhrRR/73GqsY5uSmKaIK+RmBqO8J4jVYrrDPjQKvt1IcpQdGw==", - "dev": true + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } }, - "oas-validator": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-3.3.0.tgz", - "integrity": "sha512-/NK6X+jQd/hHmA4IpczgIHA/dj0QF9lQfTzFcoxZXbPWUOVx/NCRSrcQWNlTpnpawbuCIZ2yGwlXi218+JcMXQ==", + "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": { - "ajv": "^5.5.2", - "better-ajv-errors": "^0.5.2", - "call-me-maybe": "^1.0.1", - "oas-kit-common": "^1.0.7", - "oas-linter": "^3.0.1", - "oas-resolver": "^2.2.4", - "oas-schema-walker": "^1.1.2", - "reftools": "^1.0.7", - "should": "^13.2.1", - "yaml": "^1.3.1" - }, - "dependencies": { - "ajv": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", - "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", - "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" - } - }, - "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", - "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", - "dev": true - } + "path-key": "^2.0.0" } }, + "nwsapi": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", + "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", + "dev": true + }, "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", @@ -5077,15 +19537,15 @@ } }, "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==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", "dev": true }, "object-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.0.tgz", - "integrity": "sha512-6OO5X1+2tYkNyNEx6TsCxEqFfRWaqx6EtMiSbGrw8Ob8v9Ne+Hl8rBAgLBZn5wjEz3s/s6U1WXFUFOcxxAwUpg==", + "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-visit": { @@ -5098,93 +19558,39 @@ } }, "object.assign": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "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": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" } }, "object.entries": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz", - "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz", + "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==", "dev": true, "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "es-abstract": "^1.12.0", - "function-bind": "^1.1.1", + "es-abstract": "^1.18.0-next.1", "has": "^1.0.3" } }, "object.fromentries": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.0.tgz", - "integrity": "sha512-9iLiI6H083uiqUuvzyY6qrlmc/Gz8hLQFOcb/Ri/0xXFkSNS3ctV+CbE6yM2+AnkYfOB3dGjdzC0wrMLIhQICA==", - "dev": true, - "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.11.0", - "function-bind": "^1.1.1", - "has": "^1.0.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", - "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.3.tgz", + "integrity": "sha512-IDUSMXs6LOSJBWE++L0lzIbSqHl9KDCfff2x/JSEIDtEUavUnyMYC2ZGay/04Zq4UT8lvd4xNhU4/YHKibAOlw==", "dev": true, "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - }, - "dependencies": { - "es-abstract": { - "version": "1.17.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0-next.1.tgz", - "integrity": "sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==", - "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.4", - "is-regex": "^1.0.4", - "object-inspect": "^1.7.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.0", - "string.prototype.trimright": "^2.1.0" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "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 - } + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" } }, "object.pick": { @@ -5196,28 +19602,39 @@ "isobject": "^3.0.1" } }, + "object.values": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz", + "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + } + }, "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": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "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": "^1.0.0" + "mimic-fn": "^2.1.0" } }, "ono": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/ono/-/ono-2.2.5.tgz", - "integrity": "sha1-2vCUiLURdNp6fkJ136sxtDj/oOM=", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ono/-/ono-5.1.0.tgz", + "integrity": "sha512-GgqRIUWErLX4l9Up0khRtbrlH8Fyj59A0nKv8V6pWEto38aUgnOGOOF7UmgFFLzFnDSc8REzaTXOc0hqEe7yIw==", "dev": true }, "openapi-schema-validation": { @@ -5231,69 +19648,37 @@ "swagger-schema-official": "2.0.0-bab6bed" } }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dev": true, - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - }, - "dependencies": { - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - } - } + "openapi-schemas": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/openapi-schemas/-/openapi-schemas-1.0.3.tgz", + "integrity": "sha512-KtMWcK2VtOS+nD8RKSIyScJsj8JrmVWcIX7Kjx4xEHijFYuvMTDON8WfeKOgeSb4uNG6UsqLj5Na7nKbSav9RQ==", + "dev": true + }, + "openapi-types": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-1.3.5.tgz", + "integrity": "sha512-11oi4zYorsgvg5yBarZplAqbpev5HkuVNPlZaPTknPDzAynq+lnJdXAmruGWP0s+dNYZS7bjM+xrTpJw7184Fg==", + "dev": true }, "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "requires": { "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", + "fast-levenshtein": "~2.0.6", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", - "wordwrap": "~1.0.0" - } - }, - "os-locale": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", - "dev": true, - "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" + "word-wrap": "~1.2.3" } }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true - }, "p-each-series": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", - "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=", - "dev": true, - "requires": { - "p-reduce": "^1.0.0" - } + "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-finally": { "version": "1.0.0", @@ -5301,16 +19686,10 @@ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, - "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 - }, "p-limit": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.1.0.tgz", - "integrity": "sha512-NhURkNcrVB+8hNfLuysU8enY5xn2KXphsHBaC2YmRNTZRc7RWusw6apSpdEj3jo4CMb6W9nrF6tTnsJsJeyu6g==", + "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" @@ -5325,12 +19704,6 @@ "p-limit": "^2.0.0" } }, - "p-reduce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz", - "integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=", - "dev": true - }, "p-try": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", @@ -5392,15 +19765,15 @@ } }, "pako": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", - "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "dev": true }, "parent-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.0.tgz", - "integrity": "sha512-8Mf5juOMmiE4FcmzYc4IaiS9L3+9paz2KOiXzkRviCP6aDmN49Hz6EMWz0lGNp9pX80GvvAuLADtyGfW/Em3TA==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "requires": { "callsites": "^3.0.0" @@ -5416,9 +19789,9 @@ } }, "parse5": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", - "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", "dev": true }, "pascalcase": { @@ -5484,6 +19857,12 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, + "picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -5499,6 +19878,53 @@ "node-modules-regexp": "^1.0.0" } }, + "pkg-conf": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz", + "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==", + "dev": true, + "requires": { + "find-up": "^3.0.0", + "load-json-file": "^5.2.0" + }, + "dependencies": { + "load-json-file": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", + "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.15", + "parse-json": "^4.0.0", + "pify": "^4.0.1", + "strip-bom": "^3.0.0", + "type-fest": "^0.3.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, + "type-fest": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", + "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "dev": true + } + } + }, "pkg-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", @@ -5553,12 +19979,6 @@ } } }, - "pn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", - "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==", - "dev": true - }, "posix-character-classes": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", @@ -5571,43 +19991,52 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, - "prettier": { - "version": "1.16.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.16.4.tgz", - "integrity": "sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==", - "dev": true - }, - "prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dev": true, - "requires": { - "fast-diff": "^1.1.2" - } - }, "pretty-format": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", - "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "ansi-regex": "^4.0.0", - "ansi-styles": "^3.2.0", - "react-is": "^16.8.4" + "@jest/types": "^26.6.2", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^17.0.1" }, "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==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "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 }, "react-is": { - "version": "16.12.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz", - "integrity": "sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.1.tgz", + "integrity": "sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==", "dev": true } } @@ -5625,13 +20054,13 @@ "dev": true }, "prompts": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.0.tgz", - "integrity": "sha512-NfbbPPg/74fT7wk2XYQ7hAIp9zJyZp5Fu19iRbORqqy1BhtrkZ0fPafBU+7bmn8ie69DpT0R6QpJIN2oisYjJg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.0.tgz", + "integrity": "sha512-awZAKrk3vN6CroQukBL+R9051a4R3zCZBlJm/HBfrSZ8iTpYix3VX1vU4mveiLpiwmOJT4wokTF9m6HUk4KqWQ==", "dev": true, "requires": { "kleur": "^3.0.3", - "sisteransi": "^1.0.3" + "sisteransi": "^1.0.5" } }, "prop-types": { @@ -5645,6 +20074,12 @@ "react-is": "^16.8.1" } }, + "propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", + "dev": true + }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", @@ -5652,9 +20087,9 @@ "dev": true }, "psl": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.6.0.tgz", - "integrity": "sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", "dev": true }, "pstree.remy": { @@ -5701,20 +20136,12 @@ "ini": "~1.3.0", "minimist": "^1.2.0", "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } } }, "react-is": { - "version": "16.8.3", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.3.tgz", - "integrity": "sha512-Y4rC1ZJmsxxkkPuMLwvKvlL1Zfpbcu+Bf4ZigkHup3v9EfdYhAlWAaVyA19olXq2o2mGn0w+dFKvk3pVVlYcIA==", + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "dev": true }, "read-pkg": { @@ -5784,25 +20211,18 @@ } }, "readable-stream": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", - "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, "requires": { "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "inherits": "~2.0.3", "isarray": "~1.0.0", - "process-nextick-args": "~1.0.6", - "string_decoder": "~0.10.x", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" - }, - "dependencies": { - "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", - "dev": true - } } }, "readdirp": { @@ -5814,49 +20234,8 @@ "graceful-fs": "^4.1.11", "micromatch": "^3.1.10", "readable-stream": "^2.0.2" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "realpath-native": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz", - "integrity": "sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==", - "dev": true, - "requires": { - "util.promisify": "^1.0.0" } }, - "reftools": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.0.8.tgz", - "integrity": "sha512-hERpM8J+L0q8dzKFh/QqcLlKZYmTgzGZM7m8b1ptS66eg4NA/iMPm7GNw3TKZ876ndVjGpiLt0BCIfAWsUgwGg==", - "dev": true - }, "regenerator-runtime": { "version": "0.13.3", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", @@ -5873,10 +20252,20 @@ "safe-regex": "^1.1.0" } }, + "regexp.prototype.flags": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", + "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, "regexpp": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", "dev": true }, "registry-auth-token": { @@ -5917,9 +20306,9 @@ "dev": true }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "dev": true, "requires": { "aws-sign2": "~0.7.0", @@ -5929,7 +20318,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -5939,47 +20328,59 @@ "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", + "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" }, "dependencies": { - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", "dev": true, "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" + "psl": "^1.1.28", + "punycode": "^2.1.1" } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true } } }, "request-promise-core": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz", - "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", + "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", "dev": true, "requires": { - "lodash": "^4.17.15" + "lodash": "^4.17.19" } }, "request-promise-native": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz", - "integrity": "sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", + "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", "dev": true, "requires": { - "request-promise-core": "1.1.3", + "request-promise-core": "1.1.4", "stealthy-require": "^1.1.1", "tough-cookie": "^2.3.3" + }, + "dependencies": { + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + } } }, "require-directory": { @@ -5995,27 +20396,28 @@ "dev": true }, "resolve": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", - "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", "dev": true, "requires": { + "is-core-module": "^2.2.0", "path-parse": "^1.0.6" } }, "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "requires": { - "resolve-from": "^3.0.0" + "resolve-from": "^5.0.0" }, "dependencies": { "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true } } @@ -6032,16 +20434,6 @@ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", "dev": true }, - "restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", - "dev": true, - "requires": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - } - }, "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", @@ -6063,36 +20455,12 @@ "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", "dev": true }, - "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "dev": true, - "requires": { - "is-promise": "^2.1.0" - } - }, - "rxjs": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz", - "integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, - "safe-json-stringify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz", - "integrity": "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==", - "dev": true - }, "safe-regex": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", @@ -6125,11 +20493,42 @@ "walker": "~1.0.5" }, "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true + "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" + } + }, + "execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "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" + } + }, + "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" + } } } }, @@ -6139,6 +20538,33 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true }, + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "requires": { + "xmlchars": "^2.2.0" + } + }, + "semistandard": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/semistandard/-/semistandard-16.0.0.tgz", + "integrity": "sha512-pLETGjFyl0ETMDAEZxkC1OJBmNmPIMpMkayStGTgHMMh/5FM7Rbk5NWc1t7yfQ4PrRURQH8MUg3ZxvojJJifcw==", + "dev": true, + "requires": { + "eslint": "~7.12.1", + "eslint-config-semistandard": "15.0.1", + "eslint-config-standard": "16.0.0", + "eslint-config-standard-jsx": "10.0.0", + "eslint-plugin-import": "~2.22.1", + "eslint-plugin-node": "~11.1.0", + "eslint-plugin-promise": "~4.2.1", + "eslint-plugin-react": "~7.21.5", + "eslint-plugin-standard": "~4.0.2", + "standard-engine": "^14.0.0" + } + }, "semver": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", @@ -6160,6 +20586,12 @@ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", + "dev": true + }, "set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", @@ -6208,62 +20640,20 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", - "dev": true - }, - "should": { - "version": "13.2.3", - "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", - "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", - "dev": true, - "requires": { - "should-equal": "^2.0.0", - "should-format": "^3.0.3", - "should-type": "^1.4.0", - "should-type-adaptors": "^1.0.1", - "should-util": "^1.0.0" - } - }, - "should-equal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", - "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", - "dev": true, - "requires": { - "should-type": "^1.4.0" - } - }, - "should-format": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", - "integrity": "sha1-m/yPdPo5IFxT04w01xcwPidxJPE=", "dev": true, - "requires": { - "should-type": "^1.3.0", - "should-type-adaptors": "^1.0.1" - } - }, - "should-type": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", - "integrity": "sha1-B1bYzoRt/QmEOmlHcZ36DUz/XPM=", - "dev": true + "optional": true }, - "should-type-adaptors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", - "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", "dev": true, "requires": { - "should-type": "^1.3.0", - "should-util": "^1.0.0" + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" } }, - "should-util": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", - "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", - "dev": true - }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -6271,15 +20661,15 @@ "dev": true }, "sisteransi": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz", - "integrity": "sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "dev": true }, "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, "slice-ansi": { @@ -6441,9 +20831,9 @@ } }, "source-map-support": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", - "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -6521,10 +20911,41 @@ } }, "stack-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz", - "integrity": "sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA==", - "dev": true + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw==", + "dev": true, + "requires": { + "escape-string-regexp": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + } + } + }, + "standard-engine": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-14.0.1.tgz", + "integrity": "sha512-7FEzDwmHDOGva7r9ifOzD3BGdTbA7ujJ50afLVdW/tK14zQEptJjbFuUfn50irqdHDcTbNh0DTIoMPynMCXb0Q==", + "dev": true, + "requires": { + "get-stdin": "^8.0.0", + "minimist": "^1.2.5", + "pkg-conf": "^3.1.0", + "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "dev": true + } + } }, "static-extend": { "version": "0.1.2", @@ -6553,14 +20974,40 @@ "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", "dev": true }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-length": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", - "integrity": "sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", + "integrity": "sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==", "dev": true, "requires": { - "astral-regex": "^1.0.0", - "strip-ansi": "^4.0.0" + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "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" + } + } } }, "string-width": { @@ -6591,31 +21038,40 @@ } } }, - "string.prototype.trimleft": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz", - "integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==", + "string.prototype.matchall": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.3.tgz", + "integrity": "sha512-OBxYDA2ifZQ2e13cP82dWFMaCV9CGF8GzmN4fljBVw5O5wep0lu4gacm1OL6MjROoUnB8VbkWRThqkV2YFLNxw==", "dev": true, "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "es-abstract": "^1.18.0-next.1", + "has-symbols": "^1.0.1", + "internal-slot": "^1.0.2", + "regexp.prototype.flags": "^1.3.0", + "side-channel": "^1.0.3" } }, - "string.prototype.trimright": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz", - "integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==", + "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_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true + "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": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } }, "strip-ansi": { "version": "4.0.0", @@ -6638,6 +21094,12 @@ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, "strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -6653,207 +21115,82 @@ "has-flag": "^3.0.0" } }, - "swagger-methods": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/swagger-methods/-/swagger-methods-1.0.8.tgz", - "integrity": "sha512-G6baCwuHA+C5jf4FNOrosE4XlmGsdjbOjdBK4yuiDDj/ro9uR4Srj3OR84oQMT8F3qKp00tYNv0YN730oTHPZA==", - "dev": true - }, - "swagger-parser": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-6.0.5.tgz", - "integrity": "sha512-UL47eu4+GRm5y+N7J+W6QQiqAJn2lojyqgMwS0EZgA55dXd5xmpQCsjUmH/Rf0eKDiG1kULc9VS515PxAyTDVw==", - "dev": true, - "requires": { - "call-me-maybe": "^1.0.1", - "json-schema-ref-parser": "^6.0.3", - "ono": "^4.0.11", - "openapi-schema-validation": "^0.4.2", - "swagger-methods": "^1.0.8", - "swagger-schema-official": "2.0.0-bab6bed", - "z-schema": "^3.24.2" - }, - "dependencies": { - "json-schema-ref-parser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-6.1.0.tgz", - "integrity": "sha512-pXe9H1m6IgIpXmE5JSb8epilNTGsmTb2iPohAXpOdhqGFbQjNeHHsZxU+C8w6T81GZxSPFLeUoqDJmzxx5IGuw==", - "dev": true, - "requires": { - "call-me-maybe": "^1.0.1", - "js-yaml": "^3.12.1", - "ono": "^4.0.11" - } - }, - "ono": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/ono/-/ono-4.0.11.tgz", - "integrity": "sha512-jQ31cORBFE6td25deYeD80wxKBMj+zBmHTrVxnc6CKhx8gho6ipmWM5zj/oeoqioZ99yqBls9Z/9Nss7J26G2g==", - "dev": true, - "requires": { - "format-util": "^1.0.3" - } - } - } - }, - "swagger-schema-official": { - "version": "2.0.0-bab6bed", - "resolved": "https://registry.npmjs.org/swagger-schema-official/-/swagger-schema-official-2.0.0-bab6bed.tgz", - "integrity": "sha1-cAcEaNbSl3ylI3suUZyn0Gouo/0=", - "dev": true - }, - "swagger2openapi": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-5.3.0.tgz", - "integrity": "sha512-3rmO7uXotaV+r+IHfnzNMfAX1FA1WTu+RRXIHnuolk5R6CZOY91NYAhbEH3fDD0e/ywJROzB57cOV1yRCUxxmg==", + "supports-hyperlinks": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz", + "integrity": "sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==", "dev": true, "requires": { - "better-ajv-errors": "^0.6.1", - "call-me-maybe": "^1.0.1", - "node-fetch-h2": "^2.3.0", - "node-readfiles": "^0.2.0", - "oas-kit-common": "^1.0.7", - "oas-resolver": "^2.2.4", - "oas-schema-walker": "^1.1.2", - "oas-validator": "^3.3.0", - "reftools": "^1.0.7", - "yaml": "^1.3.1", - "yargs": "^12.0.5" + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "better-ajv-errors": { - "version": "0.6.7", - "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-0.6.7.tgz", - "integrity": "sha512-PYgt/sCzR4aGpyNy5+ViSQ77ognMnWq7745zM+/flYO4/Yisdtp9wDQW2IKCyVYPUxQt3E/b5GBSwfhd1LPdlg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/runtime": "^7.0.0", - "chalk": "^2.4.1", - "core-js": "^3.2.1", - "json-to-ast": "^2.0.3", - "jsonpointer": "^4.0.1", - "leven": "^3.1.0" - } - }, - "cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", - "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - } - }, - "core-js": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.5.0.tgz", - "integrity": "sha512-Ifh3kj78gzQ7NAoJXeTu+XwzDld0QRIwjBLRqAMhuLhP3d2Av5wmgE9ycfnvK6NAEjTkQ1sDPeoEZAWO3Hx1Uw==", - "dev": true - }, - "get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", - "dev": true - }, - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "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": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dev": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } - } + "dependencies": { + "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 }, - "yargs": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz", - "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==", + "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" + } + } + } + }, + "swagger-methods": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/swagger-methods/-/swagger-methods-1.0.8.tgz", + "integrity": "sha512-G6baCwuHA+C5jf4FNOrosE4XlmGsdjbOjdBK4yuiDDj/ro9uR4Srj3OR84oQMT8F3qKp00tYNv0YN730oTHPZA==", + "dev": true + }, + "swagger-parser": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/swagger-parser/-/swagger-parser-6.0.5.tgz", + "integrity": "sha512-UL47eu4+GRm5y+N7J+W6QQiqAJn2lojyqgMwS0EZgA55dXd5xmpQCsjUmH/Rf0eKDiG1kULc9VS515PxAyTDVw==", + "dev": true, + "requires": { + "call-me-maybe": "^1.0.1", + "json-schema-ref-parser": "^6.0.3", + "ono": "^4.0.11", + "openapi-schema-validation": "^0.4.2", + "swagger-methods": "^1.0.8", + "swagger-schema-official": "2.0.0-bab6bed", + "z-schema": "^3.24.2" + }, + "dependencies": { + "json-schema-ref-parser": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-6.1.0.tgz", + "integrity": "sha512-pXe9H1m6IgIpXmE5JSb8epilNTGsmTb2iPohAXpOdhqGFbQjNeHHsZxU+C8w6T81GZxSPFLeUoqDJmzxx5IGuw==", "dev": true, "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.2.0", - "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^11.1.1" + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.12.1", + "ono": "^4.0.11" } }, - "yargs-parser": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz", - "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==", + "ono": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/ono/-/ono-4.0.11.tgz", + "integrity": "sha512-jQ31cORBFE6td25deYeD80wxKBMj+zBmHTrVxnc6CKhx8gho6ipmWM5zj/oeoqioZ99yqBls9Z/9Nss7J26G2g==", "dev": true, "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "format-util": "^1.0.3" } } } }, + "swagger-schema-official": { + "version": "2.0.0-bab6bed", + "resolved": "https://registry.npmjs.org/swagger-schema-official/-/swagger-schema-official-2.0.0-bab6bed.tgz", + "integrity": "sha1-cAcEaNbSl3ylI3suUZyn0Gouo/0=", + "dev": true + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -6861,13 +21198,13 @@ "dev": true }, "table": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/table/-/table-5.2.3.tgz", - "integrity": "sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ==", + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", "dev": true, "requires": { - "ajv": "^6.9.1", - "lodash": "^4.17.11", + "ajv": "^6.10.2", + "lodash": "^4.17.14", "slice-ansi": "^2.1.0", "string-width": "^3.0.0" } @@ -6915,76 +21252,25 @@ } } }, + "terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + } + }, "test-exclude": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz", - "integrity": "sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "requires": { - "glob": "^7.1.3", - "minimatch": "^3.0.4", - "read-pkg-up": "^4.0.0", - "require-main-filename": "^2.0.0" - }, - "dependencies": { - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", - "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", - "dev": true, - "requires": { - "find-up": "^3.0.0", - "read-pkg": "^3.0.0" - } - } + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" } }, "text-table": { @@ -6994,15 +21280,9 @@ "dev": true }, "throat": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz", - "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=", - "dev": true - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", "dev": true }, "timed-out": { @@ -7011,15 +21291,6 @@ "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", "dev": true }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "requires": { - "os-tmpdir": "~1.0.2" - } - }, "tmpl": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", @@ -7084,29 +21355,47 @@ } }, "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", + "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", "dev": true, "requires": { + "ip-regex": "^2.1.0", "psl": "^1.1.28", "punycode": "^2.1.1" } }, "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", + "integrity": "sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==", "dev": true, "requires": { - "punycode": "^2.1.0" + "punycode": "^2.1.1" } }, - "tslib": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", - "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==", - "dev": true + "tsconfig-paths": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", + "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } + } }, "tunnel-agent": { "version": "0.6.0", @@ -7132,24 +21421,25 @@ "prelude-ls": "~1.1.2" } }, - "uglify-js": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.2.tgz", - "integrity": "sha512-uhRwZcANNWVLrxLfNFEdltoPNhECUR3lc+UdJoG9CBpMcSnKyWA94tc3eAujB1GcMY5Uwq8ZMp4qWpxWYDQmaA==", + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "dev": true, - "optional": true, "requires": { - "commander": "~2.20.3", - "source-map": "~0.6.1" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "optional": true - } + "is-typedarray": "^1.0.0" } }, "undefsafe": { @@ -7199,6 +21489,11 @@ "crypto-random-string": "^1.0.0" } }, + "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==" + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", @@ -7313,22 +21608,38 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "util.promisify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, - "requires": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" - } + "optional": true }, - "uuid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", - "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==", + "v8-compile-cache": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz", + "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==", "dev": true }, + "v8-to-istanbul": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.0.tgz", + "integrity": "sha512-uXUVqNUCLa0AH1vuVxzi+MI4RfxEOKt9pBgKwHbgH7st8Kv2P1m+jvWNnektzBh5QShF3ODgKmUFCf38LnVz1g==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -7357,12 +21668,21 @@ } }, "w3c-hr-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz", - "integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "dev": true, + "requires": { + "browser-process-hrtime": "^1.0.0" + } + }, + "w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", "dev": true, "requires": { - "browser-process-hrtime": "^0.1.2" + "xml-name-validator": "^3.0.0" } }, "walker": { @@ -7375,9 +21695,9 @@ } }, "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", "dev": true }, "whatwg-encoding": { @@ -7396,14 +21716,14 @@ "dev": true }, "whatwg-url": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz", - "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", + "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", "dev": true, "requires": { "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" + "tr46": "^2.0.2", + "webidl-conversions": "^6.1.0" } }, "which": { @@ -7442,36 +21762,83 @@ } } }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, "wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "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": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.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==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "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 + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.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==", + "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": "^4.1.0" + "ansi-regex": "^5.0.0" } } } @@ -7479,8 +21846,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write": { "version": "1.0.3", @@ -7503,13 +21869,11 @@ } }, "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.3.tgz", + "integrity": "sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA==", "dev": true, - "requires": { - "async-limiter": "~1.0.0" - } + "requires": {} }, "xdg-basedir": { "version": "3.0.0", @@ -7524,19 +21888,25 @@ "dev": true }, "xml2js": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", - "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", + "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", "dev": true, "requires": { "sax": ">=0.6.0", - "xmlbuilder": "~9.0.1" + "xmlbuilder": "~11.0.0" } }, "xmlbuilder": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", - "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true + }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", "dev": true }, "xmldom": { @@ -7546,9 +21916,9 @@ "dev": true }, "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", "dev": true }, "yallist": { @@ -7567,27 +21937,102 @@ } }, "yargs": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz", - "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==", + "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": "^5.0.0", - "find-up": "^3.0.0", + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", "require-main-filename": "^2.0.0", "set-blocking": "^2.0.0", - "string-width": "^3.0.0", + "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", - "yargs-parser": "^13.1.1" + "yargs-parser": "^18.1.2" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "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" + } + } } }, "yargs-parser": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", - "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==", + "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", diff --git a/package.json b/package.json index ea705bc..f7823bd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "node ./index.js", "test": "jest --coverage", - "lint": "eslint index.js lib/**.js" + "lint": "semistandard index.js lib/**.js" }, "bin": { "github-rest-apis-for-insomnia": "./index.js" @@ -26,20 +26,14 @@ }, "homepage": "https://github.com/swinton/github-rest-apis-for-insomnia#readme", "dependencies": { - "@octokit/routes": "26.18.0", + "@octokit/rest": "^18.1.1", "lodash": "^4.17.15" }, "devDependencies": { - "eslint": "^5.14.1", - "eslint-config-airbnb": "^17.1.0", - "eslint-config-prettier": "^4.0.0", - "eslint-plugin-import": "^2.16.0", - "eslint-plugin-jsx-a11y": "^6.2.1", - "eslint-plugin-prettier": "^3.0.1", - "eslint-plugin-react": "^7.12.4", "insomnia-importers": "^2.1.1", - "jest": "^24.9.0", + "jest": "^26.6.3", + "nock": "^13.0.7", "nodemon": "^1.18.10", - "prettier": "^1.16.4" + "semistandard": "^16.0.0" } } diff --git a/routes/api.github.com.json b/routes/api.github.com.json index 7d9fec5..362e137 100644 --- a/routes/api.github.com.json +++ b/routes/api.github.com.json @@ -1,20 +1,22 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.636Z", + "__export_date": "2021-02-18T02:52:38.312Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_1__", + "_id": "__FLD_146__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { "github_api_root": "https://api.github.com", "access_token": "", "account_id": 0, + "alert_number": 0, "app_slug": "", "archive_format": "", + "artifact_id": 0, "asset_id": 0, "assignee": "", "author_id": 0, @@ -35,8 +37,7 @@ "credential_id": 0, "deployment_id": 0, "discussion_number": 0, - "download_id": 0, - "email": "", + "enterprise": "", "event_id": 0, "file_sha": "", "fingerprint": "", @@ -48,14 +49,15 @@ "installation_id": 0, "invitation_id": 0, "issue_number": 0, + "job_id": 0, "key": "", "key_id": 0, - "keyword": "", "license": "", "migration_id": 0, "milestone_number": 0, "name": "", "org": "", + "org_id": 0, "owner": "", "path": "", "plan_id": 0, @@ -66,12 +68,15 @@ "release_id": 0, "repo": "", "repo_name": "", - "repository": "", "repository_id": 0, "review_id": 0, - "scim_user_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "scim_group_id": "", + "scim_user_id": "", + "secret_name": "", "sha": "", - "state": "", "status_id": 0, "tag": "", "tag_sha": "", @@ -82,171 +87,219 @@ "template_repo": "", "thread_id": 0, "tree_sha": "", - "username": "" + "username": "", + "workflow_id": "workflow_id" } }, { - "parentId": "__FLD_1__", - "_id": "__FLD_2__", + "parentId": "__FLD_146__", + "_id": "__FLD_147__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_148__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_3__", + "parentId": "__FLD_146__", + "_id": "__FLD_149__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_4__", + "parentId": "__FLD_146__", + "_id": "__FLD_150__", + "_type": "request_group", + "name": "audit-log" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_151__", + "_type": "request_group", + "name": "billing" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_152__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_5__", + "parentId": "__FLD_146__", + "_id": "__FLD_153__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_154__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_6__", + "parentId": "__FLD_146__", + "_id": "__FLD_155__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_7__", + "parentId": "__FLD_146__", + "_id": "__FLD_156__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_157__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_8__", + "parentId": "__FLD_146__", + "_id": "__FLD_158__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_9__", + "parentId": "__FLD_146__", + "_id": "__FLD_159__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_10__", + "parentId": "__FLD_146__", + "_id": "__FLD_160__", "_type": "request_group", "name": "interactions" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_11__", + "parentId": "__FLD_146__", + "_id": "__FLD_161__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_12__", + "parentId": "__FLD_146__", + "_id": "__FLD_162__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_13__", + "parentId": "__FLD_146__", + "_id": "__FLD_163__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_14__", + "parentId": "__FLD_146__", + "_id": "__FLD_164__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_15__", + "parentId": "__FLD_146__", + "_id": "__FLD_165__", "_type": "request_group", "name": "migrations" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_16__", + "parentId": "__FLD_146__", + "_id": "__FLD_166__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_17__", + "parentId": "__FLD_146__", + "_id": "__FLD_167__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_18__", + "parentId": "__FLD_146__", + "_id": "__FLD_168__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_19__", + "parentId": "__FLD_146__", + "_id": "__FLD_169__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_20__", + "parentId": "__FLD_146__", + "_id": "__FLD_170__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_21__", + "parentId": "__FLD_146__", + "_id": "__FLD_171__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_22__", + "parentId": "__FLD_146__", + "_id": "__FLD_172__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_23__", + "parentId": "__FLD_146__", + "_id": "__FLD_173__", "_type": "request_group", "name": "scim" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_24__", + "parentId": "__FLD_146__", + "_id": "__FLD_174__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_25__", + "parentId": "__FLD_146__", + "_id": "__FLD_175__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_146__", + "_id": "__FLD_176__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_26__", + "parentId": "__FLD_146__", + "_id": "__FLD_177__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_3__", - "_id": "__REQ_1__", + "parentId": "__FLD_164__", + "_id": "__REQ_3254__", "_type": "request", - "name": "Get the authenticated GitHub App", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-the-authenticated-github-app", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3255__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -257,17 +310,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_2__", + "parentId": "__FLD_149__", + "_id": "__REQ_3256__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.fury-preview+json" - } - ], + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -278,17 +326,44 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_3__", + "parentId": "__FLD_149__", + "_id": "__REQ_3257__", "_type": "request", - "name": "List installations", - "description": "You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/v3/apps/#list-installations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3258__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3259__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/v3/apps/#list-installations-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -306,21 +381,24 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false } ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_4__", + "parentId": "__FLD_149__", + "_id": "__REQ_3260__", "_type": "request", - "name": "Get an installation", - "description": "You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -331,17 +409,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_5__", + "parentId": "__FLD_149__", + "_id": "__REQ_3261__", "_type": "request", - "name": "Delete an installation", - "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#delete-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" - } - ], + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -352,17 +425,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_6__", + "parentId": "__FLD_149__", + "_id": "__REQ_3262__", "_type": "request", - "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/v3/apps/#create-a-new-installation-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -373,11 +441,43 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_7__", + "parentId": "__FLD_149__", + "_id": "__REQ_3263__", + "_type": "request", + "name": "Suspend an app installation", + "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nSuspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3264__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nRemoves a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3265__", "_type": "request", "name": "List your grants", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-grants", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-grants", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -400,11 +500,11 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_8__", + "parentId": "__FLD_166__", + "_id": "__REQ_3266__", "_type": "request", "name": "Get a single grant", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -416,11 +516,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_9__", + "parentId": "__FLD_166__", + "_id": "__REQ_3267__", "_type": "request", "name": "Delete a grant", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-a-grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -432,17 +532,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_10__", + "parentId": "__FLD_149__", + "_id": "__REQ_3268__", "_type": "request", "name": "Delete an app authorization", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-authorization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -453,11 +548,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_11__", + "parentId": "__FLD_149__", + "_id": "__REQ_3269__", "_type": "request", "name": "Revoke a grant for an application", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", + "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -469,17 +564,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_12__", + "parentId": "__FLD_149__", + "_id": "__REQ_3270__", "_type": "request", "name": "Check a token", - "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#check-a-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-a-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -490,17 +580,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_13__", + "parentId": "__FLD_149__", + "_id": "__REQ_3271__", "_type": "request", "name": "Reset a token", - "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#reset-a-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-a-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -511,17 +596,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_14__", + "parentId": "__FLD_149__", + "_id": "__REQ_3272__", "_type": "request", "name": "Delete an app token", - "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -532,11 +612,27 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_15__", + "parentId": "__FLD_149__", + "_id": "__REQ_3273__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3274__", "_type": "request", "name": "Check an authorization", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -548,11 +644,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_16__", + "parentId": "__FLD_149__", + "_id": "__REQ_3275__", "_type": "request", "name": "Reset an authorization", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -564,11 +660,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_17__", + "parentId": "__FLD_149__", + "_id": "__REQ_3276__", "_type": "request", "name": "Revoke an authorization for an application", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", + "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -580,17 +676,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_18__", + "parentId": "__FLD_149__", + "_id": "__REQ_3277__", "_type": "request", - "name": "Get a single GitHub App", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-a-single-github-app", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -601,11 +692,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_19__", + "parentId": "__FLD_166__", + "_id": "__REQ_3278__", "_type": "request", "name": "List your authorizations", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -628,11 +719,11 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_20__", + "parentId": "__FLD_166__", + "_id": "__REQ_3279__", "_type": "request", "name": "Create a new authorization", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be whitelisted. Read more about whitelisting tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -644,11 +735,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_21__", + "parentId": "__FLD_166__", + "_id": "__REQ_3280__", "_type": "request", "name": "Get-or-create an authorization for a specific app", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\n**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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -660,11 +751,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_22__", + "parentId": "__FLD_166__", + "_id": "__REQ_3281__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -676,11 +767,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_23__", + "parentId": "__FLD_166__", + "_id": "__REQ_3282__", "_type": "request", "name": "Get a single authorization", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -692,11 +783,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_24__", + "parentId": "__FLD_166__", + "_id": "__REQ_3283__", "_type": "request", "name": "Update an existing authorization", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -708,11 +799,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_25__", + "parentId": "__FLD_166__", + "_id": "__REQ_3284__", "_type": "request", "name": "Delete an authorization", - "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). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -724,11 +815,11 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_26__", + "parentId": "__FLD_154__", + "_id": "__REQ_3285__", "_type": "request", - "name": "List all codes of conduct", - "description": "\n\nhttps://developer.github.com/v3/codes_of_conduct/#list-all-codes-of-conduct", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct", "headers": [ { "name": "Accept", @@ -745,11 +836,11 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_27__", + "parentId": "__FLD_154__", + "_id": "__REQ_3286__", "_type": "request", - "name": "Get an individual code of conduct", - "description": "\n\nhttps://developer.github.com/v3/codes_of_conduct/#get-an-individual-code-of-conduct", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-a-code-of-conduct", "headers": [ { "name": "Accept", @@ -766,11 +857,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_28__", + "parentId": "__FLD_149__", + "_id": "__REQ_3287__", "_type": "request", "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/v3/apps/installations/#create-a-content-attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#create-a-content-attachment", "headers": [ { "name": "Accept", @@ -787,11 +878,11 @@ "parameters": [] }, { - "parentId": "__FLD_6__", - "_id": "__REQ_29__", + "parentId": "__FLD_155__", + "_id": "__REQ_3288__", "_type": "request", - "name": "Get", - "description": "Lists all the emojis available to use on GitHub.\n\n\n\nhttps://developer.github.com/v3/emojis/#emojis", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub.\n\nhttps://docs.github.com/v3/emojis/#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -803,67 +894,52 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_30__", + "parentId": "__FLD_156__", + "_id": "__REQ_3289__", "_type": "request", - "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/v3/activity/events/#list-public-events", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/events", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_31__", + "parentId": "__FLD_156__", + "_id": "__REQ_3290__", "_type": "request", - "name": "List feeds", - "description": "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/v3/activity/feeds/#list-feeds", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/feeds", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_32__", + "parentId": "__FLD_156__", + "_id": "__REQ_3291__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-a-users-gists", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", "body": {}, "parameters": [ - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -877,144 +953,98 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_33__", + "parentId": "__FLD_156__", + "_id": "__REQ_3292__", "_type": "request", - "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/v3/gists/#create-a-gist", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/gists", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_34__", - "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/v3/gists/#list-all-public-gists", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/public", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_7__", - "_id": "__REQ_35__", + "parentId": "__FLD_156__", + "_id": "__REQ_3293__", "_type": "request", - "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/v3/gists/#list-starred-gists", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/starred", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_36__", + "parentId": "__FLD_156__", + "_id": "__REQ_3294__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/v3/gists/#get-a-single-gist", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_37__", + "parentId": "__FLD_156__", + "_id": "__REQ_3295__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/v3/gists/#edit-a-gist", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_38__", + "parentId": "__FLD_156__", + "_id": "__REQ_3296__", "_type": "request", - "name": "Delete a gist", - "description": "\n\nhttps://developer.github.com/v3/gists/#delete-a-gist", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_39__", + "parentId": "__FLD_156__", + "_id": "__REQ_3297__", "_type": "request", - "name": "List comments on a gist", - "description": "\n\nhttps://developer.github.com/v3/gists/comments/#list-comments-on-a-gist", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", "body": {}, "parameters": [ { @@ -1030,82 +1060,82 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_40__", + "parentId": "__FLD_156__", + "_id": "__REQ_3298__", "_type": "request", - "name": "Create a comment", - "description": "\n\nhttps://developer.github.com/v3/gists/comments/#create-a-comment", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_41__", + "parentId": "__FLD_156__", + "_id": "__REQ_3299__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/v3/gists/comments/#get-a-single-comment", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_42__", + "parentId": "__FLD_156__", + "_id": "__REQ_3300__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/v3/gists/comments/#edit-a-comment", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_43__", + "parentId": "__FLD_156__", + "_id": "__REQ_3301__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/v3/gists/comments/#delete-a-comment", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_44__", + "parentId": "__FLD_156__", + "_id": "__REQ_3302__", "_type": "request", - "name": "List gist commits", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-gist-commits", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", "body": {}, "parameters": [ { @@ -1121,162 +1151,141 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_45__", + "parentId": "__FLD_156__", + "_id": "__REQ_3303__", "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/v3/gists/#fork-a-gist", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_46__", + "parentId": "__FLD_156__", + "_id": "__REQ_3304__", "_type": "request", - "name": "List gist forks", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-gist-forks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_7__", - "_id": "__REQ_47__", - "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/gists/#star-a-gist", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_48__", + "parentId": "__FLD_156__", + "_id": "__REQ_3305__", "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://developer.github.com/v3/gists/#unstar-a-gist", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_49__", + "parentId": "__FLD_156__", + "_id": "__REQ_3306__", "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://developer.github.com/v3/gists/#check-if-a-gist-is-starred", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_50__", + "parentId": "__FLD_156__", + "_id": "__REQ_3307__", "_type": "request", - "name": "Get a specific revision of a gist", - "description": "\n\nhttps://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", "body": {}, "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_51__", + "parentId": "__FLD_156__", + "_id": "__REQ_3308__", "_type": "request", - "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create).\n\nhttps://developer.github.com/v3/gitignore/#listing-available-templates", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_52__", + "parentId": "__FLD_156__", + "_id": "__REQ_3309__", "_type": "request", - "name": "Get a single template", - "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/v3/gitignore/#get-a-single-template", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_53__", + "parentId": "__FLD_156__", + "_id": "__REQ_3310__", "_type": "request", - "name": "List repositories", - "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#list-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" - } - ], + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/installation/repositories", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", "body": {}, "parameters": [ { @@ -1292,257 +1301,188 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_54__", + "parentId": "__FLD_156__", + "_id": "__REQ_3311__", "_type": "request", - "name": "Revoke an installation token", - "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create a new installation token](https://developer.github.com/v3/apps/#create-a-new-installation-token)\" endpoint.\n\nYou must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#revoke-an-installation-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.gambit-preview+json" - } - ], + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/installation/token", + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_55__", + "parentId": "__FLD_156__", + "_id": "__REQ_3312__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/issues", + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", "body": {}, - "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_56__", + "parentId": "__FLD_156__", + "_id": "__REQ_3313__", "_type": "request", - "name": "Search issues", - "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/v3/search/legacy/#search-issues", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_57__", + "parentId": "__FLD_156__", + "_id": "__REQ_3314__", "_type": "request", - "name": "Search repositories", - "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/v3/search/legacy/#search-repositories", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", "body": {}, - "parameters": [ - { - "name": "language", - "disabled": false - }, - { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_58__", + "parentId": "__FLD_156__", + "_id": "__REQ_3315__", "_type": "request", - "name": "Email search", - "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub profile).\n\nhttps://developer.github.com/v3/search/legacy/#email-search", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_59__", + "parentId": "__FLD_150__", + "_id": "__REQ_3316__", "_type": "request", - "name": "Search users", - "description": "Find users by keyword.\n\nhttps://developer.github.com/v3/search/legacy/#search-users", + "name": "Get the audit log for an enterprise", + "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", "body": {}, "parameters": [ { - "name": "start_page", + "name": "phrase", "disabled": false }, { - "name": "sort", + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", "disabled": false }, { "name": "order", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false } ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_60__", + "parentId": "__FLD_151__", + "_id": "__REQ_3317__", "_type": "request", - "name": "List commonly used licenses", - "description": "\n\nhttps://developer.github.com/v3/licenses/#list-commonly-used-licenses", + "name": "Get GitHub Actions billing for an enterprise", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/licenses", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_61__", + "parentId": "__FLD_151__", + "_id": "__REQ_3318__", "_type": "request", - "name": "Get an individual license", - "description": "\n\nhttps://developer.github.com/v3/licenses/#get-an-individual-license", + "name": "Get GitHub Packages billing for an enterprise", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/licenses/{{ license }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_13__", - "_id": "__REQ_62__", - "_type": "request", - "name": "Render an arbitrary Markdown document", - "description": "\n\nhttps://developer.github.com/v3/markdown/#render-an-arbitrary-markdown-document", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/markdown", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/packages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_13__", - "_id": "__REQ_63__", + "parentId": "__FLD_151__", + "_id": "__REQ_3319__", "_type": "request", - "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", + "name": "Get shared storage billing for an enterprise", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/markdown/raw", + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/shared-storage", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_64__", + "parentId": "__FLD_148__", + "_id": "__REQ_3320__", "_type": "request", - "name": "Check if a GitHub account is associated with any Marketplace listing", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/rest/reference/activity#list-public-events", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/accounts/{{ account_id }}", + "url": "{{ github_api_root }}/events", "body": {}, "parameters": [ { @@ -1558,54 +1498,38 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_65__", + "parentId": "__FLD_148__", + "_id": "__REQ_3321__", "_type": "request", - "name": "List all plans for your Marketplace listing", - "description": "GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing", + "name": "Get feeds", + "description": "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/rest/reference/activity#get-feeds", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/plans", + "url": "{{ github_api_root }}/feeds", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_66__", + "parentId": "__FLD_157__", + "_id": "__REQ_3322__", "_type": "request", - "name": "List all GitHub accounts (user or organization) on a specific plan", - "description": "Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/plans/{{ plan_id }}/accounts", + "url": "{{ github_api_root }}/gists", "body": {}, "parameters": [ { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", + "name": "since", "disabled": false }, { @@ -1621,47 +1545,40 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_67__", + "parentId": "__FLD_157__", + "_id": "__REQ_3323__", "_type": "request", - "name": "Check if a GitHub account is associated with any Marketplace listing (stubbed)", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/v3/gists/#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/stubbed/accounts/{{ account_id }}", + "method": "POST", + "url": "{{ github_api_root }}/gists", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_68__", + "parentId": "__FLD_157__", + "_id": "__REQ_3324__", "_type": "request", - "name": "List all plans for your Marketplace listing (stubbed)", - "description": "GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/stubbed/plans", + "url": "{{ github_api_root }}/gists/public", "body": {}, "parameters": [ + { + "name": "since", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -1675,27 +1592,22 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_69__", + "parentId": "__FLD_157__", + "_id": "__REQ_3325__", "_type": "request", - "name": "List all GitHub accounts (user or organization) on a specific plan (stubbed)", - "description": "Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/v3/gists/#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/marketplace_listing/stubbed/plans/{{ plan_id }}/accounts", + "url": "{{ github_api_root }}/gists/starred", "body": {}, "parameters": [ { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", + "name": "since", "disabled": false }, { @@ -1711,81 +1623,68 @@ ] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_70__", + "parentId": "__FLD_157__", + "_id": "__REQ_3326__", "_type": "request", - "name": "Get", - "description": "This endpoint provides a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\nhttps://developer.github.com/v3/meta/#meta", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/meta", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_71__", + "parentId": "__FLD_157__", + "_id": "__REQ_3327__", "_type": "request", - "name": "List public events for a network of repositories", - "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_72__", + "parentId": "__FLD_157__", + "_id": "__REQ_3328__", "_type": "request", - "name": "List your notifications", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/v3/activity/notifications/#list-your-notifications", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/v3/gists/#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/notifications", + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", "body": {}, - "parameters": [ - { - "name": "all", - "value": false, - "disabled": false - }, - { - "name": "participating", - "value": false, - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "before", - "disabled": false - }, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3329__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ { "name": "per_page", "value": 30, @@ -1799,120 +1698,84 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_73__", + "parentId": "__FLD_157__", + "_id": "__REQ_3330__", "_type": "request", - "name": "Mark as read", - "description": "Marks a notification as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/v3/activity/notifications/#mark-as-read", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#create-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_74__", + "parentId": "__FLD_157__", + "_id": "__REQ_3331__", "_type": "request", - "name": "View a single thread", - "description": "\n\nhttps://developer.github.com/v3/activity/notifications/#view-a-single-thread", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#get-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_75__", + "parentId": "__FLD_157__", + "_id": "__REQ_3332__", "_type": "request", - "name": "Mark a thread as read", - "description": "\n\nhttps://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#update-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_2__", - "_id": "__REQ_76__", - "_type": "request", - "name": "Get a thread subscription", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/v3/activity/notifications/#get-a-thread-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_2__", - "_id": "__REQ_77__", - "_type": "request", - "name": "Set a thread subscription", - "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/v3/activity/notifications/#set-a-thread-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_78__", + "parentId": "__FLD_157__", + "_id": "__REQ_3333__", "_type": "request", - "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#delete-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_79__", + "parentId": "__FLD_157__", + "_id": "__REQ_3334__", "_type": "request", - "name": "List all organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/v3/orgs/#list-all-organizations", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/organizations", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", "body": {}, "parameters": [ - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -1926,156 +1789,162 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_80__", + "parentId": "__FLD_157__", + "_id": "__REQ_3335__", "_type": "request", - "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see \"[Response with GitHub plan information](https://developer.github.com/v3/orgs/#response-with-github-plan-information).\"\n\nhttps://developer.github.com/v3/orgs/#get-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-forks", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_81__", + "parentId": "__FLD_157__", + "_id": "__REQ_3336__", "_type": "request", - "name": "Edit an organization", - "description": "\n\n**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/v3/orgs/#edit-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/v3/gists/#fork-a-gist", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_82__", + "parentId": "__FLD_157__", + "_id": "__REQ_3337__", "_type": "request", - "name": "List blocked users", - "description": "List the users blocked by an organization.\n\nhttps://developer.github.com/v3/orgs/blocking/#list-blocked-users", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/v3/gists/#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/blocks", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_83__", + "parentId": "__FLD_157__", + "_id": "__REQ_3338__", "_type": "request", - "name": "Check whether a user is blocked from an organization", - "description": "If the user is blocked:\n\nIf the user is not blocked:\n\nhttps://developer.github.com/v3/orgs/blocking/#check-whether-a-user-is-blocked-from-an-organization", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/gists/#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_84__", + "parentId": "__FLD_157__", + "_id": "__REQ_3339__", "_type": "request", - "name": "Block a user", - "description": "\n\nhttps://developer.github.com/v3/orgs/blocking/#block-a-user", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/v3/gists/#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_85__", + "parentId": "__FLD_157__", + "_id": "__REQ_3340__", "_type": "request", - "name": "Unblock a user", - "description": "\n\nhttps://developer.github.com/v3/orgs/blocking/#unblock-a-user", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_86__", + "parentId": "__FLD_159__", + "_id": "__REQ_3341__", "_type": "request", - "name": "List credential authorizations for an organization", - "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAn authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on).\n\nhttps://developer.github.com/v3/orgs/#list-credential-authorizations-for-an-organization", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/v3/gitignore/#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations", + "url": "{{ github_api_root }}/gitignore/templates", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_87__", + "parentId": "__FLD_159__", + "_id": "__REQ_3342__", "_type": "request", - "name": "Remove a credential authorization for an organization", - "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAn authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nhttps://developer.github.com/v3/orgs/#remove-a-credential-authorization-for-an-organization", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/v3/gitignore/#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations/{{ credential_id }}", + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_88__", + "parentId": "__FLD_149__", + "_id": "__REQ_3343__", "_type": "request", - "name": "List public events for an organization", - "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-for-an-organization", - "headers": [], + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "url": "{{ github_api_root }}/installation/repositories", "body": {}, "parameters": [ { @@ -2091,20 +1960,85 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_89__", + "parentId": "__FLD_149__", + "_id": "__REQ_3344__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/v3/orgs/hooks/#list-hooks", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-installation-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3345__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "url": "{{ github_api_root }}/issues", "body": {}, "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -2118,124 +2052,108 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_90__", - "_type": "request", - "name": "Create a hook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/v3/orgs/hooks/#create-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_17__", - "_id": "__REQ_91__", + "parentId": "__FLD_162__", + "_id": "__REQ_3346__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/v3/orgs/hooks/#get-single-hook", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/v3/licenses/#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/licenses", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_92__", + "parentId": "__FLD_162__", + "_id": "__REQ_3347__", "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/v3/orgs/hooks/#edit-a-hook", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/v3/licenses/#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_93__", + "parentId": "__FLD_163__", + "_id": "__REQ_3348__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/v3/orgs/hooks/#delete-a-hook", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "method": "POST", + "url": "{{ github_api_root }}/markdown", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_94__", + "parentId": "__FLD_163__", + "_id": "__REQ_3349__", "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/v3/orgs/hooks/#ping-a-hook", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "url": "{{ github_api_root }}/markdown/raw", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_95__", + "parentId": "__FLD_149__", + "_id": "__REQ_3350__", "_type": "request", - "name": "Get an organization installation", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-an-organization-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get a subscription plan for an account", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "url": "{{ github_api_root }}/marketplace_listing/accounts/{{ account_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_96__", + "parentId": "__FLD_149__", + "_id": "__REQ_3351__", "_type": "request", - "name": "List installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://developer.github.com/v3/orgs/#list-installations-for-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "List plans", + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "url": "{{ github_api_root }}/marketplace_listing/plans", "body": {}, "parameters": [ { @@ -2251,83 +2169,108 @@ ] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_97__", + "parentId": "__FLD_149__", + "_id": "__REQ_3352__", "_type": "request", - "name": "Get interaction restrictions for an organization", - "description": "Shows which group of GitHub users can interact with this organization and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://developer.github.com/v3/interactions/orgs/#get-interaction-restrictions-for-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" - } - ], + "name": "List accounts for a plan", + "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "url": "{{ github_api_root }}/marketplace_listing/plans/{{ plan_id }}/accounts", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_98__", + "parentId": "__FLD_149__", + "_id": "__REQ_3353__", "_type": "request", - "name": "Add or update interaction restrictions for an organization", - "description": "Temporarily restricts interactions to certain GitHub users in any public repository in the given organization. You must be an organization owner to set these restrictions.\n\nhttps://developer.github.com/v3/interactions/orgs/#add-or-update-interaction-restrictions-for-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" - } - ], + "name": "Get a subscription plan for an account (stubbed)", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "method": "GET", + "url": "{{ github_api_root }}/marketplace_listing/stubbed/accounts/{{ account_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_99__", + "parentId": "__FLD_149__", + "_id": "__REQ_3354__", "_type": "request", - "name": "Remove interaction restrictions for an organization", - "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.\n\nhttps://developer.github.com/v3/interactions/orgs/#remove-interaction-restrictions-for-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" - } - ], + "name": "List plans (stubbed)", + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans-stubbed", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "method": "GET", + "url": "{{ github_api_root }}/marketplace_listing/stubbed/plans", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_100__", + "parentId": "__FLD_149__", + "_id": "__REQ_3355__", "_type": "request", - "name": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://developer.github.com/v3/orgs/members/#list-pending-organization-invitations", + "name": "List accounts for a plan (stubbed)", + "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", + "url": "{{ github_api_root }}/marketplace_listing/stubbed/plans/{{ plan_id }}/accounts", "body": {}, "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -2341,34 +2284,34 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_101__", + "parentId": "__FLD_164__", + "_id": "__REQ_3356__", "_type": "request", - "name": "Create organization invitation", - "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/orgs/members/#create-organization-invitation", + "name": "Get GitHub meta information", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/v3/meta/#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", + "method": "GET", + "url": "{{ github_api_root }}/meta", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_102__", + "parentId": "__FLD_148__", + "_id": "__REQ_3357__", "_type": "request", - "name": "List organization invitation teams", - "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.\n\nhttps://developer.github.com/v3/orgs/members/#list-organization-invitation-teams", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}/teams", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", "body": {}, "parameters": [ { @@ -2384,51 +2327,36 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_103__", + "parentId": "__FLD_148__", + "_id": "__REQ_3358__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "url": "{{ github_api_root }}/notifications", "body": {}, "parameters": [ { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", + "name": "all", + "value": false, "disabled": false }, { - "name": "sort", - "value": "created", + "name": "participating", + "value": false, "disabled": false }, { - "name": "direction", - "value": "desc", + "name": "since", "disabled": false }, { - "name": "since", + "name": "before", "disabled": false }, { @@ -2444,180 +2372,158 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_104__", + "parentId": "__FLD_148__", + "_id": "__REQ_3359__", "_type": "request", - "name": "Members list", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\n\n\nhttps://developer.github.com/v3/orgs/members/#members-list", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "method": "PUT", + "url": "{{ github_api_root }}/notifications", "body": {}, - "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "role", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_105__", + "parentId": "__FLD_148__", + "_id": "__REQ_3360__", "_type": "request", - "name": "Check membership", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/v3/orgs/members/#check-membership", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_106__", + "parentId": "__FLD_148__", + "_id": "__REQ_3361__", "_type": "request", - "name": "Remove a member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://developer.github.com/v3/orgs/members/#remove-a-member", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#mark-a-thread-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_107__", + "parentId": "__FLD_148__", + "_id": "__REQ_3362__", "_type": "request", - "name": "Get organization membership", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/v3/orgs/members/#get-organization-membership", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_108__", + "parentId": "__FLD_148__", + "_id": "__REQ_3363__", "_type": "request", - "name": "Add or update organization membership", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://developer.github.com/v3/orgs/members/#get-organization-membership) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://developer.github.com/v3/orgs/members/#add-or-update-organization-membership", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/rest/reference/activity#set-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_109__", + "parentId": "__FLD_148__", + "_id": "__REQ_3364__", "_type": "request", - "name": "Remove organization membership", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/v3/orgs/members/#remove-organization-membership", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/rest/reference/activity#delete-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_110__", + "parentId": "__FLD_164__", + "_id": "__REQ_3365__", "_type": "request", - "name": "Start an organization migration", - "description": "Initiates the generation of a migration archive.\n\nhttps://developer.github.com/v3/migrations/orgs/#start-an-organization-migration", + "name": "Get Octocat", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "method": "GET", + "url": "{{ github_api_root }}/octocat", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "s", + "disabled": false + } + ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_111__", + "parentId": "__FLD_167__", + "_id": "__REQ_3366__", "_type": "request", - "name": "List organization migrations", - "description": "Lists the most recent migrations.\n\nhttps://developer.github.com/v3/migrations/orgs/#list-organization-migrations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/v3/orgs/#list-organizations", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "url": "{{ github_api_root }}/organizations", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "since", "disabled": false }, { - "name": "page", - "value": 1, + "name": "per_page", + "value": 30, "disabled": false } ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_112__", + "parentId": "__FLD_167__", + "_id": "__REQ_3367__", "_type": "request", - "name": "Get the status of an organization migration", - "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://developer.github.com/v3/migrations/orgs/#get-the-status-of-an-organization-migration", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"\n\nhttps://docs.github.com/v3/orgs/#get-an-organization", "headers": [ { "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" + "value": "application/vnd.github.surtur-preview+json" } ], "authentication": { @@ -2625,91 +2531,76 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_113__", + "parentId": "__FLD_167__", + "_id": "__REQ_3368__", "_type": "request", - "name": "Download an organization migration archive", - "description": "Fetches the URL to a migration archive.\n\n\n\nhttps://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/v3/orgs/#update-an-organization", "headers": [ { "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" + "value": "application/vnd.github.surtur-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_114__", + "parentId": "__FLD_147__", + "_id": "__REQ_3369__", "_type": "request", - "name": "Delete an organization migration archive", - "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.\n\nhttps://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_115__", + "parentId": "__FLD_147__", + "_id": "__REQ_3370__", "_type": "request", - "name": "Unlock an organization repository", - "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://developer.github.com/v3/repos/#delete-a-repository) when the migration is complete and you no longer need the source data.\n\nhttps://developer.github.com/v3/migrations/orgs/#unlock-an-organization-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_116__", + "parentId": "__FLD_147__", + "_id": "__REQ_3371__", "_type": "request", - "name": "List repositories in an organization migration", - "description": "List all the repositories for this organization migration.\n\nhttps://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repositories", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", "body": {}, "parameters": [ { @@ -2725,140 +2616,98 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_117__", + "parentId": "__FLD_147__", + "_id": "__REQ_3372__", "_type": "request", - "name": "List outside collaborators", - "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", "body": {}, - "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_118__", + "parentId": "__FLD_147__", + "_id": "__REQ_3373__", "_type": "request", - "name": "Remove outside collaborator", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_119__", + "parentId": "__FLD_147__", + "_id": "__REQ_3374__", "_type": "request", - "name": "Convert member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_120__", + "parentId": "__FLD_147__", + "_id": "__REQ_3375__", "_type": "request", - "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\ns\n\nhttps://developer.github.com/v3/projects/#list-organization-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_121__", + "parentId": "__FLD_147__", + "_id": "__REQ_3376__", "_type": "request", - "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#create-an-organization-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_122__", + "parentId": "__FLD_147__", + "_id": "__REQ_3377__", "_type": "request", - "name": "Public members list", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/v3/orgs/members/#public-members-list", + "name": "List self-hosted runner groups for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists all self-hosted runner groups configured in an organization and inherited from an enterprise.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", "body": {}, "parameters": [ { @@ -2874,159 +2723,146 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_123__", + "parentId": "__FLD_147__", + "_id": "__REQ_3378__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3379__", "_type": "request", - "name": "Check public membership", - "description": "\n\nhttps://developer.github.com/v3/orgs/members/#check-public-membership", + "name": "Get a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nGets a specific self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_124__", + "parentId": "__FLD_147__", + "_id": "__REQ_3380__", "_type": "request", - "name": "Publicize a user's membership", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/orgs/members/#publicize-a-users-membership", + "name": "Update a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_125__", + "parentId": "__FLD_147__", + "_id": "__REQ_3381__", "_type": "request", - "name": "Conceal a user's membership", - "description": "\n\nhttps://developer.github.com/v3/orgs/members/#conceal-a-users-membership", + "name": "Delete a self-hosted runner group from an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nDeletes a self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_126__", + "parentId": "__FLD_147__", + "_id": "__REQ_3382__", "_type": "request", - "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/v3/repos/#list-organization-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", "body": {}, - "parameters": [ - { - "name": "type", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_127__", + "parentId": "__FLD_147__", + "_id": "__REQ_3383__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_128__", + "parentId": "__FLD_147__", + "_id": "__REQ_3384__", "_type": "request", - "name": "List IdP groups in an organization", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nThe `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this:\n\nhttps://developer.github.com/v3/teams/team_sync/#list-idp-groups-in-an-organization", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/team-sync/groups", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_129__", + "parentId": "__FLD_147__", + "_id": "__REQ_3385__", "_type": "request", - "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/v3/teams/#list-teams", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3386__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists self-hosted runners that are in a specific organization group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", "body": {}, "parameters": [ { @@ -3042,94 +2878,68 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_130__", - "_type": "request", - "name": "Create team", - "description": "To create a team, the authenticated user must be a member or owner of `:org`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/teams/#create-team", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_131__", + "parentId": "__FLD_147__", + "_id": "__REQ_3387__", "_type": "request", - "name": "Get team by name", - "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id`.\n\nhttps://developer.github.com/v3/teams/#get-team-by-name", + "name": "Set self-hosted runners in a group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of self-hosted runners that are part of an organization runner group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_132__", + "parentId": "__FLD_147__", + "_id": "__REQ_3388__", "_type": "request", - "name": "Edit team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id`.\n\nhttps://developer.github.com/v3/teams/#edit-team", + "name": "Add a self-hosted runner to a group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a self-hosted runner to a runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_133__", + "parentId": "__FLD_147__", + "_id": "__REQ_3389__", "_type": "request", - "name": "Delete team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id`.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/v3/teams/#delete-team", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_134__", + "parentId": "__FLD_147__", + "_id": "__REQ_3390__", "_type": "request", - "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions`.\n\nhttps://developer.github.com/v3/teams/discussions/#list-discussions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", "body": {}, "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3143,109 +2953,100 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_135__", + "parentId": "__FLD_147__", + "_id": "__REQ_3391__", "_type": "request", - "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions`.\n\nhttps://developer.github.com/v3/teams/discussions/#create-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3392__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_136__", + "parentId": "__FLD_147__", + "_id": "__REQ_3393__", "_type": "request", - "name": "Get a single discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number`.\n\nhttps://developer.github.com/v3/teams/discussions/#get-a-single-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_137__", + "parentId": "__FLD_147__", + "_id": "__REQ_3394__", "_type": "request", - "name": "Edit a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/discussions/:discussion_number`.\n\nhttps://developer.github.com/v3/teams/discussions/#edit-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_138__", + "parentId": "__FLD_147__", + "_id": "__REQ_3395__", "_type": "request", - "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number`.\n\nhttps://developer.github.com/v3/teams/discussions/#delete-a-discussion", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_139__", + "parentId": "__FLD_147__", + "_id": "__REQ_3396__", "_type": "request", - "name": "List comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments`.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#list-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-organization-secrets", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", "body": {}, "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3259,408 +3060,338 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_140__", + "parentId": "__FLD_147__", + "_id": "__REQ_3397__", "_type": "request", - "name": "Create a comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments`.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#create-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-public-key", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_141__", + "parentId": "__FLD_147__", + "_id": "__REQ_3398__", "_type": "request", - "name": "Get a single comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_142__", + "parentId": "__FLD_147__", + "_id": "__REQ_3399__", "_type": "request", - "name": "Edit a comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#edit-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_143__", + "parentId": "__FLD_147__", + "_id": "__REQ_3400__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number`.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#delete-a-comment", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_144__", + "parentId": "__FLD_147__", + "_id": "__REQ_3401__", "_type": "request", - "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_145__", + "parentId": "__FLD_147__", + "_id": "__REQ_3402__", "_type": "request", - "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_146__", + "parentId": "__FLD_147__", + "_id": "__REQ_3403__", "_type": "request", - "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_147__", + "parentId": "__FLD_147__", + "_id": "__REQ_3404__", "_type": "request", - "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_148__", + "parentId": "__FLD_167__", + "_id": "__REQ_3405__", "_type": "request", - "name": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/invitations`.\n\nhttps://developer.github.com/v3/teams/members/#list-pending-team-invitations", + "name": "Get the audit log for an organization", + "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#get-the-audit-log-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/invitations", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "phrase", "disabled": false }, { - "name": "page", - "value": 1, + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, "disabled": false } ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_149__", + "parentId": "__FLD_167__", + "_id": "__REQ_3406__", "_type": "request", - "name": "List team members", - "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/v3/teams/members/#list-team-members", + "name": "List users blocked by an organization", + "description": "List the users blocked by an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "url": "{{ github_api_root }}/orgs/{{ org }}/blocks", "body": {}, - "parameters": [ - { - "name": "role", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_150__", + "parentId": "__FLD_167__", + "_id": "__REQ_3407__", "_type": "request", - "name": "Get team membership", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/memberships/:username`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/v3/teams#create-team).\n\nhttps://developer.github.com/v3/teams/members/#get-team-membership", + "name": "Check if a user is blocked by an organization", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_151__", + "parentId": "__FLD_167__", + "_id": "__REQ_3408__", "_type": "request", - "name": "Add or update team membership", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/memberships/:username`.\n\nhttps://developer.github.com/v3/teams/members/#add-or-update-team-membership", + "name": "Block a user from an organization", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_152__", + "parentId": "__FLD_167__", + "_id": "__REQ_3409__", "_type": "request", - "name": "Remove team membership", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/memberships/:username`.\n\nhttps://developer.github.com/v3/teams/members/#remove-team-membership", + "name": "Unblock a user from an organization", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/blocks/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_153__", + "parentId": "__FLD_167__", + "_id": "__REQ_3410__", "_type": "request", - "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects`.\n\nhttps://developer.github.com/v3/teams/#list-team-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List SAML SSO authorizations for an organization", + "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on).\n\nhttps://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_154__", + "parentId": "__FLD_167__", + "_id": "__REQ_3411__", "_type": "request", - "name": "Review a team project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects/:project_id`.\n\nhttps://developer.github.com/v3/teams/#review-a-team-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Remove a SAML SSO authorization for an organization", + "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nhttps://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations/{{ credential_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_155__", + "parentId": "__FLD_148__", + "_id": "__REQ_3412__", "_type": "request", - "name": "Add or update team project", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/projects/:project_id`.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-organization-events", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_156__", + "parentId": "__FLD_167__", + "_id": "__REQ_3413__", "_type": "request", - "name": "Remove team project", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/projects/:project_id`.\n\nhttps://developer.github.com/v3/teams/#remove-team-project", + "name": "List failed organization invitations", + "description": "The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.\n\nhttps://docs.github.com/rest/reference/orgs#list-failed-organization-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/failed_invitations", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_157__", + "parentId": "__FLD_167__", + "_id": "__REQ_3414__", "_type": "request", - "name": "List team repos", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos`.\n\nhttps://developer.github.com/v3/teams/#list-team-repos", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", "body": {}, "parameters": [ { @@ -3676,98 +3407,146 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_158__", + "parentId": "__FLD_167__", + "_id": "__REQ_3415__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3416__", "_type": "request", - "name": "Check if a team manages a repository", - "description": "Checks whether a team has `admin`, `push`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos/:owner/:repo`.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_159__", + "parentId": "__FLD_167__", + "_id": "__REQ_3417__", "_type": "request", - "name": "Add or update team repository", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/:org_id/team/:team_id/repos/:owner/:repo`.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-repository", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_160__", + "parentId": "__FLD_167__", + "_id": "__REQ_3418__", "_type": "request", - "name": "Remove team repository", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/:org_id/team/:team_id/repos/:owner/:repo`.\n\nhttps://developer.github.com/v3/teams/#remove-team-repository", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#delete-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_161__", + "parentId": "__FLD_167__", + "_id": "__REQ_3419__", "_type": "request", - "name": "List IdP groups for a team", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/team-sync/group-mappings`.\n\nhttps://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/v3/orgs#get-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_162__", + "parentId": "__FLD_167__", + "_id": "__REQ_3420__", "_type": "request", - "name": "Create or update IdP group connections", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/team-sync/group-mappings`.\n\nhttps://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/v3/orgs#update-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_163__", + "parentId": "__FLD_167__", + "_id": "__REQ_3421__", "_type": "request", - "name": "List child teams", - "description": "Lists the child teams of the team requested by `:team_slug`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/teams`.\n\n\n\nhttps://developer.github.com/v3/teams/#list-child-teams", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_149__", + "_id": "__REQ_3422__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3423__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/v3/orgs/#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", "body": {}, "parameters": [ { @@ -3783,175 +3562,222 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_164__", + "parentId": "__FLD_160__", + "_id": "__REQ_3424__", "_type": "request", - "name": "Get a project card", - "description": "\n\nhttps://developer.github.com/v3/projects/cards/#get-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get interaction restrictions for an organization", + "description": "Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_165__", + "parentId": "__FLD_160__", + "_id": "__REQ_3425__", "_type": "request", - "name": "Update a project card", - "description": "\n\nhttps://developer.github.com/v3/projects/cards/#update-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Set interaction restrictions for an organization", + "description": "Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_166__", + "parentId": "__FLD_160__", + "_id": "__REQ_3426__", "_type": "request", - "name": "Delete a project card", - "description": "\n\nhttps://developer.github.com/v3/projects/cards/#delete-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Remove interaction restrictions for an organization", + "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_167__", + "parentId": "__FLD_167__", + "_id": "__REQ_3427__", "_type": "request", - "name": "Move a project card", - "description": "\n\nhttps://developer.github.com/v3/projects/cards/#move-a-project-card", - "headers": [ + "name": "List pending organization invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", + "body": {}, + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3428__", + "_type": "request", + "name": "Create an organization invitation", + "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-invitation", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_168__", + "parentId": "__FLD_167__", + "_id": "__REQ_3429__", "_type": "request", - "name": "Get a project column", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#get-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Cancel an organization invitation", + "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nhttps://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_169__", + "parentId": "__FLD_167__", + "_id": "__REQ_3430__", "_type": "request", - "name": "Update a project column", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#update-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List organization invitation teams", + "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-invitation-teams", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}/teams", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_170__", + "parentId": "__FLD_161__", + "_id": "__REQ_3431__", "_type": "request", - "name": "Delete a project column", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#delete-a-project-column", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_171__", + "parentId": "__FLD_167__", + "_id": "__REQ_3432__", "_type": "request", - "name": "List project cards", - "description": "\n\nhttps://developer.github.com/v3/projects/cards/#list-project-cards", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-members", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", "body": {}, "parameters": [ { - "name": "archived_state", - "value": "not_archived", + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", "disabled": false }, { @@ -3967,131 +3793,95 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_172__", + "parentId": "__FLD_167__", + "_id": "__REQ_3433__", "_type": "request", - "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/v3/projects/cards/#create-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_173__", + "parentId": "__FLD_167__", + "_id": "__REQ_3434__", "_type": "request", - "name": "Move a project column", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#move-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-an-organization-member", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_174__", + "parentId": "__FLD_167__", + "_id": "__REQ_3435__", "_type": "request", - "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#get-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_175__", + "parentId": "__FLD_167__", + "_id": "__REQ_3436__", "_type": "request", - "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#update-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_176__", + "parentId": "__FLD_167__", + "_id": "__REQ_3437__", "_type": "request", - "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/v3/projects/#delete-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_177__", + "parentId": "__FLD_165__", + "_id": "__REQ_3438__", "_type": "request", - "name": "List collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/v3/projects/collaborators/#list-collaborators", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/rest/reference/migrations#list-organization-migrations", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.wyandotte-preview+json" } ], "authentication": { @@ -4099,14 +3889,9 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", "body": {}, "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -4120,57 +3905,52 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_178__", + "parentId": "__FLD_165__", + "_id": "__REQ_3439__", "_type": "request", - "name": "Add user as a collaborator", - "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-organization-migration", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_179__", + "parentId": "__FLD_165__", + "_id": "__REQ_3440__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/v3/projects/collaborators/#remove-user-as-a-collaborator", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.wyandotte-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_180__", + "parentId": "__FLD_165__", + "_id": "__REQ_3441__", "_type": "request", - "name": "Review a user's permission level", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/v3/projects/collaborators/#review-a-users-permission-level", + "name": "Download an organization migration archive", + "description": "Fetches the URL to a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.wyandotte-preview+json" } ], "authentication": { @@ -4178,29 +3958,71 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_181__", + "parentId": "__FLD_165__", + "_id": "__REQ_3442__", "_type": "request", - "name": "List project columns", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#list-project-columns", + "name": "Delete an organization migration archive", + "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.\n\nhttps://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.wyandotte-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", - "body": {}, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3443__", + "_type": "request", + "name": "Unlock an organization repository", + "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3444__", + "_type": "request", + "name": "List repositories in an organization migration", + "description": "List all the repositories for this organization migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repositories", + "body": {}, "parameters": [ { "name": "per_page", @@ -4215,73 +4037,79 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_182__", + "parentId": "__FLD_167__", + "_id": "__REQ_3445__", "_type": "request", - "name": "Create a project column", - "description": "\n\nhttps://developer.github.com/v3/projects/columns/#create-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_183__", + "parentId": "__FLD_167__", + "_id": "__REQ_3446__", "_type": "request", - "name": "Get your current rate limit status", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/v3/rate_limit/#get-your-current-rate-limit-status", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/rate_limit", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_184__", + "parentId": "__FLD_167__", + "_id": "__REQ_3447__", "_type": "request", - "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-a-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_185__", + "parentId": "__FLD_168__", + "_id": "__REQ_3448__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/v3/repos/#get", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-organization-projects", "headers": [ { "name": "Accept", - "value": "application/vnd.github.nebula-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -4289,60 +4117,60 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_186__", + "parentId": "__FLD_168__", + "_id": "__REQ_3449__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/v3/repos/#edit", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-an-organization-project", "headers": [ { "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_187__", - "_type": "request", - "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nhttps://developer.github.com/v3/repos/#delete-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_188__", + "parentId": "__FLD_167__", + "_id": "__REQ_3450__", "_type": "request", - "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/v3/issues/assignees/#list-assignees", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/rest/reference/orgs#list-public-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", "body": {}, "parameters": [ { @@ -4358,80 +4186,84 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_189__", + "parentId": "__FLD_167__", + "_id": "__REQ_3451__", "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/v3/issues/assignees/#check-assignee", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_190__", + "parentId": "__FLD_167__", + "_id": "__REQ_3452__", "_type": "request", - "name": "Enable automated security fixes", - "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#enable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_191__", + "parentId": "__FLD_167__", + "_id": "__REQ_3453__", "_type": "request", - "name": "Disable automated security fixes", - "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#disable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_192__", + "parentId": "__FLD_172__", + "_id": "__REQ_3454__", "_type": "request", - "name": "List branches", - "description": "\n\nhttps://developer.github.com/v3/repos/branches/#list-branches", - "headers": [], + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [ { - "name": "protected", + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", "disabled": false }, { @@ -4447,195 +4279,202 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_193__", + "parentId": "__FLD_172__", + "_id": "__REQ_3455__", "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/v3/repos/branches/#get-branch", - "headers": [], + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_194__", + "parentId": "__FLD_151__", + "_id": "__REQ_3456__", "_type": "request", - "name": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Get GitHub Actions billing for an organization", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_195__", + "parentId": "__FLD_151__", + "_id": "__REQ_3457__", "_type": "request", - "name": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://developer.github.com/v3/repos/branches/#update-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Get GitHub Packages billing for an organization", + "description": "Gets the free and paid storage usued for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/packages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_196__", + "parentId": "__FLD_151__", + "_id": "__REQ_3458__", "_type": "request", - "name": "Remove branch protection", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-branch-protection", + "name": "Get shared storage billing for an organization", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/shared-storage", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_197__", + "parentId": "__FLD_176__", + "_id": "__REQ_3459__", "_type": "request", - "name": "Get admin enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-admin-enforcement-of-protected-branch", + "name": "List IdP groups for an organization", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nThe `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this:\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "url": "{{ github_api_root }}/orgs/{{ org }}/team-sync/groups", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_198__", + "parentId": "__FLD_176__", + "_id": "__REQ_3460__", "_type": "request", - "name": "Add admin enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#add-admin-enforcement-of-protected-branch", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/v3/teams/#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_199__", + "parentId": "__FLD_176__", + "_id": "__REQ_3461__", "_type": "request", - "name": "Remove admin enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/v3/teams/#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_200__", + "parentId": "__FLD_176__", + "_id": "__REQ_3462__", "_type": "request", - "name": "Get pull request review enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#get-a-team-by-name", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_201__", + "parentId": "__FLD_176__", + "_id": "__REQ_3463__", "_type": "request", - "name": "Update pull request review enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#update-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_202__", + "parentId": "__FLD_176__", + "_id": "__REQ_3464__", "_type": "request", - "name": "Remove pull request review enforcement of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_203__", + "parentId": "__FLD_176__", + "_id": "__REQ_3465__", "_type": "request", - "name": "Get required signatures of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#get-required-signatures-of-protected-branch", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussions", "headers": [ { "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -4643,20 +4482,36 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_204__", + "parentId": "__FLD_176__", + "_id": "__REQ_3466__", "_type": "request", - "name": "Add required signatures of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#add-required-signatures-of-protected-branch", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -4664,448 +4519,550 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_205__", + "parentId": "__FLD_176__", + "_id": "__REQ_3467__", "_type": "request", - "name": "Remove required signatures of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-signatures-of-protected-branch", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_206__", + "parentId": "__FLD_176__", + "_id": "__REQ_3468__", "_type": "request", - "name": "Get required status checks of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch", - "headers": [], + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_207__", + "parentId": "__FLD_176__", + "_id": "__REQ_3469__", "_type": "request", - "name": "Update required status checks of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#update-required-status-checks-of-protected-branch", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_208__", + "parentId": "__FLD_176__", + "_id": "__REQ_3470__", "_type": "request", - "name": "Remove required status checks of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-status-checks-of-protected-branch", - "headers": [], + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_209__", + "parentId": "__FLD_176__", + "_id": "__REQ_3471__", "_type": "request", - "name": "List required status checks contexts of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", - "headers": [], + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_210__", + "parentId": "__FLD_176__", + "_id": "__REQ_3472__", "_type": "request", - "name": "Replace required status checks contexts of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", - "headers": [], + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_211__", + "parentId": "__FLD_176__", + "_id": "__REQ_3473__", "_type": "request", - "name": "Add required status checks contexts of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", - "headers": [], + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_212__", + "parentId": "__FLD_176__", + "_id": "__REQ_3474__", "_type": "request", - "name": "Remove required status checks contexts of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_213__", + "parentId": "__FLD_171__", + "_id": "__REQ_3475__", "_type": "request", - "name": "Get restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch. {{#note}}\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/v3/repos/branches/#get-restrictions-of-protected-branch", - "headers": [], + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_214__", + "parentId": "__FLD_171__", + "_id": "__REQ_3476__", "_type": "request", - "name": "Remove restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/v3/repos/branches/#remove-restrictions-of-protected-branch", - "headers": [], + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_215__", + "parentId": "__FLD_171__", + "_id": "__REQ_3477__", "_type": "request", - "name": "Get apps with access to protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://developer.github.com/v3/repos/branches/#list-apps-with-access-to-protected-branch", - "headers": [], + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_216__", + "parentId": "__FLD_171__", + "_id": "__REQ_3478__", "_type": "request", - "name": "Replace app restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-app-restrictions-of-protected-branch", - "headers": [], + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_217__", + "parentId": "__FLD_171__", + "_id": "__REQ_3479__", "_type": "request", - "name": "Add app restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-app-restrictions-of-protected-branch", - "headers": [], + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_218__", + "parentId": "__FLD_171__", + "_id": "__REQ_3480__", "_type": "request", - "name": "Remove app restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-app-restrictions-of-protected-branch", - "headers": [], + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_219__", + "parentId": "__FLD_176__", + "_id": "__REQ_3481__", "_type": "request", - "name": "Get teams with access to protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://developer.github.com/v3/repos/branches/#list-teams-with-access-to-protected-branch", + "name": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/invitations", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_220__", + "parentId": "__FLD_176__", + "_id": "__REQ_3482__", "_type": "request", - "name": "Replace team restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-team-restrictions-of-protected-branch", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_221__", + "parentId": "__FLD_176__", + "_id": "__REQ_3483__", "_type": "request", - "name": "Add team restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-team-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_222__", - "_type": "request", - "name": "Remove team restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-team-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_223__", - "_type": "request", - "name": "Get users with access to protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://developer.github.com/v3/repos/branches/#list-users-with-access-to-protected-branch", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_224__", + "parentId": "__FLD_176__", + "_id": "__REQ_3484__", "_type": "request", - "name": "Replace user restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-user-restrictions-of-protected-branch", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_225__", + "parentId": "__FLD_176__", + "_id": "__REQ_3485__", "_type": "request", - "name": "Add user restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-user-restrictions-of-protected-branch", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_226__", + "parentId": "__FLD_176__", + "_id": "__REQ_3486__", "_type": "request", - "name": "Remove user restrictions of protected branch", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-user-restrictions-of-protected-branch", - "headers": [], + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_227__", + "parentId": "__FLD_176__", + "_id": "__REQ_3487__", "_type": "request", - "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/v3/checks/runs/#create-a-check-run", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_228__", + "parentId": "__FLD_176__", + "_id": "__REQ_3488__", "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/v3/checks/runs/#update-a-check-run", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_229__", + "parentId": "__FLD_176__", + "_id": "__REQ_3489__", "_type": "request", - "name": "Get a single check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#get-a-single-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-project-from-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_230__", + "parentId": "__FLD_176__", + "_id": "__REQ_3490__", "_type": "request", - "name": "List annotations for a check run", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-annotations-for-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/v3/teams/#list-team-repositories", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", "body": {}, "parameters": [ { @@ -5121,154 +5078,100 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_231__", + "parentId": "__FLD_176__", + "_id": "__REQ_3491__", "_type": "request", - "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/v3/checks/suites/#create-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_232__", + "parentId": "__FLD_176__", + "_id": "__REQ_3492__", "_type": "request", - "name": "Set preferences for check suites on a repository", - "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-repository-permissions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_233__", + "parentId": "__FLD_176__", + "_id": "__REQ_3493__", "_type": "request", - "name": "Get a single check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/v3/checks/suites/#get-a-single-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-repository-from-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_234__", + "parentId": "__FLD_176__", + "_id": "__REQ_3494__", "_type": "request", - "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "List IdP groups for a team", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", "body": {}, - "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_235__", + "parentId": "__FLD_176__", + "_id": "__REQ_3495__", "_type": "request", - "name": "Rerequest check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/v3/checks/suites/#rerequest-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Create or update IdP group connections", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_236__", + "parentId": "__FLD_176__", + "_id": "__REQ_3496__", "_type": "request", - "name": "List collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/repos/collaborators/#list-collaborators", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/v3/teams/#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", "body": {}, "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -5282,79 +5185,99 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_237__", + "parentId": "__FLD_168__", + "_id": "__REQ_3497__", "_type": "request", - "name": "Check if a user is a collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", - "headers": [], + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_238__", + "parentId": "__FLD_168__", + "_id": "__REQ_3498__", "_type": "request", - "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://developer.github.com/v3/repos/invitations/).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator", - "headers": [], + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_239__", + "parentId": "__FLD_168__", + "_id": "__REQ_3499__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "\n\nhttps://developer.github.com/v3/repos/collaborators/#remove-user-as-a-collaborator", - "headers": [], + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_240__", + "parentId": "__FLD_168__", + "_id": "__REQ_3500__", "_type": "request", - "name": "Review a user's permission level", - "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level", - "headers": [], + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_241__", + "parentId": "__FLD_168__", + "_id": "__REQ_3501__", "_type": "request", - "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://developer.github.com/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/v3/media/).\n\nComments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-column", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5362,84 +5285,62 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_242__", + "parentId": "__FLD_168__", + "_id": "__REQ_3502__", "_type": "request", - "name": "Get a single commit comment", - "description": "\n\nhttps://developer.github.com/v3/repos/comments/#get-a-single-commit-comment", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-column", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_243__", + "parentId": "__FLD_168__", + "_id": "__REQ_3503__", "_type": "request", - "name": "Update a commit comment", - "description": "\n\nhttps://developer.github.com/v3/repos/comments/#update-a-commit-comment", - "headers": [], + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_244__", + "parentId": "__FLD_168__", + "_id": "__REQ_3504__", "_type": "request", - "name": "Delete a commit comment", - "description": "\n\nhttps://developer.github.com/v3/repos/comments/#delete-a-commit-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_21__", - "_id": "__REQ_245__", - "_type": "request", - "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://developer.github.com/v3/repos/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-cards", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5447,11 +5348,12 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [ { - "name": "content", + "name": "archived_state", + "value": "not_archived", "disabled": false }, { @@ -5467,15 +5369,15 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_246__", + "parentId": "__FLD_168__", + "_id": "__REQ_3505__", "_type": "request", - "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5483,67 +5385,41 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_247__", + "parentId": "__FLD_168__", + "_id": "__REQ_3506__", "_type": "request", - "name": "List commits on a repository", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/repos/commits/#list-commits-on-a-repository", - "headers": [], + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", "body": {}, - "parameters": [ - { - "name": "sha", - "disabled": false - }, - { - "name": "path", - "disabled": false - }, - { - "name": "author", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "until", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_248__", + "parentId": "__FLD_168__", + "_id": "__REQ_3507__", "_type": "request", - "name": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/v3/repos/commits/#list-branches-for-head-commit", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#get-a-project", "headers": [ { "name": "Accept", - "value": "application/vnd.github.groot-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5551,68 +5427,62 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_249__", + "parentId": "__FLD_168__", + "_id": "__REQ_3508__", "_type": "request", - "name": "List comments for a single commit", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\n\n\nhttps://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#update-a-project", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_250__", + "parentId": "__FLD_168__", + "_id": "__REQ_3509__", "_type": "request", - "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/repos/comments/#create-a-commit-comment", - "headers": [], + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_251__", + "parentId": "__FLD_168__", + "_id": "__REQ_3510__", "_type": "request", - "name": "List pull requests associated with commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/rest/reference/projects#list-project-collaborators", "headers": [ { "name": "Accept", - "value": "application/vnd.github.groot-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5620,9 +5490,14 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", "body": {}, "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -5636,76 +5511,78 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_252__", + "parentId": "__FLD_168__", + "_id": "__REQ_3511__", "_type": "request", - "name": "Get a single commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/v3/repos/commits/#get-a-single-commit", - "headers": [], + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_253__", + "parentId": "__FLD_168__", + "_id": "__REQ_3512__", "_type": "request", - "name": "List check runs for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-check-runs-for-a-specific-ref", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#remove-project-collaborator", "headers": [ { "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, - "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3513__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ { - "name": "page", - "value": 1, - "disabled": false + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" } - ] + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_254__", + "parentId": "__FLD_168__", + "_id": "__REQ_3514__", "_type": "request", - "name": "List check suites for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/v3/checks/suites/#list-check-suites-for-a-specific-ref", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-columns", "headers": [ { "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -5713,17 +5590,9 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [ - { - "name": "app_id", - "disabled": false - }, - { - "name": "check_name", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -5737,58 +5606,73 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_255__", + "parentId": "__FLD_168__", + "_id": "__REQ_3515__", "_type": "request", - "name": "Get the combined status for a specific ref", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", - "headers": [], + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_256__", + "parentId": "__FLD_170__", + "_id": "__REQ_3516__", "_type": "request", - "name": "List statuses for a specific ref", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "url": "{{ github_api_root }}/rate_limit", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3517__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-reaction-legacy", + "headers": [ { - "name": "page", - "value": 1, - "disabled": false + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" } - ] + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_257__", + "parentId": "__FLD_172__", + "_id": "__REQ_3518__", "_type": "request", - "name": "Get the contents of a repository's code of conduct", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/v3/repos/#get-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" } ], "authentication": { @@ -5796,238 +5680,231 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_258__", + "parentId": "__FLD_172__", + "_id": "__REQ_3519__", "_type": "request", - "name": "Retrieve community profile metrics", - "description": "This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE, README, and CONTRIBUTING files.\n\nhttps://developer.github.com/v3/repos/community/#retrieve-community-profile-metrics", - "headers": [], + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/profile", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_259__", + "parentId": "__FLD_172__", + "_id": "__REQ_3520__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/repos/commits/#compare-two-commits", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/v3/repos/#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_260__", + "parentId": "__FLD_147__", + "_id": "__REQ_3521__", "_type": "request", - "name": "Get contents", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/v3/repos/contents/#get-contents", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", "body": {}, "parameters": [ { - "name": "ref", + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_261__", + "parentId": "__FLD_147__", + "_id": "__REQ_3522__", "_type": "request", - "name": "Create or update a file", - "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/v3/repos/contents/#create-or-update-a-file", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_262__", + "parentId": "__FLD_147__", + "_id": "__REQ_3523__", "_type": "request", - "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/v3/repos/contents/#delete-a-file", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_263__", + "parentId": "__FLD_147__", + "_id": "__REQ_3524__", "_type": "request", - "name": "List contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/v3/repos/#list-contributors", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", "body": {}, - "parameters": [ - { - "name": "anon", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_264__", + "parentId": "__FLD_147__", + "_id": "__REQ_3525__", "_type": "request", - "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/v3/repos/deployments/#list-deployments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", "body": {}, - "parameters": [ - { - "name": "sha", - "value": "none", - "disabled": false - }, - { - "name": "ref", - "value": "none", - "disabled": false - }, - { - "name": "task", - "value": "none", - "disabled": false - }, - { - "name": "environment", - "value": "none", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_265__", + "parentId": "__FLD_147__", + "_id": "__REQ_3526__", "_type": "request", - "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/v3/repos/deployments/#create-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_266__", + "parentId": "__FLD_147__", + "_id": "__REQ_3527__", "_type": "request", - "name": "Get a single deployment", - "description": "\n\nhttps://developer.github.com/v3/repos/deployments/#get-a-single-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_267__", + "parentId": "__FLD_147__", + "_id": "__REQ_3528__", "_type": "request", - "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/v3/repos/deployments/#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3529__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3530__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3531__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", "body": {}, "parameters": [ { @@ -6043,78 +5920,116 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_268__", + "parentId": "__FLD_147__", + "_id": "__REQ_3532__", "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/v3/repos/deployments/#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3533__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_269__", + "parentId": "__FLD_147__", + "_id": "__REQ_3534__", "_type": "request", - "name": "Get a single deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/v3/repos/deployments/#get-a-single-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3535__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_270__", + "parentId": "__FLD_147__", + "_id": "__REQ_3536__", "_type": "request", - "name": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://developer.github.com/v3/activity/events/types/#repositorydispatchevent).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. For a test example, see the [input example](https://developer.github.com/v3/repos/#example-4).\n\nTo give you write access to the repository, you must use a personal access token with the `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://developer.github.com/v3/repos/#create-a-repository-dispatch-event", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_271__", + "parentId": "__FLD_147__", + "_id": "__REQ_3537__", "_type": "request", - "name": "List downloads for a repository", - "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#list-downloads-for-a-repository", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", "body": {}, "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -6128,50 +6043,50 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_272__", + "parentId": "__FLD_147__", + "_id": "__REQ_3538__", "_type": "request", - "name": "Get a single download", - "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#get-a-single-download", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_273__", + "parentId": "__FLD_147__", + "_id": "__REQ_3539__", "_type": "request", - "name": "Delete a download", - "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#delete-a-download", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_274__", + "parentId": "__FLD_147__", + "_id": "__REQ_3540__", "_type": "request", - "name": "List repository events", - "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-repository-events", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-run-artifacts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", "body": {}, "parameters": [ { @@ -6187,23 +6102,39 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_275__", + "parentId": "__FLD_147__", + "_id": "__REQ_3541__", "_type": "request", - "name": "List forks", - "description": "\n\nhttps://developer.github.com/v3/repos/forks/#list-forks", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3542__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", "body": {}, "parameters": [ { - "name": "sort", - "value": "newest", + "name": "filter", + "value": "latest", "disabled": false }, { @@ -6219,98 +6150,82 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_276__", - "_type": "request", - "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com).\n\nhttps://developer.github.com/v3/repos/forks/#create-a-fork", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_8__", - "_id": "__REQ_277__", + "parentId": "__FLD_147__", + "_id": "__REQ_3543__", "_type": "request", - "name": "Create a blob", - "description": "\n\nhttps://developer.github.com/v3/git/blobs/#create-a-blob", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-workflow-run-logs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_278__", + "parentId": "__FLD_147__", + "_id": "__REQ_3544__", "_type": "request", - "name": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/v3/git/blobs/#get-a-blob", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-workflow-run-logs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_279__", + "parentId": "__FLD_147__", + "_id": "__REQ_3545__", "_type": "request", - "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/commits/#create-a-commit", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_280__", + "parentId": "__FLD_147__", + "_id": "__REQ_3546__", "_type": "request", - "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/commits/#get-a-commit", + "name": "Get workflow run usage", + "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-run-usage", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/timing", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_281__", + "parentId": "__FLD_147__", + "_id": "__REQ_3547__", "_type": "request", - "name": "List matching references", - "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://developer.github.com/v3/git/refs/#list-matching-references", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-secrets", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", "body": {}, "parameters": [ { @@ -6326,153 +6241,191 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_282__", + "parentId": "__FLD_147__", + "_id": "__REQ_3548__", "_type": "request", - "name": "Get a single reference", - "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nTo get the reference for a branch named `skunkworkz/featureA`, the endpoint route is:\n\nhttps://developer.github.com/v3/git/refs/#get-a-single-reference", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_283__", + "parentId": "__FLD_147__", + "_id": "__REQ_3549__", "_type": "request", - "name": "Create a reference", - "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/v3/git/refs/#create-a-reference", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_284__", + "parentId": "__FLD_147__", + "_id": "__REQ_3550__", "_type": "request", - "name": "Update a reference", - "description": "\n\nhttps://developer.github.com/v3/git/refs/#update-a-reference", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_285__", + "parentId": "__FLD_147__", + "_id": "__REQ_3551__", "_type": "request", - "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/v3/git/refs/#delete-a-reference", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_286__", + "parentId": "__FLD_147__", + "_id": "__REQ_3552__", "_type": "request", - "name": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/tags/#create-a-tag-object", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-workflows", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_287__", + "parentId": "__FLD_147__", + "_id": "__REQ_3553__", "_type": "request", - "name": "Get a tag", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/tags/#get-a-tag", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_288__", + "parentId": "__FLD_147__", + "_id": "__REQ_3554__", "_type": "request", - "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/v3/git/trees/#create-a-tree", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3555__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", "body": {}, "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_289__", + "parentId": "__FLD_147__", + "_id": "__REQ_3556__", "_type": "request", - "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/v3/git/trees/#get-a-tree", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", "body": {}, - "parameters": [ - { - "name": "recursive", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_290__", + "parentId": "__FLD_147__", + "_id": "__REQ_3557__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#list-hooks", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", "body": {}, "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -6486,265 +6439,327 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_291__", + "parentId": "__FLD_147__", + "_id": "__REQ_3558__", "_type": "request", - "name": "Create a hook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/v3/repos/hooks/#create-a-hook", + "name": "Get workflow usage", + "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-usage", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/timing", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_292__", + "parentId": "__FLD_161__", + "_id": "__REQ_3559__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#get-single-hook", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_293__", + "parentId": "__FLD_161__", + "_id": "__REQ_3560__", "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#edit-a-hook", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_294__", + "parentId": "__FLD_172__", + "_id": "__REQ_3561__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#delete-a-hook", - "headers": [], + "name": "Enable automated security fixes", + "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#enable-automated-security-fixes", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.london-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_295__", + "parentId": "__FLD_172__", + "_id": "__REQ_3562__", "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/v3/repos/hooks/#ping-a-hook", - "headers": [], + "name": "Disable automated security fixes", + "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#disable-automated-security-fixes", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.london-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_296__", + "parentId": "__FLD_172__", + "_id": "__REQ_3563__", "_type": "request", - "name": "Test a push hook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/v3/repos/hooks/#test-a-push-hook", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-branches", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_297__", + "parentId": "__FLD_172__", + "_id": "__REQ_3564__", "_type": "request", - "name": "Start an import", - "description": "Start a source import to a GitHub repository using GitHub Importer.\n\nhttps://developer.github.com/v3/migrations/source_imports/#start-an-import", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_298__", + "parentId": "__FLD_172__", + "_id": "__REQ_3565__", "_type": "request", - "name": "Get import progress", - "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://developer.github.com/v3/migrations/source_imports/#cancel-an-import) and [retry](https://developer.github.com/v3/migrations/source_imports/#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-import-progress", - "headers": [], + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_299__", + "parentId": "__FLD_172__", + "_id": "__REQ_3566__", "_type": "request", - "name": "Update existing import", - "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted.\n\nSome servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request.\n\nThe following example demonstrates the workflow for updating an import with \"project1\" as the project choice. Given a `project_choices` array like such:\n\nTo restart an import, no parameters are provided in the update request.\n\nhttps://developer.github.com/v3/migrations/source_imports/#update-existing-import", - "headers": [], + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_300__", + "parentId": "__FLD_172__", + "_id": "__REQ_3567__", "_type": "request", - "name": "Cancel an import", - "description": "Stop an import for a repository.\n\nhttps://developer.github.com/v3/migrations/source_imports/#cancel-an-import", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_301__", + "parentId": "__FLD_172__", + "_id": "__REQ_3568__", "_type": "request", - "name": "Get commit authors", - "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis API method and the \"Map a commit author\" method allow you to provide correct Git author information.\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-commit-authors", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/authors", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_302__", + "parentId": "__FLD_172__", + "_id": "__REQ_3569__", "_type": "request", - "name": "Map a commit author", - "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.\n\nhttps://developer.github.com/v3/migrations/source_imports/#map-a-commit-author", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/authors/{{ author_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_303__", + "parentId": "__FLD_172__", + "_id": "__REQ_3570__", "_type": "request", - "name": "Get large files", - "description": "List files larger than 100MB found during the import\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-large-files", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/large_files", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_304__", + "parentId": "__FLD_172__", + "_id": "__REQ_3571__", "_type": "request", - "name": "Set Git LFS preference", - "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).\n\nhttps://developer.github.com/v3/migrations/source_imports/#set-git-lfs-preference", - "headers": [], + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/lfs", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_305__", + "parentId": "__FLD_172__", + "_id": "__REQ_3572__", "_type": "request", - "name": "Get a repository installation", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-a-repository-installation", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/rest/reference/repos#update-pull-request-review-protection", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" + "value": "application/vnd.github.luke-cage-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", "body": {}, "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_306__", + "parentId": "__FLD_172__", + "_id": "__REQ_3573__", "_type": "request", - "name": "Get interaction restrictions for a repository", - "description": "Shows which group of GitHub users can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3574__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#get-commit-signature-protection", "headers": [ { "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" + "value": "application/vnd.github.zzzax-preview+json" } ], "authentication": { @@ -6752,41 +6767,41 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", "body": {}, "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_307__", + "parentId": "__FLD_172__", + "_id": "__REQ_3575__", "_type": "request", - "name": "Add or update interaction restrictions for a repository", - "description": "Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions.\n\nhttps://developer.github.com/v3/interactions/repos/#add-or-update-interaction-restrictions-for-a-repository", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#create-commit-signature-protection", "headers": [ { "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" + "value": "application/vnd.github.zzzax-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", "body": {}, "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_308__", + "parentId": "__FLD_172__", + "_id": "__REQ_3576__", "_type": "request", - "name": "Remove interaction restrictions for a repository", - "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions.\n\nhttps://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#delete-commit-signature-protection", "headers": [ { "name": "Accept", - "value": "application/vnd.github.sombra-preview+json" + "value": "application/vnd.github.zzzax-preview+json" } ], "authentication": { @@ -6794,668 +6809,511 @@ "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_309__", + "parentId": "__FLD_172__", + "_id": "__REQ_3577__", "_type": "request", - "name": "List invitations for a repository", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_310__", + "parentId": "__FLD_172__", + "_id": "__REQ_3578__", "_type": "request", - "name": "Delete a repository invitation", - "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#update-status-check-potection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_311__", + "parentId": "__FLD_172__", + "_id": "__REQ_3579__", "_type": "request", - "name": "Update a repository invitation", - "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#update-a-repository-invitation", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_312__", + "parentId": "__FLD_172__", + "_id": "__REQ_3580__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-all-status-check-contexts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, - "parameters": [ - { - "name": "milestone", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "assignee", - "disabled": false - }, - { - "name": "creator", - "disabled": false - }, - { - "name": "mentioned", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_313__", + "parentId": "__FLD_172__", + "_id": "__REQ_3581__", "_type": "request", - "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/issues/#create-an-issue", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_314__", + "parentId": "__FLD_172__", + "_id": "__REQ_3582__", "_type": "request", - "name": "List comments in a repository", - "description": "By default, Issue Comments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/issues/comments/#list-comments-in-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#set-status-check-contexts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "since", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_315__", + "parentId": "__FLD_172__", + "_id": "__REQ_3583__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/v3/issues/comments/#get-a-single-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-contexts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_316__", + "parentId": "__FLD_172__", + "_id": "__REQ_3584__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/v3/issues/comments/#edit-a-comment", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_317__", + "parentId": "__FLD_172__", + "_id": "__REQ_3585__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/v3/issues/comments/#delete-a-comment", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_318__", + "parentId": "__FLD_172__", + "_id": "__REQ_3586__", "_type": "request", - "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://developer.github.com/v3/issues/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_319__", + "parentId": "__FLD_172__", + "_id": "__REQ_3587__", "_type": "request", - "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-app-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_320__", + "parentId": "__FLD_172__", + "_id": "__REQ_3588__", "_type": "request", - "name": "List events for a repository", - "description": "\n\nhttps://developer.github.com/v3/issues/events/#list-events-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-app-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_321__", + "parentId": "__FLD_172__", + "_id": "__REQ_3589__", "_type": "request", - "name": "Get a single event", - "description": "\n\nhttps://developer.github.com/v3/issues/events/#get-a-single-event", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.machine-man-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-app-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_322__", + "parentId": "__FLD_172__", + "_id": "__REQ_3590__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#get-a-single-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_323__", + "parentId": "__FLD_172__", + "_id": "__REQ_3591__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/v3/issues/#edit-an-issue", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_324__", + "parentId": "__FLD_172__", + "_id": "__REQ_3592__", "_type": "request", - "name": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_325__", + "parentId": "__FLD_172__", + "_id": "__REQ_3593__", "_type": "request", - "name": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_326__", + "parentId": "__FLD_172__", + "_id": "__REQ_3594__", "_type": "request", - "name": "List comments on an issue", - "description": "Issue Comments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/issues/comments/#list-comments-on-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_327__", + "parentId": "__FLD_172__", + "_id": "__REQ_3595__", "_type": "request", - "name": "Create a comment", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/issues/comments/#create-a-comment", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_328__", + "parentId": "__FLD_172__", + "_id": "__REQ_3596__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/events/#list-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-user-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_329__", + "parentId": "__FLD_172__", + "_id": "__REQ_3597__", "_type": "request", - "name": "List labels on an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#list-labels-on-an-issue", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_330__", + "parentId": "__FLD_172__", + "_id": "__REQ_3598__", "_type": "request", - "name": "Add labels to an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#add-labels-to-an-issue", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/rest/reference/repos#rename-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_331__", + "parentId": "__FLD_152__", + "_id": "__REQ_3599__", "_type": "request", - "name": "Replace all labels for an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#replace-all-labels-for-an-issue", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_332__", + "parentId": "__FLD_152__", + "_id": "__REQ_3600__", "_type": "request", - "name": "Remove all labels from an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", - "body": {}, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_333__", + "parentId": "__FLD_152__", + "_id": "__REQ_3601__", "_type": "request", - "name": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/rest/reference/checks#update-a-check-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_334__", + "parentId": "__FLD_152__", + "_id": "__REQ_3602__", "_type": "request", - "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/issues/#lock-an-issue", - "headers": [ + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3603__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_335__", + "parentId": "__FLD_152__", + "_id": "__REQ_3604__", "_type": "request", - "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/v3/issues/#unlock-an-issue", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_336__", + "parentId": "__FLD_152__", + "_id": "__REQ_3605__", "_type": "request", - "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://developer.github.com/v3/issues/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3606__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", "body": {}, "parameters": [ { - "name": "content", + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", "disabled": false }, { @@ -7471,148 +7329,139 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_337__", + "parentId": "__FLD_152__", + "_id": "__REQ_3607__", "_type": "request", - "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://developer.github.com/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/rest/reference/checks#rerequest-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_338__", + "parentId": "__FLD_153__", + "_id": "__REQ_3608__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/v3/issues/timeline/#list-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" - } - ], + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "state", "disabled": false }, { - "name": "page", - "value": 1, + "name": "ref", "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_339__", + "parentId": "__FLD_153__", + "_id": "__REQ_3609__", "_type": "request", - "name": "List deploy keys", - "description": "\n\nhttps://developer.github.com/v3/repos/keys/#list-deploy-keys", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_340__", + "parentId": "__FLD_153__", + "_id": "__REQ_3610__", "_type": "request", - "name": "Add a new deploy key", - "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/v3/repos/keys/#add-a-new-deploy-key", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_341__", + "parentId": "__FLD_153__", + "_id": "__REQ_3611__", "_type": "request", - "name": "Get a deploy key", - "description": "\n\nhttps://developer.github.com/v3/repos/keys/#get-a-deploy-key", + "name": "List recent code scanning analyses for a repository", + "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-recent-analyses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "ref", + "disabled": false + }, + { + "name": "tool_name", + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_342__", + "parentId": "__FLD_153__", + "_id": "__REQ_3612__", "_type": "request", - "name": "Remove a deploy key", - "description": "\n\nhttps://developer.github.com/v3/repos/keys/#remove-a-deploy-key", + "name": "Upload a SARIF file", + "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-sarif-analysis", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_343__", + "parentId": "__FLD_172__", + "_id": "__REQ_3613__", "_type": "request", - "name": "List all labels for this repository", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-collaborators", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", "body": {}, "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -7626,145 +7475,176 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_344__", + "parentId": "__FLD_172__", + "_id": "__REQ_3614__", "_type": "request", - "name": "Create a label", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#create-a-label", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_345__", + "parentId": "__FLD_172__", + "_id": "__REQ_3615__", "_type": "request", - "name": "Get a single label", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#get-a-single-label", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_346__", + "parentId": "__FLD_172__", + "_id": "__REQ_3616__", "_type": "request", - "name": "Update a label", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#update-a-label", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#remove-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_347__", + "parentId": "__FLD_172__", + "_id": "__REQ_3617__", "_type": "request", - "name": "Delete a label", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#delete-a-label", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_348__", + "parentId": "__FLD_172__", + "_id": "__REQ_3618__", "_type": "request", - "name": "List languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/v3/repos/#list-languages", - "headers": [], + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_349__", + "parentId": "__FLD_172__", + "_id": "__REQ_3619__", "_type": "request", - "name": "Get the contents of a repository's license", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license", - "headers": [], + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_350__", + "parentId": "__FLD_172__", + "_id": "__REQ_3620__", "_type": "request", - "name": "Perform a merge", - "description": "\n\nhttps://developer.github.com/v3/repos/merging/#perform-a-merge", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_351__", + "parentId": "__FLD_172__", + "_id": "__REQ_3621__", "_type": "request", - "name": "List milestones for a repository", - "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3622__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", "body": {}, "parameters": [ { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "sort", - "value": "due_on", - "disabled": false - }, - { - "name": "direction", - "value": "asc", + "name": "content", "disabled": false }, { @@ -7780,82 +7660,133 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_352__", + "parentId": "__FLD_171__", + "_id": "__REQ_3623__", "_type": "request", - "name": "Create a milestone", - "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#create-a-milestone", - "headers": [], + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_353__", + "parentId": "__FLD_171__", + "_id": "__REQ_3624__", "_type": "request", - "name": "Get a single milestone", - "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#get-a-single-milestone", - "headers": [], + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_354__", + "parentId": "__FLD_172__", + "_id": "__REQ_3625__", "_type": "request", - "name": "Update a milestone", - "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#update-a-milestone", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#list-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_355__", + "parentId": "__FLD_172__", + "_id": "__REQ_3626__", "_type": "request", - "name": "Delete a milestone", - "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#delete-a-milestone", - "headers": [], + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_356__", + "parentId": "__FLD_172__", + "_id": "__REQ_3627__", "_type": "request", - "name": "Get labels for every issue in a milestone", - "description": "\n\nhttps://developer.github.com/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", - "headers": [], + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", "body": {}, "parameters": [ { @@ -7871,36 +7802,95 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_357__", + "parentId": "__FLD_172__", + "_id": "__REQ_3628__", "_type": "request", - "name": "List your notifications in a repository", - "description": "List all notifications for the current user.\n\nhttps://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3629__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", "body": {}, "parameters": [ { - "name": "all", - "value": false, + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "participating", - "value": false, + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3630__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3631__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", "disabled": false }, { - "name": "since", + "name": "status", "disabled": false }, { - "name": "before", + "name": "filter", + "value": "latest", "disabled": false }, { @@ -7916,193 +7906,206 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_358__", + "parentId": "__FLD_152__", + "_id": "__REQ_3632__", "_type": "request", - "name": "Mark notifications as read in a repository", - "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_359__", + "parentId": "__FLD_172__", + "_id": "__REQ_3633__", "_type": "request", - "name": "Get information about a Pages site", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_360__", + "parentId": "__FLD_172__", + "_id": "__REQ_3634__", "_type": "request", - "name": "Enable a Pages site", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#enable-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" - } - ], + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_361__", + "parentId": "__FLD_154__", + "_id": "__REQ_3635__", "_type": "request", - "name": "Disable a Pages site", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#disable-a-pages-site", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" + "value": "application/vnd.github.scarlet-witch-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_362__", + "parentId": "__FLD_172__", + "_id": "__REQ_3636__", "_type": "request", - "name": "Update information about a Pages site", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#update-information-about-a-pages-site", + "name": "Get community profile metrics", + "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-community-profile-metrics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/profile", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_363__", + "parentId": "__FLD_172__", + "_id": "__REQ_3637__", "_type": "request", - "name": "Request a page build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/v3/repos/pages/#request-a-page-build", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#compare-two-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_364__", + "parentId": "__FLD_172__", + "_id": "__REQ_3638__", "_type": "request", - "name": "List Pages builds", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#list-pages-builds", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-content", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "ref", "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_365__", + "parentId": "__FLD_172__", + "_id": "__REQ_3639__", "_type": "request", - "name": "Get latest Pages build", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-latest-pages-build", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/rest/reference/repos#create-or-update-file-contents", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_366__", + "parentId": "__FLD_172__", + "_id": "__REQ_3640__", "_type": "request", - "name": "Get a specific Pages build", - "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-a-specific-pages-build", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-file", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_367__", + "parentId": "__FLD_172__", + "_id": "__REQ_3641__", "_type": "request", - "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#list-repository-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/v3/repos/#list-repository-contributors", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", "body": {}, "parameters": [ { - "name": "state", - "value": "open", + "name": "anon", "disabled": false }, { @@ -8118,36 +8121,15 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_368__", - "_type": "request", - "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#create-a-repository-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_19__", - "_id": "__REQ_369__", + "parentId": "__FLD_172__", + "_id": "__REQ_3642__", "_type": "request", - "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/pulls/#list-pull-requests", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/rest/reference/repos#list-deployments", "headers": [ { "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8155,29 +8137,27 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", "body": {}, "parameters": [ { - "name": "state", - "value": "open", + "name": "sha", + "value": "none", "disabled": false }, { - "name": "head", + "name": "ref", + "value": "none", "disabled": false }, { - "name": "base", + "name": "task", + "value": "none", "disabled": false }, { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", + "name": "environment", + "value": "none", "disabled": false }, { @@ -8193,15 +8173,15 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_370__", + "parentId": "__FLD_172__", + "_id": "__REQ_3643__", "_type": "request", - "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/#create-a-pull-request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8209,65 +8189,20 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_371__", - "_type": "request", - "name": "List comments in a repository", - "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nLists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_19__", - "_id": "__REQ_372__", + "parentId": "__FLD_172__", + "_id": "__REQ_3644__", "_type": "request", - "name": "Get a single comment", - "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nProvides details for a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#get-a-single-comment", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8275,57 +8210,36 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_19__", - "_id": "__REQ_373__", - "_type": "request", - "name": "Edit a comment", - "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nEnables you to edit a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/v3/pulls/comments/#edit-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_374__", + "parentId": "__FLD_172__", + "_id": "__REQ_3645__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a review comment.\n\nhttps://developer.github.com/v3/pulls/comments/#delete-a-comment", + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deployment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_375__", + "parentId": "__FLD_172__", + "_id": "__REQ_3646__", "_type": "request", - "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://developer.github.com/v3/pulls/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#list-deployment-statuses", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8333,13 +8247,9 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [ - { - "name": "content", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -8353,15 +8263,15 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_376__", + "parentId": "__FLD_172__", + "_id": "__REQ_3647__", "_type": "request", - "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment-status", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8369,20 +8279,20 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_377__", + "parentId": "__FLD_172__", + "_id": "__REQ_3648__", "_type": "request", - "name": "Get a single pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/v3/pulls/#get-a-single-pull-request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment-status", "headers": [ { "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8390,62 +8300,71 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_378__", + "parentId": "__FLD_172__", + "_id": "__REQ_3649__", "_type": "request", - "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://developer.github.com/v3/pulls/#update-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/v3/repos/#create-a-repository-dispatch-event", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_379__", + "parentId": "__FLD_148__", + "_id": "__REQ_3650__", "_type": "request", - "name": "List comments on a pull request", - "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nLists review comments for a pull request. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-repository-events", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", "body": {}, "parameters": [ { - "name": "sort", - "value": "created", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "direction", + "name": "page", + "value": 1, "disabled": false - }, + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3651__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ { - "name": "since", + "name": "sort", + "value": "newest", "disabled": false }, { @@ -8461,141 +8380,98 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_380__", + "parentId": "__FLD_172__", + "_id": "__REQ_3652__", "_type": "request", - "name": "Create a comment", - "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/v3/issues/comments/#create-a-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see [Multi-line comment summary](https://developer.github.com/v3/pulls/comments/#multi-line-comment-summary-3).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/v3/pulls/comments/#create-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/rest/reference/repos#create-a-fork", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_381__", + "parentId": "__FLD_158__", + "_id": "__REQ_3653__", "_type": "request", - "name": "Create a review comment reply", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/comments/#create-a-review-comment-reply", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/rest/reference/git#create-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_382__", - "_type": "request", - "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/v3/pulls/#list-commits-on-a-pull-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_19__", - "_id": "__REQ_383__", + "parentId": "__FLD_158__", + "_id": "__REQ_3654__", "_type": "request", - "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/v3/pulls/#list-pull-requests-files", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/rest/reference/git#get-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_384__", + "parentId": "__FLD_158__", + "_id": "__REQ_3655__", "_type": "request", - "name": "Get if a pull request has been merged", - "description": "\n\nhttps://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_385__", + "parentId": "__FLD_158__", + "_id": "__REQ_3656__", "_type": "request", - "name": "Merge a pull request (Merge Button)", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_386__", + "parentId": "__FLD_158__", + "_id": "__REQ_3657__", "_type": "request", - "name": "List review requests", - "description": "\n\nhttps://developer.github.com/v3/pulls/review_requests/#list-review-requests", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/rest/reference/git#list-matching-references", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", "body": {}, "parameters": [ { @@ -8611,563 +8487,503 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_387__", + "parentId": "__FLD_158__", + "_id": "__REQ_3658__", "_type": "request", - "name": "Create a review request", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/review_requests/#create-a-review-request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/rest/reference/git#get-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_388__", + "parentId": "__FLD_158__", + "_id": "__REQ_3659__", "_type": "request", - "name": "Delete a review request", - "description": "\n\nhttps://developer.github.com/v3/pulls/review_requests/#delete-a-review-request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/rest/reference/git#create-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_389__", + "parentId": "__FLD_158__", + "_id": "__REQ_3660__", "_type": "request", - "name": "List reviews on a pull request", - "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/rest/reference/git#update-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_390__", + "parentId": "__FLD_158__", + "_id": "__REQ_3661__", "_type": "request", - "name": "Create a pull request review", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/rest/reference/git#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_391__", + "parentId": "__FLD_158__", + "_id": "__REQ_3662__", "_type": "request", - "name": "Get a single review", - "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#get-a-single-review", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-tag-object", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_392__", + "parentId": "__FLD_158__", + "_id": "__REQ_3663__", "_type": "request", - "name": "Delete a pending review", - "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#delete-a-pending-review", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-tag", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_393__", + "parentId": "__FLD_158__", + "_id": "__REQ_3664__", "_type": "request", - "name": "Update a pull request review", - "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/v3/pulls/reviews/#update-a-pull-request-review", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", "body": {}, "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_394__", + "parentId": "__FLD_158__", + "_id": "__REQ_3665__", "_type": "request", - "name": "Get comments for a single review", - "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/rest/reference/git#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "recursive", "disabled": false } ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_395__", + "parentId": "__FLD_172__", + "_id": "__REQ_3666__", "_type": "request", - "name": "Dismiss a pull request review", - "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/v3/pulls/reviews/#dismiss-a-pull-request-review", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_396__", + "parentId": "__FLD_172__", + "_id": "__REQ_3667__", "_type": "request", - "name": "Submit a pull request review", - "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#submit-a-pull-request-review", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_19__", - "_id": "__REQ_397__", - "_type": "request", - "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/v3/pulls/#update-a-pull-request-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.lydian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_398__", + "parentId": "__FLD_172__", + "_id": "__REQ_3668__", "_type": "request", - "name": "Get the README", - "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/v3/repos/contents/#get-the-readme", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", "body": {}, - "parameters": [ - { - "name": "ref", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_399__", + "parentId": "__FLD_172__", + "_id": "__REQ_3669__", "_type": "request", - "name": "List releases for a repository", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/v3/repos/releases/#list-releases-for-a-repository", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_400__", + "parentId": "__FLD_172__", + "_id": "__REQ_3670__", "_type": "request", - "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/repos/releases/#create-a-release", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_401__", + "parentId": "__FLD_172__", + "_id": "__REQ_3671__", "_type": "request", - "name": "Get a single release asset", - "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.\n\nhttps://developer.github.com/v3/repos/releases/#get-a-single-release-asset", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/v3/repos#get-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_402__", + "parentId": "__FLD_172__", + "_id": "__REQ_3672__", "_type": "request", - "name": "Edit a release asset", - "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/v3/repos/releases/#edit-a-release-asset", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/v3/repos#update-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_403__", + "parentId": "__FLD_172__", + "_id": "__REQ_3673__", "_type": "request", - "name": "Delete a release asset", - "description": "\n\nhttps://developer.github.com/v3/repos/releases/#delete-a-release-asset", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_404__", + "parentId": "__FLD_172__", + "_id": "__REQ_3674__", "_type": "request", - "name": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/v3/repos/releases/#get-the-latest-release", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/rest/reference/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_405__", + "parentId": "__FLD_165__", + "_id": "__REQ_3675__", "_type": "request", - "name": "Get a release by tag name", - "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name", + "name": "Get an import status", + "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-import-status", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_406__", + "parentId": "__FLD_165__", + "_id": "__REQ_3676__", "_type": "request", - "name": "Get a single release", - "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).\n\nhttps://developer.github.com/v3/repos/releases/#get-a-single-release", + "name": "Start an import", + "description": "Start a source import to a GitHub repository using GitHub Importer.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-import", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_407__", + "parentId": "__FLD_165__", + "_id": "__REQ_3677__", "_type": "request", - "name": "Edit a release", - "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/v3/repos/releases/#edit-a-release", + "name": "Update an import", + "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.\n\nhttps://docs.github.com/rest/reference/migrations#update-an-import", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_408__", + "parentId": "__FLD_165__", + "_id": "__REQ_3678__", "_type": "request", - "name": "Delete a release", - "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/v3/repos/releases/#delete-a-release", + "name": "Cancel an import", + "description": "Stop an import for a repository.\n\nhttps://docs.github.com/rest/reference/migrations#cancel-an-import", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_409__", + "parentId": "__FLD_165__", + "_id": "__REQ_3679__", "_type": "request", - "name": "List assets for a release", - "description": "\n\nhttps://developer.github.com/v3/repos/releases/#list-assets-for-a-release", + "name": "Get commit authors", + "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information.\n\nhttps://docs.github.com/rest/reference/migrations#get-commit-authors", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/authors", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "since", "disabled": false } ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_410__", + "parentId": "__FLD_165__", + "_id": "__REQ_3680__", "_type": "request", - "name": "List Stargazers", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-stargazers", + "name": "Map a commit author", + "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.\n\nhttps://docs.github.com/rest/reference/migrations#map-a-commit-author", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/authors/{{ author_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_411__", + "parentId": "__FLD_165__", + "_id": "__REQ_3681__", "_type": "request", - "name": "Get the number of additions and deletions per week", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", + "name": "Get large files", + "description": "List files larger than 100MB found during the import\n\nhttps://docs.github.com/rest/reference/migrations#get-large-files", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/large_files", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_412__", + "parentId": "__FLD_165__", + "_id": "__REQ_3682__", "_type": "request", - "name": "Get the last year of commit activity data", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", + "name": "Update Git LFS preference", + "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).\n\nhttps://docs.github.com/rest/reference/migrations#update-git-lfs-preference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/import/lfs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_413__", + "parentId": "__FLD_149__", + "_id": "__REQ_3683__", "_type": "request", - "name": "Get contributors list with additions, deletions, and commit counts", - "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_414__", + "parentId": "__FLD_160__", + "_id": "__REQ_3684__", "_type": "request", - "name": "Get the weekly commit count for the repository owner and everyone else", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", + "name": "Get interaction restrictions for a repository", + "description": "Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_415__", + "parentId": "__FLD_160__", + "_id": "__REQ_3685__", "_type": "request", - "name": "Get the number of commits per hour in each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", + "name": "Set interaction restrictions for a repository", + "description": "Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_416__", + "parentId": "__FLD_160__", + "_id": "__REQ_3686__", "_type": "request", - "name": "Create a status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/v3/repos/statuses/#create-a-status", + "name": "Remove interaction restrictions for a repository", + "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_417__", + "parentId": "__FLD_172__", + "_id": "__REQ_3687__", "_type": "request", - "name": "List watchers", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-watchers", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", "body": {}, "parameters": [ { @@ -9183,95 +8999,96 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_418__", - "_type": "request", - "name": "Get a Repository Subscription", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#get-a-repository-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_2__", - "_id": "__REQ_419__", + "parentId": "__FLD_172__", + "_id": "__REQ_3688__", "_type": "request", - "name": "Set a Repository Subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/v3/activity/watching/#set-a-repository-subscription", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_420__", + "parentId": "__FLD_172__", + "_id": "__REQ_3689__", "_type": "request", - "name": "Delete a Repository Subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/v3/activity/watching/#delete-a-repository-subscription", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_421__", + "parentId": "__FLD_161__", + "_id": "__REQ_3690__", "_type": "request", - "name": "List tags", - "description": "\n\nhttps://developer.github.com/v3/repos/#list-tags", - "headers": [], + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "milestone", "disabled": false }, { - "name": "page", - "value": 1, + "name": "state", + "value": "open", "disabled": false - } - ] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_422__", - "_type": "request", - "name": "List teams", - "description": "\n\nhttps://developer.github.com/v3/repos/#list-teams", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", - "body": {}, - "parameters": [ + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -9285,149 +9102,129 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_423__", + "parentId": "__FLD_161__", + "_id": "__REQ_3691__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/v3/repos/#list-all-topics-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/issues/#create-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_424__", + "parentId": "__FLD_161__", + "_id": "__REQ_3692__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/v3/repos/#replace-all-topics-for-a-repository", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_425__", - "_type": "request", - "name": "Clones", - "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://developer.github.com/v3/repos/traffic/#clones", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/clones", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", "body": {}, "parameters": [ { - "name": "per", - "value": "day", + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_426__", + "parentId": "__FLD_161__", + "_id": "__REQ_3693__", "_type": "request", - "name": "List paths", - "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://developer.github.com/v3/repos/traffic/#list-paths", - "headers": [], + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/popular/paths", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_427__", + "parentId": "__FLD_161__", + "_id": "__REQ_3694__", "_type": "request", - "name": "List referrers", - "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://developer.github.com/v3/repos/traffic/#list-referrers", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/popular/referrers", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_428__", - "_type": "request", - "name": "Views", - "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://developer.github.com/v3/repos/traffic/#views", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/views", - "body": {}, - "parameters": [ - { - "name": "per", - "value": "day", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_429__", + "parentId": "__FLD_161__", + "_id": "__REQ_3695__", "_type": "request", - "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/v3/repos/#transfer-a-repository", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_430__", + "parentId": "__FLD_171__", + "_id": "__REQ_3696__", "_type": "request", - "name": "Check if vulnerability alerts are enabled for a repository", - "description": "Shows whether vulnerability alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9435,41 +9232,56 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_431__", + "parentId": "__FLD_171__", + "_id": "__REQ_3697__", "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#enable-vulnerability-alerts", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_432__", + "parentId": "__FLD_171__", + "_id": "__REQ_3698__", "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#disable-vulnerability-alerts", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-comment-reaction", "headers": [ { "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9477,66 +9289,30 @@ "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_433__", - "_type": "request", - "name": "Get archive link", - "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/v3/repos/contents/#get-archive-link", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_434__", + "parentId": "__FLD_161__", + "_id": "__REQ_3699__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/v3/repos/#create-repository-using-a-repository-template", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.starfox-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_22__", - "_id": "__REQ_435__", - "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of repositories.\n\nhttps://developer.github.com/v3/repos/#list-all-public-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/repositories", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", "body": {}, "parameters": [ - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -9550,140 +9326,117 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_436__", + "parentId": "__FLD_161__", + "_id": "__REQ_3700__", "_type": "request", - "name": "Get a list of provisioned identities", - "description": "To filter for a specific email address, use the `email` query parameter and the `eq` operator:\n\nYour filter would look like this cURL command:\n\nRetrieves users that match the filter. In the example, we searched only for [octocat@github.com](mailto:octocat@github.com).\n\nRetrieves a paginated list of all provisioned organization members, including pending invitations.\n\nhttps://developer.github.com/v3/scim/#get-a-list-of-provisioned-identities", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users", - "body": {}, - "parameters": [ - { - "name": "startIndex", - "disabled": false - }, - { - "name": "count", - "disabled": false - }, + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-event", + "headers": [ { - "name": "filter", - "disabled": false + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" } - ] - }, - { - "parentId": "__FLD_23__", - "_id": "__REQ_437__", - "_type": "request", - "name": "Provision and invite users", - "description": "Provision organization membership for a user, and send an activation email to the email address.\n\nAs shown in the following example, you must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\nhttps://developer.github.com/v3/scim/#provision-and-invite-users", - "headers": [], + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_438__", + "parentId": "__FLD_161__", + "_id": "__REQ_3701__", "_type": "request", - "name": "Get provisioning details for a single user", - "description": "\n\nhttps://developer.github.com/v3/scim/#get-provisioning-details-for-a-single-user", - "headers": [], + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_439__", + "parentId": "__FLD_161__", + "_id": "__REQ_3702__", "_type": "request", - "name": "Replace a provisioned user's information", - "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update a user attribute](https://developer.github.com/v3/scim/#update-a-user-attribute) endpoint instead.\n\nAs shown in the following example, you must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\nhttps://developer.github.com/v3/scim/#replace-a-provisioned-users-information", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_440__", + "parentId": "__FLD_161__", + "_id": "__REQ_3703__", "_type": "request", - "name": "Update a user attribute", - "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations.\n\nThe following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n\n```\n\nhttps://developer.github.com/v3/scim/#update-a-user-attribute", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/rest/reference/issues#add-assignees-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", "body": {}, "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_441__", + "parentId": "__FLD_161__", + "_id": "__REQ_3704__", "_type": "request", - "name": "Remove a user from the organization", - "description": "\n\nhttps://developer.github.com/v3/scim/#remove-a-user-from-the-organization", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", "body": {}, "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_442__", + "parentId": "__FLD_161__", + "_id": "__REQ_3705__", "_type": "request", - "name": "Search code", - "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\n**Note:** You must [authenticate](https://developer.github.com/v3/#authentication) to search for code across all public repositories.\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/v3/search/#search-code", - "headers": [], + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/search/code", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", "body": {}, "parameters": [ { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", + "name": "since", "disabled": false }, { @@ -9699,15 +9452,31 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_443__", + "parentId": "__FLD_161__", + "_id": "__REQ_3706__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3707__", "_type": "request", - "name": "Search commits", - "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/v3/search/#search-commits", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events", "headers": [ { "name": "Accept", - "value": "application/vnd.github.cloak-preview+json" + "value": "application/vnd.github.starfox-preview+json" } ], "authentication": { @@ -9715,22 +9484,9 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/search/commits", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", "body": {}, "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -9744,33 +9500,20 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_444__", + "parentId": "__FLD_161__", + "_id": "__REQ_3708__", "_type": "request", - "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-issues-and-pull-requests", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/search/issues", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", "body": {}, "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -9784,204 +9527,107 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_445__", + "parentId": "__FLD_161__", + "_id": "__REQ_3709__", "_type": "request", - "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-labels", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#add-labels-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/search/labels", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", "body": {}, - "parameters": [ - { - "name": "repository_id", - "disabled": false - }, - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_24__", - "_id": "__REQ_446__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/repositories", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_447__", + "parentId": "__FLD_161__", + "_id": "__REQ_3710__", "_type": "request", - "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/v3/search/#search-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/rest/reference/issues#set-labels-for-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/search/topics", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_448__", + "parentId": "__FLD_161__", + "_id": "__REQ_3711__", "_type": "request", - "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/v3/search/#search-users", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/search/users", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_449__", + "parentId": "__FLD_161__", + "_id": "__REQ_3712__", "_type": "request", - "name": "Get team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [`Get team by name`](https://developer.github.com/v3/teams/#get-team-by-name) endpoint.\n\nhttps://developer.github.com/v3/teams/#get-team-legacy", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_450__", + "parentId": "__FLD_161__", + "_id": "__REQ_3713__", "_type": "request", - "name": "Edit team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit team`](https://developer.github.com/v3/teams/#edit-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/v3/teams/#edit-team-legacy", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/issues/#lock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_451__", + "parentId": "__FLD_161__", + "_id": "__REQ_3714__", "_type": "request", - "name": "Delete team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete team`](https://developer.github.com/v3/teams/#delete-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/v3/teams/#delete-team-legacy", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/v3/issues/#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_452__", + "parentId": "__FLD_171__", + "_id": "__REQ_3715__", "_type": "request", - "name": "List discussions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://developer.github.com/v3/teams/discussions/#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#list-discussions-legacy", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -9993,12 +9639,11 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", "body": {}, "parameters": [ { - "name": "direction", - "value": "desc", + "name": "content", "disabled": false }, { @@ -10014,11 +9659,11 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_453__", + "parentId": "__FLD_171__", + "_id": "__REQ_3716__", "_type": "request", - "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://developer.github.com/v3/teams/discussions/#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -10030,16 +9675,16 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_454__", + "parentId": "__FLD_171__", + "_id": "__REQ_3717__", "_type": "request", - "name": "Get a single discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get a single discussion`](https://developer.github.com/v3/teams/discussions/#get-a-single-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-reaction", "headers": [ { "name": "Accept", @@ -10050,73 +9695,58 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_455__", + "parentId": "__FLD_161__", + "_id": "__REQ_3718__", "_type": "request", - "name": "Edit a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit a discussion`](https://developer.github.com/v3/teams/discussions/#edit-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_456__", + "parentId": "__FLD_172__", + "_id": "__REQ_3719__", "_type": "request", - "name": "Delete a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://developer.github.com/v3/teams/discussions/#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-deploy-keys", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_457__", - "_type": "request", - "name": "List comments (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List comments`](https://developer.github.com/v3/teams/discussion_comments/#list-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", "body": {}, "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -10130,108 +9760,68 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_458__", + "parentId": "__FLD_172__", + "_id": "__REQ_3720__", "_type": "request", - "name": "Create a comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a comment`](https://developer.github.com/v3/teams/discussion_comments/#create-a-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deploy-key", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_459__", + "parentId": "__FLD_172__", + "_id": "__REQ_3721__", "_type": "request", - "name": "Get a single comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get a single comment`](https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deploy-key", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_460__", - "_type": "request", - "name": "Edit a comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit a comment`](https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_461__", + "parentId": "__FLD_172__", + "_id": "__REQ_3722__", "_type": "request", - "name": "Delete a comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a comment`](https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_462__", + "parentId": "__FLD_161__", + "_id": "__REQ_3723__", "_type": "request", - "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", "body": {}, "parameters": [ - { - "name": "content", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -10245,256 +9835,236 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_463__", + "parentId": "__FLD_161__", + "_id": "__REQ_3724__", "_type": "request", - "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion comment`](https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment) endpoint.\n\nCreate a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-label", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_464__", + "parentId": "__FLD_161__", + "_id": "__REQ_3725__", "_type": "request", - "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-label", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_465__", + "parentId": "__FLD_161__", + "_id": "__REQ_3726__", "_type": "request", - "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-label", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_466__", + "parentId": "__FLD_161__", + "_id": "__REQ_3727__", "_type": "request", - "name": "List pending team invitations (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://developer.github.com/v3/teams/members/#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/invitations", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_467__", + "parentId": "__FLD_172__", + "_id": "__REQ_3728__", "_type": "request", - "name": "List team members (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://developer.github.com/v3/teams/members/#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/teams/members/#list-team-members-legacy", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/v3/repos/#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", "body": {}, - "parameters": [ - { - "name": "role", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_468__", + "parentId": "__FLD_162__", + "_id": "__REQ_3729__", "_type": "request", - "name": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/v3/teams/members/#get-team-member-legacy", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/v3/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_469__", + "parentId": "__FLD_172__", + "_id": "__REQ_3730__", "_type": "request", - "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/teams/members/#add-team-member-legacy", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#merge-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_470__", + "parentId": "__FLD_161__", + "_id": "__REQ_3731__", "_type": "request", - "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://developer.github.com/v3/teams/members/#remove-team-member-legacy", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-milestones", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3732__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_471__", + "parentId": "__FLD_161__", + "_id": "__REQ_3733__", "_type": "request", - "name": "Get team membership (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get team membership`](https://developer.github.com/v3/teams/members/#get-team-membership) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/v3/teams#create-team).\n\nhttps://developer.github.com/v3/teams/members/#get-team-membership-legacy", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_472__", + "parentId": "__FLD_161__", + "_id": "__REQ_3734__", "_type": "request", - "name": "Add or update team membership (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team membership`](https://developer.github.com/v3/teams/members/#add-or-update-team-membership) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_473__", + "parentId": "__FLD_161__", + "_id": "__REQ_3735__", "_type": "request", - "name": "Remove team membership (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team membership`](https://developer.github.com/v3/teams/members/#remove-team-membership) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://developer.github.com/v3/teams/members/#remove-team-membership-legacy", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_474__", + "parentId": "__FLD_161__", + "_id": "__REQ_3736__", "_type": "request", - "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://developer.github.com/v3/teams/#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://developer.github.com/v3/teams/#list-team-projects-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", "body": {}, "parameters": [ { @@ -10510,78 +10080,38 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_475__", - "_type": "request", - "name": "Review a team project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Review a team project`](https://developer.github.com/v3/teams/#review-a-team-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://developer.github.com/v3/teams/#review-a-team-project-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_476__", - "_type": "request", - "name": "Add or update team project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team project`](https://developer.github.com/v3/teams/#add-or-update-team-project) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-project-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_477__", - "_type": "request", - "name": "Remove team project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team project`](https://developer.github.com/v3/teams/#remove-team-project) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/v3/teams/#remove-team-project-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_478__", + "parentId": "__FLD_148__", + "_id": "__REQ_3737__", "_type": "request", - "name": "List team repos (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team repos`](https://developer.github.com/v3/teams/#list-team-repos) endpoint.\n\nhttps://developer.github.com/v3/teams/#list-team-repos-legacy", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", "body": {}, "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -10595,98 +10125,108 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_479__", + "parentId": "__FLD_148__", + "_id": "__REQ_3738__", "_type": "request", - "name": "Check if a team manages a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Check if a team manages a repository`](https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_480__", + "parentId": "__FLD_172__", + "_id": "__REQ_3739__", "_type": "request", - "name": "Add or update team repository (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team repository`](https://developer.github.com/v3/teams/#add-or-update-team-repository) endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-repository-legacy", + "name": "Get a GitHub Pages site", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_481__", + "parentId": "__FLD_172__", + "_id": "__REQ_3740__", "_type": "request", - "name": "Remove team repository (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team repository`](https://developer.github.com/v3/teams/#remove-team-repository) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/v3/teams/#remove-team-repository-legacy", - "headers": [], + "name": "Create a GitHub Pages site", + "description": "Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_482__", + "parentId": "__FLD_172__", + "_id": "__REQ_3741__", "_type": "request", - "name": "List IdP groups for a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\nhttps://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy", + "name": "Update information about a GitHub Pages site", + "description": "Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/team-sync/group-mappings", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_483__", + "parentId": "__FLD_172__", + "_id": "__REQ_3742__", "_type": "request", - "name": "Create or update IdP group connections (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nhttps://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy", - "headers": [], + "name": "Delete a GitHub Pages site", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/team-sync/group-mappings", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_484__", + "parentId": "__FLD_172__", + "_id": "__REQ_3743__", "_type": "request", - "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://developer.github.com/v3/teams/#list-child-teams) endpoint.\n\n\n\nhttps://developer.github.com/v3/teams/#list-child-teams-legacy", + "name": "List GitHub Pages builds", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", "body": {}, "parameters": [ { @@ -10702,132 +10242,78 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_485__", - "_type": "request", - "name": "Get the authenticated user", - "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/v3/users/#get-the-authenticated-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_486__", + "parentId": "__FLD_172__", + "_id": "__REQ_3744__", "_type": "request", - "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/v3/users/#update-the-authenticated-user", + "name": "Request a GitHub Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/rest/reference/repos#request-a-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/user", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_487__", + "parentId": "__FLD_172__", + "_id": "__REQ_3745__", "_type": "request", - "name": "List blocked users", - "description": "List the users you've blocked on your personal account.\n\nhttps://developer.github.com/v3/users/blocking/#list-blocked-users", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/blocks", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_488__", + "parentId": "__FLD_172__", + "_id": "__REQ_3746__", "_type": "request", - "name": "Check whether you've blocked a user", - "description": "If the user is blocked:\n\nIf the user is not blocked:\n\nhttps://developer.github.com/v3/users/blocking/#check-whether-youve-blocked-a-user", + "name": "Get GitHub Pages build", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/blocks/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_489__", - "_type": "request", - "name": "Block a user", - "description": "\n\nhttps://developer.github.com/v3/users/blocking/#block-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/blocks/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_490__", - "_type": "request", - "name": "Unblock a user", - "description": "\n\nhttps://developer.github.com/v3/users/blocking/#unblock-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/blocks/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_491__", - "_type": "request", - "name": "Toggle primary email visibility", - "description": "Sets the visibility for your primary email addresses.\n\nhttps://developer.github.com/v3/users/emails/#toggle-primary-email-visibility", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/user/email/visibility", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_492__", + "parentId": "__FLD_168__", + "_id": "__REQ_3747__", "_type": "request", - "name": "List email addresses for a user", - "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user", - "headers": [], + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/emails", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", "body": {}, "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -10841,52 +10327,63 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_493__", + "parentId": "__FLD_168__", + "_id": "__REQ_3748__", "_type": "request", - "name": "Add email address(es)", - "description": "This endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/v3/users/emails/#add-email-addresses", - "headers": [], + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_494__", - "_type": "request", - "name": "Delete email address(es)", - "description": "This endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/v3/users/emails/#delete-email-addresses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/emails", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_495__", + "parentId": "__FLD_169__", + "_id": "__REQ_3749__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-a-user", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/followers", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", "body": {}, "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -10900,20 +10397,54 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_496__", + "parentId": "__FLD_169__", + "_id": "__REQ_3750__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-another-user", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#create-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_169__", + "_id": "__REQ_3751__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", - "url": "{{ github_api_root }}/user/following", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", "body": {}, "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -10927,68 +10458,87 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_497__", + "parentId": "__FLD_169__", + "_id": "__REQ_3752__", "_type": "request", - "name": "Check if you are following a user", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#check-if-you-are-following-a-user", - "headers": [], + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/following/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_498__", + "parentId": "__FLD_169__", + "_id": "__REQ_3753__", "_type": "request", - "name": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/v3/users/followers/#follow-a-user", - "headers": [], + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/user/following/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_499__", + "parentId": "__FLD_169__", + "_id": "__REQ_3754__", "_type": "request", - "name": "Unfollow a user", - "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/v3/users/followers/#unfollow-a-user", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/user/following/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_500__", + "parentId": "__FLD_171__", + "_id": "__REQ_3755__", "_type": "request", - "name": "List your GPG keys", - "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#list-your-gpg-keys", - "headers": [], + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/gpg_keys", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", "body": {}, "parameters": [ + { + "name": "content", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -11002,95 +10552,89 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_501__", + "parentId": "__FLD_171__", + "_id": "__REQ_3756__", "_type": "request", - "name": "Create a GPG key", - "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key", - "headers": [], + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/user/gpg_keys", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_502__", + "parentId": "__FLD_171__", + "_id": "__REQ_3757__", "_type": "request", - "name": "Get a single GPG key", - "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#get-a-single-gpg-key", - "headers": [], + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_503__", + "parentId": "__FLD_169__", + "_id": "__REQ_3758__", "_type": "request", - "name": "Delete a GPG key", - "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/v3/pulls/#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_504__", + "parentId": "__FLD_169__", + "_id": "__REQ_3759__", "_type": "request", - "name": "List installations for a user", - "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/v3/apps/installations/#list-installations-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/installations", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_505__", + "parentId": "__FLD_169__", + "_id": "__REQ_3760__", "_type": "request", - "name": "List repositories accessible to the user for an installation", - "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -11098,9 +10642,22 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", "body": {}, "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -11114,95 +10671,57 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_506__", + "parentId": "__FLD_169__", + "_id": "__REQ_3761__", "_type": "request", - "name": "Add repository to installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#add-repository-to-installation", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" + "value": "application/vnd.github.comfort-fade-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_507__", + "parentId": "__FLD_169__", + "_id": "__REQ_3762__", "_type": "request", - "name": "Remove repository from installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#remove-repository-from-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", "body": {}, "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_508__", + "parentId": "__FLD_169__", + "_id": "__REQ_3763__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/issues", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", "body": {}, "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -11216,18 +10735,18 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_509__", + "parentId": "__FLD_169__", + "_id": "__REQ_3764__", "_type": "request", - "name": "List your public keys", - "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#list-your-public-keys", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/keys", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", "body": {}, "parameters": [ { @@ -11243,66 +10762,50 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_510__", - "_type": "request", - "name": "Create a public key", - "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#create-a-public-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_26__", - "_id": "__REQ_511__", + "parentId": "__FLD_169__", + "_id": "__REQ_3765__", "_type": "request", - "name": "Get a single public key", - "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#get-a-single-public-key", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_512__", + "parentId": "__FLD_169__", + "_id": "__REQ_3766__", "_type": "request", - "name": "Delete a public key", - "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#delete-a-public-key", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", "body": {}, "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_513__", + "parentId": "__FLD_169__", + "_id": "__REQ_3767__", "_type": "request", - "name": "Get a user's Marketplace purchases", - "description": "Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/marketplace_purchases", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", "body": {}, "parameters": [ { @@ -11318,51 +10821,52 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_514__", + "parentId": "__FLD_169__", + "_id": "__REQ_3768__", "_type": "request", - "name": "Get a user's Marketplace purchases (stubbed)", - "description": "Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/marketplace_purchases/stubbed", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] + }, + { + "parentId": "__FLD_169__", + "_id": "__REQ_3769__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_515__", + "parentId": "__FLD_169__", + "_id": "__REQ_3770__", "_type": "request", - "name": "List your organization memberships", - "description": "\n\nhttps://developer.github.com/v3/orgs/members/#list-your-organization-memberships", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/memberships/orgs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", "body": {}, "parameters": [ - { - "name": "state", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -11376,71 +10880,82 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_516__", + "parentId": "__FLD_169__", + "_id": "__REQ_3771__", "_type": "request", - "name": "Get your organization membership", - "description": "\n\nhttps://developer.github.com/v3/orgs/members/#get-your-organization-membership", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", "body": {}, "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_517__", + "parentId": "__FLD_169__", + "_id": "__REQ_3772__", "_type": "request", - "name": "Edit your organization membership", - "description": "\n\nhttps://developer.github.com/v3/orgs/members/#edit-your-organization-membership", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_518__", + "parentId": "__FLD_169__", + "_id": "__REQ_3773__", "_type": "request", - "name": "Start a user migration", - "description": "Initiates the generation of a user migration archive.\n\nhttps://developer.github.com/v3/migrations/users/#start-a-user-migration", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/user/migrations", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_519__", + "parentId": "__FLD_169__", + "_id": "__REQ_3774__", "_type": "request", - "name": "List user migrations", - "description": "Lists all migrations a user has started.\n\nhttps://developer.github.com/v3/migrations/users/#list-user-migrations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_169__", + "_id": "__REQ_3775__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/migrations", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", "body": {}, "parameters": [ { @@ -11456,102 +10971,92 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_520__", + "parentId": "__FLD_169__", + "_id": "__REQ_3776__", "_type": "request", - "name": "Get the status of a user migration", - "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive).\n\nhttps://developer.github.com/v3/migrations/users/#get-the-status-of-a-user-migration", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_521__", + "parentId": "__FLD_169__", + "_id": "__REQ_3777__", "_type": "request", - "name": "Download a user migration archive", - "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\n\n\nhttps://developer.github.com/v3/migrations/users/#download-a-user-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_522__", + "parentId": "__FLD_169__", + "_id": "__REQ_3778__", "_type": "request", - "name": "Delete a user migration archive", - "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://developer.github.com/v3/migrations/users/#list-user-migrations) and [Get the status of a user migration](https://developer.github.com/v3/migrations/users/#get-the-status-of-a-user-migration) endpoints, will continue to be available even after an archive is deleted.\n\nhttps://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request-branch", "headers": [ { "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" + "value": "application/vnd.github.lydian-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", "body": {}, "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_523__", + "parentId": "__FLD_172__", + "_id": "__REQ_3779__", "_type": "request", - "name": "Unlock a user repository", - "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://developer.github.com/v3/migrations/users/#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://developer.github.com/v3/repos/#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.\n\nhttps://developer.github.com/v3/migrations/users/#unlock-a-user-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-readme", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_524__", + "parentId": "__FLD_172__", + "_id": "__REQ_3780__", "_type": "request", - "name": "List your organizations", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/v3/orgs/#list-your-organizations", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/rest/reference/repos#list-releases", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/orgs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", "body": {}, "parameters": [ { @@ -11567,282 +11072,277 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_525__", + "parentId": "__FLD_172__", + "_id": "__REQ_3781__", "_type": "request", - "name": "Create a user project", - "description": "\n\nhttps://developer.github.com/v3/projects/#create-a-user-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-release", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/user/projects", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_526__", + "parentId": "__FLD_172__", + "_id": "__REQ_3782__", "_type": "request", - "name": "List public email addresses for a user", - "description": "Lists your publicly visible email address, which you can set with the [Toggle primary email visibility](https://developer.github.com/v3/users/emails/#toggle-primary-email-visibility) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/v3/users/emails/#list-public-email-addresses-for-a-user", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/public_emails", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3783__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3784__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_527__", + "parentId": "__FLD_172__", + "_id": "__REQ_3785__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/v3/repos/#list-your-repositories", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/rest/reference/repos#get-the-latest-release", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/repos", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", "body": {}, - "parameters": [ - { - "name": "visibility", - "value": "all", - "disabled": false - }, - { - "name": "affiliation", - "value": "owner,collaborator,organization_member", - "disabled": false - }, - { - "name": "type", - "value": "all", - "disabled": false - }, - { - "name": "sort", - "value": "full_name", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_528__", + "parentId": "__FLD_172__", + "_id": "__REQ_3786__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/user/repos", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_529__", + "parentId": "__FLD_172__", + "_id": "__REQ_3787__", "_type": "request", - "name": "List a user's repository invitations", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/rest/reference/repos#get-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/repository_invitations", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_530__", + "parentId": "__FLD_172__", + "_id": "__REQ_3788__", "_type": "request", - "name": "Accept a repository invitation", - "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_531__", + "parentId": "__FLD_172__", + "_id": "__REQ_3789__", "_type": "request", - "name": "Decline a repository invitation", - "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_532__", + "parentId": "__FLD_172__", + "_id": "__REQ_3790__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-being-starred", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-release-assets", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/starred", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", "body": {}, "parameters": [ { - "name": "sort", - "value": "created", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "direction", - "value": "desc", + "name": "page", + "value": 1, "disabled": false - }, + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3791__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ { - "name": "per_page", - "value": 30, + "name": "name", "disabled": false }, { - "name": "page", - "value": 1, + "name": "label", "disabled": false } ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_533__", + "parentId": "__FLD_175__", + "_id": "__REQ_3792__", "_type": "request", - "name": "Check if you are starring a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository", + "name": "List secret scanning alerts for a repository", + "description": "Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_534__", + "parentId": "__FLD_175__", + "_id": "__REQ_3793__", "_type": "request", - "name": "Star a repository", - "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/activity/starring/#star-a-repository", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_535__", + "parentId": "__FLD_175__", + "_id": "__REQ_3794__", "_type": "request", - "name": "Unstar a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/starring/#unstar-a-repository", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_536__", + "parentId": "__FLD_148__", + "_id": "__REQ_3795__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-being-watched", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-stargazers", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", "body": {}, "parameters": [ { @@ -11858,131 +11358,116 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_537__", + "parentId": "__FLD_172__", + "_id": "__REQ_3796__", "_type": "request", - "name": "Check if you are watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_538__", + "parentId": "__FLD_172__", + "_id": "__REQ_3797__", "_type": "request", - "name": "Watch a repository (LEGACY)", - "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/activity/watching/#watch-a-repository-legacy", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_539__", + "parentId": "__FLD_172__", + "_id": "__REQ_3798__", "_type": "request", - "name": "Stop watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/watching/#stop-watching-a-repository-legacy", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", "body": {}, "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_540__", + "parentId": "__FLD_172__", + "_id": "__REQ_3799__", "_type": "request", - "name": "List user teams", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/apps/building-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/#list-user-teams", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_541__", + "parentId": "__FLD_172__", + "_id": "__REQ_3800__", "_type": "request", - "name": "List repositories for a user migration", - "description": "Lists all the repositories for this user migration.\n\nhttps://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/user/{{ migration_id }}/repositories", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3801__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_542__", + "parentId": "__FLD_148__", + "_id": "__REQ_3802__", "_type": "request", - "name": "Get all users", - "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/v3/users/#get-all-users", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/rest/reference/activity#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", "body": {}, "parameters": [ - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -11996,34 +11481,66 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_543__", + "parentId": "__FLD_148__", + "_id": "__REQ_3803__", "_type": "request", - "name": "Get a single user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see \"[Response with GitHub plan information](https://developer.github.com/v3/users/#response-with-github-plan-information).\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://developer.github.com/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/v3/users/emails/)\".\n\nhttps://developer.github.com/v3/users/#get-a-single-user", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_148__", + "_id": "__REQ_3804__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_148__", + "_id": "__REQ_3805__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_544__", + "parentId": "__FLD_172__", + "_id": "__REQ_3806__", "_type": "request", - "name": "List events performed by a user", - "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/v3/activity/events/#list-events-performed-by-a-user", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", "body": {}, "parameters": [ { @@ -12039,45 +11556,34 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_545__", + "parentId": "__FLD_172__", + "_id": "__REQ_3807__", "_type": "request", - "name": "List events for an organization", - "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/v3/activity/events/#list-events-for-an-organization", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_546__", + "parentId": "__FLD_172__", + "_id": "__REQ_3808__", "_type": "request", - "name": "List public events performed by a user", - "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", "body": {}, "parameters": [ { @@ -12093,168 +11599,149 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_547__", + "parentId": "__FLD_172__", + "_id": "__REQ_3809__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-a-user", - "headers": [], + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/followers", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3810__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/v3/repos/#replace-all-repository-topics", + "headers": [ { - "name": "page", - "value": 1, - "disabled": false + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" } - ] + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_548__", + "parentId": "__FLD_172__", + "_id": "__REQ_3811__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-another-user", + "name": "Get repository clones", + "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-clones", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/following", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/clones", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "per", + "value": "day", "disabled": false } ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_549__", + "parentId": "__FLD_172__", + "_id": "__REQ_3812__", "_type": "request", - "name": "Check if one user follows another", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#check-if-one-user-follows-another", + "name": "Get top referral paths", + "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-paths", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/popular/paths", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_550__", + "parentId": "__FLD_172__", + "_id": "__REQ_3813__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-a-users-gists", + "name": "Get top referral sources", + "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-sources", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/gists", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/popular/referrers", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_551__", + "parentId": "__FLD_172__", + "_id": "__REQ_3814__", "_type": "request", - "name": "List GPG keys for a user", - "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "name": "Get page views", + "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-page-views", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/traffic/views", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "per", + "value": "day", "disabled": false } ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_552__", + "parentId": "__FLD_172__", + "_id": "__REQ_3815__", "_type": "request", - "name": "Get contextual information about a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/v3/users/#get-contextual-information-about-a-user", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/v3/repos/#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", "body": {}, - "parameters": [ - { - "name": "subject_type", - "disabled": false - }, - { - "name": "subject_id", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_553__", + "parentId": "__FLD_172__", + "_id": "__REQ_3816__", "_type": "request", - "name": "Get a user installation", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-a-user-installation", + "name": "Check if vulnerability alerts are enabled for a repository", + "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" + "value": "application/vnd.github.dorian-preview+json" } ], "authentication": { @@ -12262,264 +11749,291 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/installation", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_554__", + "parentId": "__FLD_172__", + "_id": "__REQ_3817__", "_type": "request", - "name": "List public keys for a user", - "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/v3/users/keys/#list-public-keys-for-a-user", - "headers": [], + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/keys", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, + "parameters": [] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3818__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#disable-vulnerability-alerts", + "headers": [ { - "name": "page", - "value": 1, - "disabled": false + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" } - ] + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_555__", + "parentId": "__FLD_172__", + "_id": "__REQ_3819__", "_type": "request", - "name": "List user organizations", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/v3/orgs/#list-user-organizations", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_556__", + "parentId": "__FLD_172__", + "_id": "__REQ_3820__", "_type": "request", - "name": "List user projects", - "description": "\n\nhttps://developer.github.com/v3/projects/#list-user-projects", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.baptiste-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/projects", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_557__", + "parentId": "__FLD_172__", + "_id": "__REQ_3821__", "_type": "request", - "name": "List events that a user has received", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "url": "{{ github_api_root }}/repositories", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "since", "disabled": false } ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_558__", + "parentId": "__FLD_156__", + "_id": "__REQ_3822__", "_type": "request", - "name": "List public events that a user has received", - "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received", + "name": "List provisioned SCIM groups for an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "startIndex", "disabled": false }, { - "name": "page", - "value": 1, + "name": "count", "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_559__", + "parentId": "__FLD_156__", + "_id": "__REQ_3823__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/v3/repos/#list-user-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json" - } - ], + "name": "Provision a SCIM enterprise group and invite users", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3824__", + "_type": "request", + "name": "Get SCIM provisioning information for an enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/repos", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, - "parameters": [ - { - "name": "type", - "value": "owner", - "disabled": false - }, - { - "name": "sort", - "value": "full_name", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3825__", + "_type": "request", + "name": "Set SCIM information for a provisioned enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_560__", + "parentId": "__FLD_156__", + "_id": "__REQ_3826__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-being-starred", + "name": "Update an attribute for a SCIM enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3827__", + "_type": "request", + "name": "Delete a SCIM group from an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3828__", + "_type": "request", + "name": "List SCIM provisioned identities for an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nRetrieves a paginated list of all provisioned enterprise members, including pending invitations.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub enterprise.\n\n1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/starred", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users", "body": {}, "parameters": [ { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, + "name": "startIndex", "disabled": false }, { - "name": "page", - "value": 1, + "name": "count", "disabled": false } ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_561__", + "parentId": "__FLD_156__", + "_id": "__REQ_3829__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-being-watched", + "name": "Provision and invite a SCIM enterprise user", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision enterprise membership for a user, and send organization invitation emails to the email address.\n\nYou can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3830__", + "_type": "request", + "name": "Get SCIM provisioning information for an enterprise user", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users/{{ scim_user_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - } - ] -} \ No newline at end of file + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3831__", + "_type": "request", + "name": "Set SCIM information for a provisioned enterprise user", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3832__", + "_type": "request", + "name": "Update an attribute for a SCIM enterprise user", + "desc \ No newline at end of file diff --git a/routes/ghe-2.16.json b/routes/ghe-2.16.json deleted file mode 100644 index 2ff41fa..0000000 --- a/routes/ghe-2.16.json +++ /dev/null @@ -1,10843 +0,0 @@ -{ - "_type": "export", - "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.654Z", - "__export_source": "github-rest-apis-for-insomnia:1.1.1", - "resources": [ - { - "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_27__", - "_type": "request_group", - "name": "GitHub Enterprise REST API v3", - "environment": { - "github_api_root": "http://{hostname}", - "access_token": "", - "app_slug": "", - "archive_format": "", - "asset_id": 0, - "assignee": "", - "authorization_id": 0, - "base": "", - "branch": "", - "build_id": 0, - "card_id": 0, - "check_run_id": 0, - "check_suite_id": 0, - "client_id": "", - "code": "", - "column_id": 0, - "comment_id": 0, - "comment_number": 0, - "commit_sha": "", - "content_reference_id": 0, - "current_name": "", - "deployment_id": 0, - "discussion_number": 0, - "download_id": 0, - "email": "", - "event_id": 0, - "file_sha": "", - "fingerprint": "", - "gist_id": "", - "gpg_key_id": 0, - "grant_id": 0, - "head": "", - "hook_id": 0, - "installation_id": 0, - "invitation_id": 0, - "issue_number": 0, - "key": "", - "key_id": 0, - "key_ids": "", - "keyword": "", - "license": "", - "milestone_number": 0, - "name": "", - "org": "", - "owner": "", - "path": "", - "pre_receive_environment_id": 0, - "pre_receive_hook_id": 0, - "project_id": 0, - "pull_number": 0, - "reaction_id": 0, - "ref": "", - "release_id": 0, - "repo": "", - "repository": "", - "repository_id": 0, - "review_id": 0, - "sha": "", - "state": "", - "status_id": 0, - "tag": "", - "tag_sha": "", - "target_user": "", - "team_id": 0, - "thread_id": 0, - "tree_sha": "", - "type": "", - "username": "" - } - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_28__", - "_type": "request_group", - "name": "activity" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_29__", - "_type": "request_group", - "name": "apps" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_30__", - "_type": "request_group", - "name": "checks" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_31__", - "_type": "request_group", - "name": "codes-of-conduct" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_32__", - "_type": "request_group", - "name": "emojis" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_33__", - "_type": "request_group", - "name": "enterprise-admin" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_34__", - "_type": "request_group", - "name": "gists" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_35__", - "_type": "request_group", - "name": "git" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_36__", - "_type": "request_group", - "name": "gitignore" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_37__", - "_type": "request_group", - "name": "issues" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_38__", - "_type": "request_group", - "name": "licenses" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_39__", - "_type": "request_group", - "name": "markdown" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_40__", - "_type": "request_group", - "name": "meta" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_41__", - "_type": "request_group", - "name": "oauth-authorizations" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_42__", - "_type": "request_group", - "name": "orgs" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_43__", - "_type": "request_group", - "name": "projects" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_44__", - "_type": "request_group", - "name": "pulls" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_45__", - "_type": "request_group", - "name": "rate-limit" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_46__", - "_type": "request_group", - "name": "reactions" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_47__", - "_type": "request_group", - "name": "repos" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_48__", - "_type": "request_group", - "name": "search" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_49__", - "_type": "request_group", - "name": "teams" - }, - { - "parentId": "__FLD_27__", - "_id": "__FLD_50__", - "_type": "request_group", - "name": "users" - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_562__", - "_type": "request", - "name": "List global hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#list-global-hooks", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_563__", - "_type": "request", - "name": "Create a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#create-a-global-hook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/hooks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_564__", - "_type": "request", - "name": "Get single global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#get-single-global-hook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_565__", - "_type": "request", - "name": "Edit a global hook", - "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_566__", - "_type": "request", - "name": "Delete a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_567__", - "_type": "request", - "name": "Ping a global hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.16/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_568__", - "_type": "request", - "name": "Delete a public key", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#delete-a-public-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_569__", - "_type": "request", - "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.16/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_570__", - "_type": "request", - "name": "Sync LDAP mapping for a team", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_571__", - "_type": "request", - "name": "Update LDAP mapping for a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_572__", - "_type": "request", - "name": "Sync LDAP mapping for a user", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_573__", - "_type": "request", - "name": "Create an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/orgs/#create-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/organizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_574__", - "_type": "request", - "name": "Rename an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/orgs/#rename-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/organizations/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_575__", - "_type": "request", - "name": "List pre-receive environments", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-environments", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_576__", - "_type": "request", - "name": "Create a pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/pre-receive-environments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_577__", - "_type": "request", - "name": "Get a single pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_578__", - "_type": "request", - "name": "Edit a pre-receive environment", - "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_579__", - "_type": "request", - "name": "Delete a pre-receive environment", - "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_580__", - "_type": "request", - "name": "Trigger a pre-receive environment download", - "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_581__", - "_type": "request", - "name": "Get a pre-receive environment's download status", - "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", - "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "downloaded_at", - "disabled": false - }, - { - "name": "message", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_582__", - "_type": "request", - "name": "List pre-receive hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_583__", - "_type": "request", - "name": "Create a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/pre-receive-hooks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_584__", - "_type": "request", - "name": "Get a single pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_585__", - "_type": "request", - "name": "Edit a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_586__", - "_type": "request", - "name": "Delete a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_587__", - "_type": "request", - "name": "Create a new user", - "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.16/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#create-a-new-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/users", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_588__", - "_type": "request", - "name": "Rename an existing user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#rename-an-existing-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/users/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_589__", - "_type": "request", - "name": "Delete a user", - "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#delete-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/users/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_590__", - "_type": "request", - "name": "Create an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_591__", - "_type": "request", - "name": "Delete an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_592__", - "_type": "request", - "name": "Get the authenticated GitHub App", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.16/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-the-authenticated-github-app", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/app", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_593__", - "_type": "request", - "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.16/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_594__", - "_type": "request", - "name": "List installations", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#list-installations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/app/installations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_595__", - "_type": "request", - "name": "Get an installation", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_596__", - "_type": "request", - "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#create-a-new-installation-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_597__", - "_type": "request", - "name": "List your grants", - "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#list-your-grants", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/applications/grants", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_598__", - "_type": "request", - "name": "Get a single grant", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#get-a-single-grant", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_599__", - "_type": "request", - "name": "Delete a grant", - "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#delete-a-grant", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_600__", - "_type": "request", - "name": "Revoke a grant for an application", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#revoke-a-grant-for-an-application", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_601__", - "_type": "request", - "name": "Check an authorization", - "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#check-an-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_602__", - "_type": "request", - "name": "Reset an authorization", - "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#reset-an-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_603__", - "_type": "request", - "name": "Revoke an authorization for an application", - "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_604__", - "_type": "request", - "name": "Get a single GitHub App", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-a-single-github-app", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/apps/{{ app_slug }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_605__", - "_type": "request", - "name": "List your authorizations", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#list-your-authorizations", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/authorizations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_606__", - "_type": "request", - "name": "Create a new authorization", - "description": "Creates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.16/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#create-a-new-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_607__", - "_type": "request", - "name": "Get-or-create an authorization for a specific app", - "description": "Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.16/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_608__", - "_type": "request", - "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.16/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_609__", - "_type": "request", - "name": "Get a single authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#get-a-single-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_610__", - "_type": "request", - "name": "Update an existing authorization", - "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.16/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#update-an-existing-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_41__", - "_id": "__REQ_611__", - "_type": "request", - "name": "Delete an authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#delete-an-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_31__", - "_id": "__REQ_612__", - "_type": "request", - "name": "List all codes of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/codes_of_conduct/#list-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_31__", - "_id": "__REQ_613__", - "_type": "request", - "name": "Get an individual code of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/codes_of_conduct/#get-an-individual-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_614__", - "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.16/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.16/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_32__", - "_id": "__REQ_615__", - "_type": "request", - "name": "Get", - "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/emojis/#emojis", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/emojis", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_616__", - "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/license/#get-license-information", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_617__", - "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/admin_stats/#get-statistics", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_618__", - "_type": "request", - "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-public-events", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_619__", - "_type": "request", - "name": "List feeds", - "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.16/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.16/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/feeds/#list-feeds", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/feeds", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_620__", - "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-a-users-gists", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_621__", - "_type": "request", - "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#create-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_622__", - "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.16/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-all-public-gists", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/public", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_623__", - "_type": "request", - "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-starred-gists", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/starred", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_624__", - "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#get-a-single-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_625__", - "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#edit-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_626__", - "_type": "request", - "name": "Delete a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#delete-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_627__", - "_type": "request", - "name": "List comments on a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/comments/#list-comments-on-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_628__", - "_type": "request", - "name": "Create a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/comments/#create-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_629__", - "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/comments/#get-a-single-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_630__", - "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/comments/#edit-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_631__", - "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/comments/#delete-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_632__", - "_type": "request", - "name": "List gist commits", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-gist-commits", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_633__", - "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#fork-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_634__", - "_type": "request", - "name": "List gist forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-gist-forks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_635__", - "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#star-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_636__", - "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#unstar-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_637__", - "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#check-if-a-gist-is-starred", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_638__", - "_type": "request", - "name": "Get a specific revision of a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#get-a-specific-revision-of-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_36__", - "_id": "__REQ_639__", - "_type": "request", - "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.16/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.16/v3/gitignore/#listing-available-templates", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_36__", - "_id": "__REQ_640__", - "_type": "request", - "name": "Get a single template", - "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.16/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/gitignore/#get-a-single-template", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_641__", - "_type": "request", - "name": "List repositories", - "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#list-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/installation/repositories", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_642__", - "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#list-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/issues", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_643__", - "_type": "request", - "name": "Search issues", - "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/legacy/#search-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_644__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/legacy/#search-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", - "body": {}, - "parameters": [ - { - "name": "language", - "disabled": false - }, - { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_645__", - "_type": "request", - "name": "Email search", - "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.16/v3/search/legacy/#email-search", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_646__", - "_type": "request", - "name": "Search users", - "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/legacy/#search-users", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", - "body": {}, - "parameters": [ - { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_38__", - "_id": "__REQ_647__", - "_type": "request", - "name": "List commonly used licenses", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/licenses/#list-commonly-used-licenses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/licenses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_38__", - "_id": "__REQ_648__", - "_type": "request", - "name": "Get an individual license", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/licenses/#get-an-individual-license", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/licenses/{{ license }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_39__", - "_id": "__REQ_649__", - "_type": "request", - "name": "Render an arbitrary Markdown document", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/markdown/#render-an-arbitrary-markdown-document", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/markdown", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_39__", - "_id": "__REQ_650__", - "_type": "request", - "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/markdown/#render-a-markdown-document-in-raw-mode", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/markdown/raw", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_40__", - "_id": "__REQ_651__", - "_type": "request", - "name": "Get", - "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher will discontinue allowing admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.16/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.16/v3/meta/#meta", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/meta", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_652__", - "_type": "request", - "name": "List public events for a network of repositories", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-public-events-for-a-network-of-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_653__", - "_type": "request", - "name": "List your notifications", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#list-your-notifications", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/notifications", - "body": {}, - "parameters": [ - { - "name": "all", - "value": false, - "disabled": false - }, - { - "name": "participating", - "value": false, - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "before", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_654__", - "_type": "request", - "name": "Mark as read", - "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications).\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#mark-as-read", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_655__", - "_type": "request", - "name": "View a single thread", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#view-a-single-thread", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_656__", - "_type": "request", - "name": "Mark a thread as read", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#mark-a-thread-as-read", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_657__", - "_type": "request", - "name": "Get a thread subscription", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.16/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#get-a-thread-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_658__", - "_type": "request", - "name": "Set a thread subscription", - "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#set-a-thread-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_659__", - "_type": "request", - "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#delete-a-thread-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_660__", - "_type": "request", - "name": "List all organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.16/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/#list-all-organizations", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/organizations", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_661__", - "_type": "request", - "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/#get-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_662__", - "_type": "request", - "name": "Edit an organization", - "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/#edit-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_663__", - "_type": "request", - "name": "List public events for an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-public-events-for-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_664__", - "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#list-hooks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_665__", - "_type": "request", - "name": "Create a hook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#create-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_666__", - "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#get-single-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_667__", - "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#edit-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_668__", - "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#delete-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_669__", - "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.16/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/hooks/#ping-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_670__", - "_type": "request", - "name": "Get an organization installation", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-an-organization-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installation", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_671__", - "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#list-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/issues", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_672__", - "_type": "request", - "name": "Members list", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#members-list", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "role", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_673__", - "_type": "request", - "name": "Check membership", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#check-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_674__", - "_type": "request", - "name": "Remove a member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#remove-a-member", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_675__", - "_type": "request", - "name": "Get organization membership", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#get-organization-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_676__", - "_type": "request", - "name": "Add or update organization membership", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#add-or-update-organization-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_677__", - "_type": "request", - "name": "Remove organization membership", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#remove-organization-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_678__", - "_type": "request", - "name": "List outside collaborators", - "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/outside_collaborators/#list-outside-collaborators", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_679__", - "_type": "request", - "name": "Remove outside collaborator", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/outside_collaborators/#remove-outside-collaborator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_680__", - "_type": "request", - "name": "Convert member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_681__", - "_type": "request", - "name": "List pre-receive hooks for organization", - "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_682__", - "_type": "request", - "name": "Get a single pre-receive hook for organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_683__", - "_type": "request", - "name": "Update pre-receive hook enforcement for organization", - "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_684__", - "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for organization", - "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_685__", - "_type": "request", - "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\ns\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#list-organization-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", - "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_686__", - "_type": "request", - "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#create-an-organization-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_687__", - "_type": "request", - "name": "Public members list", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#public-members-list", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_688__", - "_type": "request", - "name": "Check public membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#check-public-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_689__", - "_type": "request", - "name": "Publicize a user's membership", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#publicize-a-users-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_690__", - "_type": "request", - "name": "Conceal a user's membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#conceal-a-users-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_691__", - "_type": "request", - "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-organization-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", - "body": {}, - "parameters": [ - { - "name": "type", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_692__", - "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#create", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_693__", - "_type": "request", - "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#list-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_694__", - "_type": "request", - "name": "Create team", - "description": "To create a team, the authenticated user must be a member or owner of `:org`.\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#create-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_695__", - "_type": "request", - "name": "Get a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#get-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_696__", - "_type": "request", - "name": "Update a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#update-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_697__", - "_type": "request", - "name": "Delete a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#delete-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_698__", - "_type": "request", - "name": "Move a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#move-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_699__", - "_type": "request", - "name": "Get a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#get-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_700__", - "_type": "request", - "name": "Update a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#update-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_701__", - "_type": "request", - "name": "Delete a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#delete-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_702__", - "_type": "request", - "name": "List project cards", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#list-project-cards", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", - "body": {}, - "parameters": [ - { - "name": "archived_state", - "value": "not_archived", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_703__", - "_type": "request", - "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/cards/#create-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_704__", - "_type": "request", - "name": "Move a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#move-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_705__", - "_type": "request", - "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#get-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_706__", - "_type": "request", - "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#update-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_707__", - "_type": "request", - "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#delete-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_708__", - "_type": "request", - "name": "List collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/collaborators/#list-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", - "body": {}, - "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_709__", - "_type": "request", - "name": "Add user as a collaborator", - "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/collaborators/#add-user-as-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_710__", - "_type": "request", - "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/collaborators/#remove-user-as-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_711__", - "_type": "request", - "name": "Review a user's permission level", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/collaborators/#review-a-users-permission-level", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_712__", - "_type": "request", - "name": "List project columns", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#list-project-columns", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_713__", - "_type": "request", - "name": "Create a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/columns/#create-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_45__", - "_id": "__REQ_714__", - "_type": "request", - "name": "Get your current rate limit status", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.16/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.16/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see three objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.16/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.16/v4/).\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.16/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.16/v3/rate_limit/#get-your-current-rate-limit-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/rate_limit", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_715__", - "_type": "request", - "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.16/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#delete-a-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_716__", - "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#get", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_717__", - "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.16/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#edit", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.x-ray-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_718__", - "_type": "request", - "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#delete-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_719__", - "_type": "request", - "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/assignees/#list-assignees", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_720__", - "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/assignees/#check-assignee", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_721__", - "_type": "request", - "name": "List branches", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#list-branches", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", - "body": {}, - "parameters": [ - { - "name": "protected", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_722__", - "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_723__", - "_type": "request", - "name": "Get branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_724__", - "_type": "request", - "name": "Update branch protection", - "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#update-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_725__", - "_type": "request", - "name": "Remove branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-branch-protection", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_726__", - "_type": "request", - "name": "Get admin enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-admin-enforcement-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_727__", - "_type": "request", - "name": "Add admin enforcement of protected branch", - "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#add-admin-enforcement-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_728__", - "_type": "request", - "name": "Remove admin enforcement of protected branch", - "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_729__", - "_type": "request", - "name": "Get pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_730__", - "_type": "request", - "name": "Update pull request review enforcement of protected branch", - "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_731__", - "_type": "request", - "name": "Remove pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_732__", - "_type": "request", - "name": "Get required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-required-signatures-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_733__", - "_type": "request", - "name": "Add required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#add-required-signatures-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_734__", - "_type": "request", - "name": "Remove required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-required-signatures-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_735__", - "_type": "request", - "name": "Get required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-required-status-checks-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_736__", - "_type": "request", - "name": "Update required status checks of protected branch", - "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#update-required-status-checks-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_737__", - "_type": "request", - "name": "Remove required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-required-status-checks-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_738__", - "_type": "request", - "name": "List required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_739__", - "_type": "request", - "name": "Replace required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_740__", - "_type": "request", - "name": "Add required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_741__", - "_type": "request", - "name": "Remove required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_742__", - "_type": "request", - "name": "Get restrictions of protected branch", - "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#get-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_743__", - "_type": "request", - "name": "Remove restrictions of protected branch", - "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_744__", - "_type": "request", - "name": "Get teams with access to protected branch", - "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#list-teams-with-access-to-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_745__", - "_type": "request", - "name": "Replace team restrictions of protected branch", - "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#replace-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_746__", - "_type": "request", - "name": "Add team restrictions of protected branch", - "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#add-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_747__", - "_type": "request", - "name": "Remove team restrictions of protected branch", - "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_748__", - "_type": "request", - "name": "Get users with access to protected branch", - "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#list-users-with-access-to-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_749__", - "_type": "request", - "name": "Replace user restrictions of protected branch", - "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#replace-user-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_750__", - "_type": "request", - "name": "Add user restrictions of protected branch", - "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#add-user-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_751__", - "_type": "request", - "name": "Remove user restrictions of protected branch", - "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/branches/#remove-user-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_752__", - "_type": "request", - "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#create-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_753__", - "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#update-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_754__", - "_type": "request", - "name": "Get a single check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#get-a-single-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_755__", - "_type": "request", - "name": "List annotations for a check run", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#list-annotations-for-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_756__", - "_type": "request", - "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.16/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.16/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/suites/#create-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_757__", - "_type": "request", - "name": "Set preferences for check suites on a repository", - "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.16/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_758__", - "_type": "request", - "name": "Get a single check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/suites/#get-a-single-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_759__", - "_type": "request", - "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#list-check-runs-in-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", - "body": {}, - "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_760__", - "_type": "request", - "name": "Rerequest check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.16/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/suites/#rerequest-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_761__", - "_type": "request", - "name": "List collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/collaborators/#list-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", - "body": {}, - "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_762__", - "_type": "request", - "name": "Check if a user is a collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_763__", - "_type": "request", - "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/collaborators/#add-user-as-a-collaborator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_764__", - "_type": "request", - "name": "Remove user as a collaborator", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/collaborators/#remove-user-as-a-collaborator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_765__", - "_type": "request", - "name": "Review a user's permission level", - "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/collaborators/#review-a-users-permission-level", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_766__", - "_type": "request", - "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.16/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.16/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#list-commit-comments-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_767__", - "_type": "request", - "name": "Get a single commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#get-a-single-commit-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_768__", - "_type": "request", - "name": "Update a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#update-a-commit-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_769__", - "_type": "request", - "name": "Delete a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#delete-a-commit-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_770__", - "_type": "request", - "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.16/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_771__", - "_type": "request", - "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.16/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_772__", - "_type": "request", - "name": "List commits on a repository", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/commits/#list-commits-on-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", - "body": {}, - "parameters": [ - { - "name": "sha", - "disabled": false - }, - { - "name": "path", - "disabled": false - }, - { - "name": "author", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "until", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_773__", - "_type": "request", - "name": "List comments for a single commit", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#list-comments-for-a-single-commit", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_774__", - "_type": "request", - "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/comments/#create-a-commit-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_775__", - "_type": "request", - "name": "Get a single commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.16/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.16/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/commits/#get-a-single-commit", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_776__", - "_type": "request", - "name": "List check runs for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/runs/#list-check-runs-for-a-specific-ref", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", - "body": {}, - "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_30__", - "_id": "__REQ_777__", - "_type": "request", - "name": "List check suites for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/checks/suites/#list-check-suites-for-a-specific-ref", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", - "body": {}, - "parameters": [ - { - "name": "app_id", - "disabled": false - }, - { - "name": "check_name", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_778__", - "_type": "request", - "name": "Get the combined status for a specific ref", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.16/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_779__", - "_type": "request", - "name": "List statuses for a specific ref", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statuses/#list-statuses-for-a-specific-ref", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_31__", - "_id": "__REQ_780__", - "_type": "request", - "name": "Get the contents of a repository's code of conduct", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.16/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_781__", - "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.16/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.16/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/commits/#compare-two-commits", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_782__", - "_type": "request", - "name": "Get contents", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.16/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.16/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.16/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.16/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.16/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/contents/#get-contents", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", - "body": {}, - "parameters": [ - { - "name": "ref", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_783__", - "_type": "request", - "name": "Create or update a file", - "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/contents/#create-or-update-a-file", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_784__", - "_type": "request", - "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/contents/#delete-a-file", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_785__", - "_type": "request", - "name": "List contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-contributors", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", - "body": {}, - "parameters": [ - { - "name": "anon", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_786__", - "_type": "request", - "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#list-deployments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", - "body": {}, - "parameters": [ - { - "name": "sha", - "value": "none", - "disabled": false - }, - { - "name": "ref", - "value": "none", - "disabled": false - }, - { - "name": "task", - "value": "none", - "disabled": false - }, - { - "name": "environment", - "value": "none", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_787__", - "_type": "request", - "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.16/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#create-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_788__", - "_type": "request", - "name": "Get a single deployment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#get-a-single-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_789__", - "_type": "request", - "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_790__", - "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_791__", - "_type": "request", - "name": "Get a single deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/deployments/#get-a-single-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_792__", - "_type": "request", - "name": "List downloads for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/downloads/#list-downloads-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_793__", - "_type": "request", - "name": "Get a single download", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/downloads/#get-a-single-download", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_794__", - "_type": "request", - "name": "Delete a download", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/downloads/#delete-a-download", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_795__", - "_type": "request", - "name": "List repository events", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-repository-events", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_796__", - "_type": "request", - "name": "List forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/forks/#list-forks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "newest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_797__", - "_type": "request", - "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/forks/#create-a-fork", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_798__", - "_type": "request", - "name": "Create a blob", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/git/blobs/#create-a-blob", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_799__", - "_type": "request", - "name": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.16/v3/git/blobs/#get-a-blob", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_800__", - "_type": "request", - "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/git/commits/#create-a-commit", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_801__", - "_type": "request", - "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/git/commits/#get-a-commit", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_802__", - "_type": "request", - "name": "Create a reference", - "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.16/v3/git/refs/#create-a-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_803__", - "_type": "request", - "name": "Get a reference", - "description": "Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/enterprise/2.16/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.\n\nhttps://developer.github.com/enterprise/2.16/v3/git/refs/#get-a-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_804__", - "_type": "request", - "name": "Update a reference", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/git/refs/#update-a-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_805__", - "_type": "request", - "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.16/v3/git/refs/#delete-a-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_806__", - "_type": "request", - "name": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.16/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.16/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/git/tags/#create-a-tag-object", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_807__", - "_type": "request", - "name": "Get a tag", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.16/v3/git/tags/#get-a-tag", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_808__", - "_type": "request", - "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nhttps://developer.github.com/enterprise/2.16/v3/git/trees/#create-a-tree", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_35__", - "_id": "__REQ_809__", - "_type": "request", - "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.16/v3/git/trees/#get-a-tree", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", - "body": {}, - "parameters": [ - { - "name": "recursive", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_810__", - "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#list-hooks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_811__", - "_type": "request", - "name": "Create a hook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher will discontinue allowing admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.16/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#create-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_812__", - "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#get-single-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_813__", - "_type": "request", - "name": "Edit a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher will discontinue allowing admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.16/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#edit-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_814__", - "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#delete-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_815__", - "_type": "request", - "name": "Ping a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher will discontinue allowing admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.16/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.16/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#ping-a-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_816__", - "_type": "request", - "name": "Test a push hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher will discontinue allowing admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.16/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/hooks/#test-a-push-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_817__", - "_type": "request", - "name": "Get a repository installation", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-a-repository-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_818__", - "_type": "request", - "name": "List invitations for a repository", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#list-invitations-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_819__", - "_type": "request", - "name": "Delete a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#delete-a-repository-invitation", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_820__", - "_type": "request", - "name": "Update a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#update-a-repository-invitation", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_821__", - "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#list-issues-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", - "body": {}, - "parameters": [ - { - "name": "milestone", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "assignee", - "disabled": false - }, - { - "name": "creator", - "disabled": false - }, - { - "name": "mentioned", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_822__", - "_type": "request", - "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#create-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_823__", - "_type": "request", - "name": "List comments in a repository", - "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#list-comments-in-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "since", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_824__", - "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#get-a-single-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_825__", - "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#edit-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_826__", - "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#delete-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_827__", - "_type": "request", - "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.16/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_828__", - "_type": "request", - "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.16/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_829__", - "_type": "request", - "name": "List events for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/events/#list-events-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_830__", - "_type": "request", - "name": "Get a single event", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/events/#get-a-single-event", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_831__", - "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.16/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.16/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#get-a-single-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_832__", - "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#edit-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_833__", - "_type": "request", - "name": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/assignees/#add-assignees-to-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_834__", - "_type": "request", - "name": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/assignees/#remove-assignees-from-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_835__", - "_type": "request", - "name": "List comments on an issue", - "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#list-comments-on-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_836__", - "_type": "request", - "name": "Create a comment", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/comments/#create-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_837__", - "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/events/#list-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_838__", - "_type": "request", - "name": "List labels on an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#list-labels-on-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_839__", - "_type": "request", - "name": "Add labels to an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#add-labels-to-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_840__", - "_type": "request", - "name": "Replace all labels for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#replace-all-labels-for-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_841__", - "_type": "request", - "name": "Remove all labels from an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#remove-all-labels-from-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_842__", - "_type": "request", - "name": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#remove-a-label-from-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_843__", - "_type": "request", - "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#lock-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_844__", - "_type": "request", - "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#unlock-an-issue", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_845__", - "_type": "request", - "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.16/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_846__", - "_type": "request", - "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.16/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_847__", - "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/timeline/#list-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_848__", - "_type": "request", - "name": "List deploy keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/keys/#list-deploy-keys", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_849__", - "_type": "request", - "name": "Add a new deploy key", - "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/keys/#add-a-new-deploy-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_850__", - "_type": "request", - "name": "Get a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/keys/#get-a-deploy-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_851__", - "_type": "request", - "name": "Remove a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/keys/#remove-a-deploy-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_852__", - "_type": "request", - "name": "List all labels for this repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#list-all-labels-for-this-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_853__", - "_type": "request", - "name": "Create a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#create-a-label", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_854__", - "_type": "request", - "name": "Update a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#update-a-label", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ current_name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_855__", - "_type": "request", - "name": "Get a single label", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#get-a-single-label", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_856__", - "_type": "request", - "name": "Delete a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#delete-a-label", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_857__", - "_type": "request", - "name": "List languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-languages", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_38__", - "_id": "__REQ_858__", - "_type": "request", - "name": "Get the contents of a repository's license", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.16/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.16/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.16/v3/licenses/#get-the-contents-of-a-repositorys-license", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_859__", - "_type": "request", - "name": "Perform a merge", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/merging/#perform-a-merge", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_860__", - "_type": "request", - "name": "List milestones for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/milestones/#list-milestones-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", - "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "sort", - "value": "due_on", - "disabled": false - }, - { - "name": "direction", - "value": "asc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_861__", - "_type": "request", - "name": "Create a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/milestones/#create-a-milestone", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_862__", - "_type": "request", - "name": "Get a single milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/milestones/#get-a-single-milestone", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_863__", - "_type": "request", - "name": "Update a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/milestones/#update-a-milestone", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_864__", - "_type": "request", - "name": "Delete a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/milestones/#delete-a-milestone", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_865__", - "_type": "request", - "name": "Get labels for every issue in a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_866__", - "_type": "request", - "name": "List your notifications in a repository", - "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#list-your-notifications-in-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", - "body": {}, - "parameters": [ - { - "name": "all", - "value": false, - "disabled": false - }, - { - "name": "participating", - "value": false, - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "before", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_867__", - "_type": "request", - "name": "Mark notifications as read in a repository", - "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications).\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_868__", - "_type": "request", - "name": "Get information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#get-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_869__", - "_type": "request", - "name": "Update information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#update-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_870__", - "_type": "request", - "name": "Request a page build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#request-a-page-build", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_871__", - "_type": "request", - "name": "List Pages builds", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#list-pages-builds", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_872__", - "_type": "request", - "name": "Get latest Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#get-latest-pages-build", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_873__", - "_type": "request", - "name": "Get a specific Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/pages/#get-a-specific-pages-build", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_874__", - "_type": "request", - "name": "List pre-receive hooks for repository", - "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_875__", - "_type": "request", - "name": "Get a single pre-receive hook for repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_876__", - "_type": "request", - "name": "Update pre-receive hook enforcement for repository", - "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_877__", - "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for repository", - "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_878__", - "_type": "request", - "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#list-repository-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", - "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_43__", - "_id": "__REQ_879__", - "_type": "request", - "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.16/v3/projects/#create-a-repository-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_880__", - "_type": "request", - "name": "List pull requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", - "body": {}, - "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "head", - "disabled": false - }, - { - "name": "base", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_881__", - "_type": "request", - "name": "Create a pull request", - "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#create-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_882__", - "_type": "request", - "name": "List comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#list-comments-in-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_883__", - "_type": "request", - "name": "Get a single comment", - "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#get-a-single-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_884__", - "_type": "request", - "name": "Edit a comment", - "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#edit-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_885__", - "_type": "request", - "name": "Delete a comment", - "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#delete-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_886__", - "_type": "request", - "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.16/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-a-pull-request-review-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_887__", - "_type": "request", - "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.16/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-a-pull-request-review-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_888__", - "_type": "request", - "name": "Get a single pull request", - "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.16/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.16/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.16/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.16/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#get-a-single-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_889__", - "_type": "request", - "name": "Update a pull request", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#update-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_890__", - "_type": "request", - "name": "List comments on a pull request", - "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#list-comments-on-a-pull-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_891__", - "_type": "request", - "name": "Create a comment reply", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.16/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/comments/#create-a-comment", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_892__", - "_type": "request", - "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.16/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#list-commits-on-a-pull-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_893__", - "_type": "request", - "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests-files", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_894__", - "_type": "request", - "name": "Get if a pull request has been merged", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#get-if-a-pull-request-has-been-merged", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_895__", - "_type": "request", - "name": "Merge a pull request (Merge Button)", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/#merge-a-pull-request-merge-button", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_896__", - "_type": "request", - "name": "List review requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/review_requests/#list-review-requests", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_897__", - "_type": "request", - "name": "Create a review request", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/review_requests/#create-a-review-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_898__", - "_type": "request", - "name": "Delete a review request", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/review_requests/#delete-a-review-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_899__", - "_type": "request", - "name": "List reviews on a pull request", - "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#list-reviews-on-a-pull-request", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_900__", - "_type": "request", - "name": "Create a pull request review", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.16/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.16/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#create-a-pull-request-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_901__", - "_type": "request", - "name": "Get a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#get-a-single-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_902__", - "_type": "request", - "name": "Delete a pending review", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#delete-a-pending-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_903__", - "_type": "request", - "name": "Get comments for a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#get-comments-for-a-single-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_904__", - "_type": "request", - "name": "Dismiss a pull request review", - "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.16/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#dismiss-a-pull-request-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_44__", - "_id": "__REQ_905__", - "_type": "request", - "name": "Submit a pull request review", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/pulls/reviews/#submit-a-pull-request-review", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_906__", - "_type": "request", - "name": "Get the README", - "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.16/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/contents/#get-the-readme", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", - "body": {}, - "parameters": [ - { - "name": "ref", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_907__", - "_type": "request", - "name": "List releases for a repository", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.16/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#list-releases-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_908__", - "_type": "request", - "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#create-a-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_909__", - "_type": "request", - "name": "Get a single release asset", - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.16/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.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#get-a-single-release-asset", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_910__", - "_type": "request", - "name": "Edit a release asset", - "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#edit-a-release-asset", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_911__", - "_type": "request", - "name": "Delete a release asset", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#delete-a-release-asset", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_912__", - "_type": "request", - "name": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#get-the-latest-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_913__", - "_type": "request", - "name": "Get a release by tag name", - "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#get-a-release-by-tag-name", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_914__", - "_type": "request", - "name": "Get a single release", - "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/enterprise/2.16/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#get-a-single-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_915__", - "_type": "request", - "name": "Edit a release", - "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#edit-a-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_916__", - "_type": "request", - "name": "Delete a release", - "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#delete-a-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_917__", - "_type": "request", - "name": "List assets for a release", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/releases/#list-assets-for-a-release", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_918__", - "_type": "request", - "name": "List Stargazers", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.16/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#list-stargazers", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_919__", - "_type": "request", - "name": "Get the number of additions and deletions per week", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_920__", - "_type": "request", - "name": "Get the last year of commit activity data", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_921__", - "_type": "request", - "name": "Get contributors list with additions, deletions, and commit counts", - "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_922__", - "_type": "request", - "name": "Get the weekly commit count for the repository owner and everyone else", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_923__", - "_type": "request", - "name": "Get the number of commits per hour in each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_924__", - "_type": "request", - "name": "Create a status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/statuses/#create-a-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_925__", - "_type": "request", - "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#list-watchers", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_926__", - "_type": "request", - "name": "Get a Repository Subscription", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#get-a-repository-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_927__", - "_type": "request", - "name": "Set a Repository Subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.16/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#set-a-repository-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_928__", - "_type": "request", - "name": "Delete a Repository Subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.16/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#delete-a-repository-subscription", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_929__", - "_type": "request", - "name": "List tags", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-tags", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_930__", - "_type": "request", - "name": "List teams", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-teams", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_931__", - "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-all-topics-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_932__", - "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#replace-all-topics-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_933__", - "_type": "request", - "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#transfer-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nightshade-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_934__", - "_type": "request", - "name": "Get archive link", - "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/contents/#get-archive-link", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_935__", - "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.16/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.16/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-all-public-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repositories", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "visibility", - "value": "public", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_936__", - "_type": "request", - "name": "Search code", - "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-code", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/code", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_937__", - "_type": "request", - "name": "Search commits", - "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-commits", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.cloak-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/commits", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_938__", - "_type": "request", - "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-issues-and-pull-requests", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/issues", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_939__", - "_type": "request", - "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-labels", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/labels", - "body": {}, - "parameters": [ - { - "name": "repository_id", - "disabled": false - }, - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_940__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/repositories", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_941__", - "_type": "request", - "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.16/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/topics", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_48__", - "_id": "__REQ_942__", - "_type": "request", - "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.16/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.16/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.16/v3/search/#search-users", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/search/users", - "body": {}, - "parameters": [ - { - "name": "q", - "disabled": false - }, - { - "name": "sort", - "disabled": false - }, - { - "name": "order", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_943__", - "_type": "request", - "name": "Check configuration status", - "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#check-configuration-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/configcheck", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_944__", - "_type": "request", - "name": "Start a configuration process", - "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#start-a-configuration-process", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/configure", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_945__", - "_type": "request", - "name": "Check maintenance status", - "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#check-maintenance-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/maintenance", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_946__", - "_type": "request", - "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/maintenance", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_947__", - "_type": "request", - "name": "Retrieve settings", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#retrieve-settings", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/settings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_948__", - "_type": "request", - "name": "Modify settings", - "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#modify-settings", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/setup/api/settings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_949__", - "_type": "request", - "name": "Retrieve authorized SSH keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_950__", - "_type": "request", - "name": "Add a new authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_951__", - "_type": "request", - "name": "Remove an authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_952__", - "_type": "request", - "name": "Upload a license for the first time", - "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/start", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_953__", - "_type": "request", - "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/management_console/#upgrade-a-license", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/upgrade", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_954__", - "_type": "request", - "name": "Queue an indexing job", - "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/staff/indexing_jobs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_955__", - "_type": "request", - "name": "Get team", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#get-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_956__", - "_type": "request", - "name": "Edit team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#edit-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_957__", - "_type": "request", - "name": "Delete team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#delete-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_958__", - "_type": "request", - "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussions/#list-discussions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", - "body": {}, - "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_959__", - "_type": "request", - "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussions/#create-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_960__", - "_type": "request", - "name": "Get a single discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussions/#get-a-single-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_961__", - "_type": "request", - "name": "Edit a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussions/#edit-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_962__", - "_type": "request", - "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussions/#delete-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_963__", - "_type": "request", - "name": "List comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/#list-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", - "body": {}, - "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_964__", - "_type": "request", - "name": "Create a comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.16/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/#create-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_965__", - "_type": "request", - "name": "Get a single comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/#get-a-single-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_966__", - "_type": "request", - "name": "Edit a comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/#edit-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_967__", - "_type": "request", - "name": "Delete a comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/#delete-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_968__", - "_type": "request", - "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_969__", - "_type": "request", - "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.16/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_970__", - "_type": "request", - "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.16/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#list-reactions-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_46__", - "_id": "__REQ_971__", - "_type": "request", - "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.16/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.16/v3/reactions/#create-reaction-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_972__", - "_type": "request", - "name": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#list-team-members", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members", - "body": {}, - "parameters": [ - { - "name": "role", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_973__", - "_type": "request", - "name": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.16/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#get-team-member-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_974__", - "_type": "request", - "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that 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/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#add-team-member-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_975__", - "_type": "request", - "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.16/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#remove-team-member-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_976__", - "_type": "request", - "name": "Get team membership", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.16/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#get-team-membership", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_977__", - "_type": "request", - "name": "Add or update team membership", - "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_978__", - "_type": "request", - "name": "Remove team membership", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/members/#remove-team-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_979__", - "_type": "request", - "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.16/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#list-team-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_980__", - "_type": "request", - "name": "Review a team project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#review-a-team-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_981__", - "_type": "request", - "name": "Add or update team project", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#add-or-update-team-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_982__", - "_type": "request", - "name": "Remove team project", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#remove-team-project", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_983__", - "_type": "request", - "name": "List team repos", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.16/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#list-team-repos", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_984__", - "_type": "request", - "name": "Check if a team manages a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.16/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#check-if-a-team-manages-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_985__", - "_type": "request", - "name": "Add or update team repository", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#add-or-update-team-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_986__", - "_type": "request", - "name": "Remove team repository", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#remove-team-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_987__", - "_type": "request", - "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#list-child-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_988__", - "_type": "request", - "name": "Get the authenticated user", - "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/#get-the-authenticated-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_989__", - "_type": "request", - "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/#update-the-authenticated-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/user", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_990__", - "_type": "request", - "name": "List email addresses for a user", - "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/emails/#list-email-addresses-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_991__", - "_type": "request", - "name": "Add email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/emails/#add-email-addresses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_992__", - "_type": "request", - "name": "Delete email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/emails/#delete-email-addresses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_993__", - "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#list-followers-of-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/followers", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_994__", - "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#list-users-followed-by-another-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/following", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_995__", - "_type": "request", - "name": "Check if you are following a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#check-if-you-are-following-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/following/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_996__", - "_type": "request", - "name": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#follow-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/following/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_997__", - "_type": "request", - "name": "Unfollow a user", - "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#unfollow-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/following/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_998__", - "_type": "request", - "name": "List your GPG keys", - "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/gpg_keys/#list-your-gpg-keys", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/gpg_keys", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_999__", - "_type": "request", - "name": "Create a GPG key", - "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/gpg_keys/#create-a-gpg-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/gpg_keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1000__", - "_type": "request", - "name": "Get a single GPG key", - "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/gpg_keys/#get-a-single-gpg-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1001__", - "_type": "request", - "name": "Delete a GPG key", - "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/gpg_keys/#delete-a-gpg-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_1002__", - "_type": "request", - "name": "List installations for a user", - "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.16/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#list-installations-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/installations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_1003__", - "_type": "request", - "name": "List repositories accessible to the user for an installation", - "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.16/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_1004__", - "_type": "request", - "name": "Add repository to installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#add-repository-to-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_1005__", - "_type": "request", - "name": "Remove repository from installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.16/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.16/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/installations/#remove-repository-from-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_37__", - "_id": "__REQ_1006__", - "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.16/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/issues/#list-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/issues", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1007__", - "_type": "request", - "name": "List your public keys", - "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/keys/#list-your-public-keys", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/keys", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1008__", - "_type": "request", - "name": "Create a public key", - "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/keys/#create-a-public-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1009__", - "_type": "request", - "name": "Get a single public key", - "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/users/keys/#get-a-single-public-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/keys/{{ key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1010__", - "_type": "request", - "name": "Delete a public key", - "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/keys/#delete-a-public-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/keys/{{ key_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_1011__", - "_type": "request", - "name": "List your organization memberships", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#list-your-organization-memberships", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/memberships/orgs", - "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_1012__", - "_type": "request", - "name": "Get your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#get-your-organization-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_1013__", - "_type": "request", - "name": "Edit your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/members/#edit-your-organization-membership", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_1014__", - "_type": "request", - "name": "List your organizations", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/#list-your-organizations", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/orgs", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1015__", - "_type": "request", - "name": "List public email addresses for a user", - "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/emails/#list-public-email-addresses-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/public_emails", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1016__", - "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-your-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/repos", - "body": {}, - "parameters": [ - { - "name": "visibility", - "value": "all", - "disabled": false - }, - { - "name": "affiliation", - "value": "owner,collaborator,organization_member", - "disabled": false - }, - { - "name": "type", - "value": "all", - "disabled": false - }, - { - "name": "sort", - "value": "full_name", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1017__", - "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#create", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/repos", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1018__", - "_type": "request", - "name": "List a user's repository invitations", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#list-a-users-repository-invitations", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/repository_invitations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1019__", - "_type": "request", - "name": "Accept a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#accept-a-repository-invitation", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1020__", - "_type": "request", - "name": "Decline a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/invitations/#decline-a-repository-invitation", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1021__", - "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.16/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#list-repositories-being-starred", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/starred", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1022__", - "_type": "request", - "name": "Check if you are starring a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#check-if-you-are-starring-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1023__", - "_type": "request", - "name": "Star a repository", - "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#star-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1024__", - "_type": "request", - "name": "Unstar a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#unstar-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1025__", - "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#list-repositories-being-watched", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1026__", - "_type": "request", - "name": "Check if you are watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1027__", - "_type": "request", - "name": "Watch a repository (LEGACY)", - "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#watch-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1028__", - "_type": "request", - "name": "Stop watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#stop-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_49__", - "_id": "__REQ_1029__", - "_type": "request", - "name": "List user teams", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.16/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.16/v3/teams/#list-user-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/teams", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1030__", - "_type": "request", - "name": "Get all users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.16/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/#get-all-users", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1031__", - "_type": "request", - "name": "Get a single user", - "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.16/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.16/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.16/v3/users/#get-a-single-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1032__", - "_type": "request", - "name": "List events performed by a user", - "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-events-performed-by-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1033__", - "_type": "request", - "name": "List events for an organization", - "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-events-for-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1034__", - "_type": "request", - "name": "List public events performed by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-public-events-performed-by-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events/public", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1035__", - "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#list-followers-of-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/followers", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1036__", - "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#list-users-followed-by-another-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/following", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1037__", - "_type": "request", - "name": "Check if one user follows another", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/users/followers/#check-if-one-user-follows-another", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_34__", - "_id": "__REQ_1038__", - "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/gists/#list-a-users-gists", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/gists", - "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1039__", - "_type": "request", - "name": "List GPG keys for a user", - "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/gpg_keys/#list-gpg-keys-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1040__", - "_type": "request", - "name": "Get contextual information about a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.16/v3/users/#get-contextual-information-about-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hagar-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/hovercard", - "body": {}, - "parameters": [ - { - "name": "subject_type", - "disabled": false - }, - { - "name": "subject_id", - "disabled": false - } - ] - }, - { - "parentId": "__FLD_29__", - "_id": "__REQ_1041__", - "_type": "request", - "name": "Get a user installation", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.16/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.16/v3/apps/#get-a-user-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/installation", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1042__", - "_type": "request", - "name": "List public keys for a user", - "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.16/v3/users/keys/#list-public-keys-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/keys", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_42__", - "_id": "__REQ_1043__", - "_type": "request", - "name": "List user organizations", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.16/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.16/v3/orgs/#list-user-organizations", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/orgs", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1044__", - "_type": "request", - "name": "List events that a user has received", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-events-that-a-user-has-received", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1045__", - "_type": "request", - "name": "List public events that a user has received", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/events/#list-public-events-that-a-user-has-received", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_47__", - "_id": "__REQ_1046__", - "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.16/v3/repos/#list-user-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/repos", - "body": {}, - "parameters": [ - { - "name": "type", - "value": "owner", - "disabled": false - }, - { - "name": "sort", - "value": "full_name", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_1047__", - "_type": "request", - "name": "Promote an ordinary user to a site administrator", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/users/{{ username }}/site_admin", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_1048__", - "_type": "request", - "name": "Demote a site administrator to an ordinary user", - "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/users/{{ username }}/site_admin", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1049__", - "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.16/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/starring/#list-repositories-being-starred", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/starred", - "body": {}, - "parameters": [ - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_28__", - "_id": "__REQ_1050__", - "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.16/v3/activity/watching/#list-repositories-being-watched", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_1051__", - "_type": "request", - "name": "Suspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.16/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#suspend-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/users/{{ username }}/suspended", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_33__", - "_id": "__REQ_1052__", - "_type": "request", - "name": "Unsuspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.16/v3/enterprise-admin/users/#unsuspend-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/users/{{ username }}/suspended", - "body": {}, - "parameters": [] - } - ] -} \ No newline at end of file diff --git a/routes/ghe-2.19.json b/routes/ghes-2.18.json similarity index 57% rename from routes/ghe-2.19.json rename to routes/ghes-2.18.json index 8e092ab..3f4c97c 100644 --- a/routes/ghe-2.19.json +++ b/routes/ghes-2.18.json @@ -1,19 +1,18 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.716Z", + "__export_date": "2021-02-18T02:52:38.288Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_99__", + "_id": "__FLD_98__", "_type": "request_group", - "name": "GitHub Enterprise REST API v3", + "name": "GitHub v3 REST API", "environment": { - "github_api_root": "http://{hostname}", + "github_api_root": "{protocol}://{hostname}", "access_token": "", "app_slug": "", - "archive_format": "", "asset_id": 0, "assignee": "", "authorization_id": 0, @@ -32,8 +31,6 @@ "content_reference_id": 0, "deployment_id": 0, "discussion_number": 0, - "download_id": 0, - "email": "", "event_id": 0, "file_sha": "", "fingerprint": "", @@ -48,7 +45,6 @@ "key": "", "key_id": 0, "key_ids": "", - "keyword": "", "license": "", "milestone_number": 0, "name": "", @@ -63,11 +59,9 @@ "ref": "", "release_id": 0, "repo": "", - "repository": "", "repository_id": 0, "review_id": 0, "sha": "", - "state": "", "status_id": 0, "tag": "", "tag_sha": "", @@ -84,149 +78,165 @@ } }, { - "parentId": "__FLD_99__", - "_id": "__FLD_100__", + "parentId": "__FLD_98__", + "_id": "__FLD_99__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_101__", + "parentId": "__FLD_98__", + "_id": "__FLD_100__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_102__", + "parentId": "__FLD_98__", + "_id": "__FLD_101__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_103__", + "parentId": "__FLD_98__", + "_id": "__FLD_102__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_104__", + "parentId": "__FLD_98__", + "_id": "__FLD_103__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_105__", + "parentId": "__FLD_98__", + "_id": "__FLD_104__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_106__", + "parentId": "__FLD_98__", + "_id": "__FLD_105__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_107__", + "parentId": "__FLD_98__", + "_id": "__FLD_106__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_108__", + "parentId": "__FLD_98__", + "_id": "__FLD_107__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_109__", + "parentId": "__FLD_98__", + "_id": "__FLD_108__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_110__", + "parentId": "__FLD_98__", + "_id": "__FLD_109__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_111__", + "parentId": "__FLD_98__", + "_id": "__FLD_110__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_112__", + "parentId": "__FLD_98__", + "_id": "__FLD_111__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_113__", + "parentId": "__FLD_98__", + "_id": "__FLD_112__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_114__", + "parentId": "__FLD_98__", + "_id": "__FLD_113__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_115__", + "parentId": "__FLD_98__", + "_id": "__FLD_114__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_116__", + "parentId": "__FLD_98__", + "_id": "__FLD_115__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_117__", + "parentId": "__FLD_98__", + "_id": "__FLD_116__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_118__", + "parentId": "__FLD_98__", + "_id": "__FLD_117__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_119__", + "parentId": "__FLD_98__", + "_id": "__FLD_118__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_120__", + "parentId": "__FLD_98__", + "_id": "__FLD_119__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_121__", + "parentId": "__FLD_98__", + "_id": "__FLD_120__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_122__", + "parentId": "__FLD_98__", + "_id": "__FLD_121__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2062__", + "parentId": "__FLD_111__", + "_id": "__REQ_2240__", "_type": "request", - "name": "List global hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#list-global-hooks", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_104__", + "_id": "__REQ_2241__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-global-webhooks", "headers": [ { "name": "Accept", @@ -254,11 +264,11 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2063__", + "parentId": "__FLD_104__", + "_id": "__REQ_2242__", "_type": "request", - "name": "Create a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#create-a-global-hook", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-global-webhook", "headers": [ { "name": "Accept", @@ -275,11 +285,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2064__", + "parentId": "__FLD_104__", + "_id": "__REQ_2243__", "_type": "request", - "name": "Get single global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#get-single-global-hook", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-global-webhook", "headers": [ { "name": "Accept", @@ -296,11 +306,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2065__", + "parentId": "__FLD_104__", + "_id": "__REQ_2244__", "_type": "request", - "name": "Edit a global hook", - "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-global-webhook", "headers": [ { "name": "Accept", @@ -317,11 +327,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2066__", + "parentId": "__FLD_104__", + "_id": "__REQ_2245__", "_type": "request", - "name": "Delete a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-global-webhook", "headers": [ { "name": "Accept", @@ -338,11 +348,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2067__", + "parentId": "__FLD_104__", + "_id": "__REQ_2246__", "_type": "request", - "name": "Ping a global hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#ping-a-global-webhook", "headers": [ { "name": "Accept", @@ -359,11 +369,38 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2068__", + "parentId": "__FLD_104__", + "_id": "__REQ_2247__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_104__", + "_id": "__REQ_2248__", "_type": "request", "name": "Delete a public key", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-public-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -375,11 +412,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2069__", + "parentId": "__FLD_104__", + "_id": "__REQ_2249__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.19/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -396,11 +433,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2070__", + "parentId": "__FLD_104__", + "_id": "__REQ_2250__", "_type": "request", "name": "Sync LDAP mapping for a team", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -412,11 +449,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2071__", + "parentId": "__FLD_104__", + "_id": "__REQ_2251__", "_type": "request", "name": "Update LDAP mapping for a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -428,11 +465,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2072__", + "parentId": "__FLD_104__", + "_id": "__REQ_2252__", "_type": "request", "name": "Sync LDAP mapping for a user", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -444,11 +481,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2073__", + "parentId": "__FLD_104__", + "_id": "__REQ_2253__", "_type": "request", "name": "Create an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/orgs/#create-an-organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -460,11 +497,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2074__", + "parentId": "__FLD_104__", + "_id": "__REQ_2254__", "_type": "request", - "name": "Rename an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/orgs/#rename-an-organization", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-an-organization-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -476,12 +513,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2075__", + "parentId": "__FLD_104__", + "_id": "__REQ_2255__", "_type": "request", "name": "List pre-receive environments", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -503,12 +545,17 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2076__", + "parentId": "__FLD_104__", + "_id": "__REQ_2256__", "_type": "request", "name": "Create a pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -519,12 +566,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2077__", + "parentId": "__FLD_104__", + "_id": "__REQ_2257__", "_type": "request", - "name": "Get a single pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", - "headers": [], + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -535,12 +587,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2078__", + "parentId": "__FLD_104__", + "_id": "__REQ_2258__", "_type": "request", - "name": "Edit a pre-receive environment", - "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", - "headers": [], + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -551,12 +608,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2079__", + "parentId": "__FLD_104__", + "_id": "__REQ_2259__", "_type": "request", "name": "Delete a pre-receive environment", - "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", - "headers": [], + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -567,12 +629,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2080__", + "parentId": "__FLD_104__", + "_id": "__REQ_2260__", "_type": "request", - "name": "Trigger a pre-receive environment download", - "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", - "headers": [], + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -583,12 +650,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2081__", + "parentId": "__FLD_104__", + "_id": "__REQ_2261__", "_type": "request", - "name": "Get a pre-receive environment's download status", - "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", - "headers": [], + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -596,28 +668,20 @@ "method": "GET", "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "downloaded_at", - "disabled": false - }, - { - "name": "message", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2082__", + "parentId": "__FLD_104__", + "_id": "__REQ_2262__", "_type": "request", "name": "List pre-receive hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -639,12 +703,17 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2083__", + "parentId": "__FLD_104__", + "_id": "__REQ_2263__", "_type": "request", "name": "Create a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -655,12 +724,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2084__", + "parentId": "__FLD_104__", + "_id": "__REQ_2264__", "_type": "request", - "name": "Get a single pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -671,43 +745,53 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2085__", + "parentId": "__FLD_104__", + "_id": "__REQ_2265__", "_type": "request", - "name": "Edit a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", - "headers": [], + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2086__", + "parentId": "__FLD_104__", + "_id": "__REQ_2266__", "_type": "request", "name": "Delete a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2087__", + "parentId": "__FLD_104__", + "_id": "__REQ_2267__", "_type": "request", "name": "List personal access tokens", - "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#list-personal-access-tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-personal-access-tokens", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -730,11 +814,11 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2088__", + "parentId": "__FLD_104__", + "_id": "__REQ_2268__", "_type": "request", "name": "Delete a personal access token", - "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-personal-access-token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-personal-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -746,11 +830,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2089__", + "parentId": "__FLD_104__", + "_id": "__REQ_2269__", "_type": "request", - "name": "Create a new user", - "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#create-a-new-user", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -762,11 +846,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2090__", + "parentId": "__FLD_104__", + "_id": "__REQ_2270__", "_type": "request", - "name": "Rename an existing user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#rename-an-existing-user", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-the-username-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -778,11 +862,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2091__", + "parentId": "__FLD_104__", + "_id": "__REQ_2271__", "_type": "request", "name": "Delete a user", - "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -794,11 +878,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2092__", + "parentId": "__FLD_104__", + "_id": "__REQ_2272__", "_type": "request", "name": "Create an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -810,11 +894,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2093__", + "parentId": "__FLD_104__", + "_id": "__REQ_2273__", "_type": "request", "name": "Delete an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -826,11 +910,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2094__", + "parentId": "__FLD_100__", + "_id": "__REQ_2274__", "_type": "request", - "name": "Get the authenticated GitHub App", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.19/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-the-authenticated-github-app", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -847,17 +931,12 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2095__", + "parentId": "__FLD_100__", + "_id": "__REQ_2275__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.fury-preview+json" - } - ], + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -868,11 +947,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2096__", + "parentId": "__FLD_100__", + "_id": "__REQ_2276__", "_type": "request", - "name": "List installations", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#list-installations", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -900,11 +979,11 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2097__", + "parentId": "__FLD_100__", + "_id": "__REQ_2277__", "_type": "request", - "name": "Get an installation", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -921,11 +1000,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2098__", + "parentId": "__FLD_100__", + "_id": "__REQ_2278__", "_type": "request", - "name": "Delete an installation", - "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -942,11 +1021,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2099__", + "parentId": "__FLD_100__", + "_id": "__REQ_2279__", "_type": "request", - "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#create-a-new-installation-token", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -963,11 +1042,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2100__", + "parentId": "__FLD_112__", + "_id": "__REQ_2280__", "_type": "request", "name": "List your grants", - "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-grants", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -990,11 +1069,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2101__", + "parentId": "__FLD_112__", + "_id": "__REQ_2281__", "_type": "request", "name": "Get a single grant", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-a-single-grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1006,11 +1085,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2102__", + "parentId": "__FLD_112__", + "_id": "__REQ_2282__", "_type": "request", "name": "Delete a grant", - "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#delete-a-grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-a-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1022,11 +1101,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2103__", + "parentId": "__FLD_112__", + "_id": "__REQ_2283__", "_type": "request", "name": "Revoke a grant for an application", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#revoke-a-grant-for-an-application", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1038,11 +1117,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2104__", + "parentId": "__FLD_112__", + "_id": "__REQ_2284__", "_type": "request", "name": "Check an authorization", - "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#check-an-authorization", + "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#check-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1054,11 +1133,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2105__", + "parentId": "__FLD_112__", + "_id": "__REQ_2285__", "_type": "request", "name": "Reset an authorization", - "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#reset-an-authorization", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#reset-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1070,11 +1149,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2106__", + "parentId": "__FLD_112__", + "_id": "__REQ_2286__", "_type": "request", "name": "Revoke an authorization for an application", - "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1086,11 +1165,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2107__", + "parentId": "__FLD_100__", + "_id": "__REQ_2287__", "_type": "request", - "name": "Get a single GitHub App", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-single-github-app", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1107,11 +1186,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2108__", + "parentId": "__FLD_112__", + "_id": "__REQ_2288__", "_type": "request", "name": "List your authorizations", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1134,11 +1213,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2109__", + "parentId": "__FLD_112__", + "_id": "__REQ_2289__", "_type": "request", "name": "Create a new authorization", - "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#create-a-new-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1150,11 +1229,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2110__", + "parentId": "__FLD_112__", + "_id": "__REQ_2290__", "_type": "request", "name": "Get-or-create an authorization for a specific app", - "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1166,11 +1245,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2111__", + "parentId": "__FLD_112__", + "_id": "__REQ_2291__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1182,11 +1261,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2112__", + "parentId": "__FLD_112__", + "_id": "__REQ_2292__", "_type": "request", "name": "Get a single authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-a-single-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1198,11 +1277,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2113__", + "parentId": "__FLD_112__", + "_id": "__REQ_2293__", "_type": "request", "name": "Update an existing authorization", - "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#update-an-existing-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#update-an-existing-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1214,11 +1293,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2114__", + "parentId": "__FLD_112__", + "_id": "__REQ_2294__", "_type": "request", "name": "Delete an authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#delete-an-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1230,11 +1309,11 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2115__", + "parentId": "__FLD_102__", + "_id": "__REQ_2295__", "_type": "request", - "name": "List all codes of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#list-all-codes-of-conduct", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-all-codes-of-conduct", "headers": [ { "name": "Accept", @@ -1251,11 +1330,11 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2116__", + "parentId": "__FLD_102__", + "_id": "__REQ_2296__", "_type": "request", - "name": "Get an individual code of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#get-an-individual-code-of-conduct", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-a-code-of-conduct", "headers": [ { "name": "Accept", @@ -1272,11 +1351,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2117__", + "parentId": "__FLD_100__", + "_id": "__REQ_2297__", "_type": "request", "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#create-a-content-attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#create-a-content-attachment", "headers": [ { "name": "Accept", @@ -1293,11 +1372,11 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2118__", + "parentId": "__FLD_103__", + "_id": "__REQ_2298__", "_type": "request", - "name": "Get", - "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/emojis/#emojis", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/emojis/#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1309,11 +1388,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2119__", + "parentId": "__FLD_104__", + "_id": "__REQ_2299__", "_type": "request", "name": "Get license information", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/license/#get-license-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1325,11 +1404,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2120__", + "parentId": "__FLD_104__", + "_id": "__REQ_2300__", "_type": "request", "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/admin_stats/#get-statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1341,11 +1420,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2121__", + "parentId": "__FLD_99__", + "_id": "__REQ_2301__", "_type": "request", "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1368,11 +1447,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2122__", + "parentId": "__FLD_99__", + "_id": "__REQ_2302__", "_type": "request", - "name": "List feeds", - "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.19/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.19/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/feeds/#list-feeds", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-feeds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1384,11 +1463,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2123__", + "parentId": "__FLD_105__", + "_id": "__REQ_2303__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1415,11 +1494,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2124__", + "parentId": "__FLD_105__", + "_id": "__REQ_2304__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1431,11 +1510,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2125__", + "parentId": "__FLD_105__", + "_id": "__REQ_2305__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.19/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1462,11 +1541,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2126__", + "parentId": "__FLD_105__", + "_id": "__REQ_2306__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1493,11 +1572,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2127__", + "parentId": "__FLD_105__", + "_id": "__REQ_2307__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1509,11 +1588,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2128__", + "parentId": "__FLD_105__", + "_id": "__REQ_2308__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1525,11 +1604,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2129__", + "parentId": "__FLD_105__", + "_id": "__REQ_2309__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1541,11 +1620,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2130__", + "parentId": "__FLD_105__", + "_id": "__REQ_2310__", "_type": "request", - "name": "List comments on a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#list-comments-on-a-gist", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gist-comments", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1568,11 +1647,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2131__", + "parentId": "__FLD_105__", + "_id": "__REQ_2311__", "_type": "request", - "name": "Create a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#create-a-comment", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#create-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1584,11 +1663,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2132__", + "parentId": "__FLD_105__", + "_id": "__REQ_2312__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#get-a-single-comment", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#get-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1600,11 +1679,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2133__", + "parentId": "__FLD_105__", + "_id": "__REQ_2313__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#edit-a-comment", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#update-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1616,11 +1695,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2134__", + "parentId": "__FLD_105__", + "_id": "__REQ_2314__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#delete-a-comment", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#delete-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1632,11 +1711,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2135__", + "parentId": "__FLD_105__", + "_id": "__REQ_2315__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1659,27 +1738,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2136__", - "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#fork-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_106__", - "_id": "__REQ_2137__", + "parentId": "__FLD_105__", + "_id": "__REQ_2316__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1702,59 +1765,75 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2138__", + "parentId": "__FLD_105__", + "_id": "__REQ_2317__", "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#star-a-gist", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2318__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2139__", + "parentId": "__FLD_105__", + "_id": "__REQ_2319__", "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#unstar-a-gist", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2140__", + "parentId": "__FLD_105__", + "_id": "__REQ_2320__", "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#check-if-a-gist-is-starred", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "DELETE", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2141__", + "parentId": "__FLD_105__", + "_id": "__REQ_2321__", "_type": "request", - "name": "Get a specific revision of a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#get-a-specific-revision-of-a-gist", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1766,11 +1845,11 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2142__", + "parentId": "__FLD_107__", + "_id": "__REQ_2322__", "_type": "request", - "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.19/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.19/v3/gitignore/#listing-available-templates", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1782,11 +1861,11 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2143__", + "parentId": "__FLD_107__", + "_id": "__REQ_2323__", "_type": "request", - "name": "Get a single template", - "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.19/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/gitignore/#get-a-single-template", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1798,11 +1877,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2144__", + "parentId": "__FLD_100__", + "_id": "__REQ_2324__", "_type": "request", - "name": "List repositories", - "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-app-installation", "headers": [ { "name": "Accept", @@ -1830,12 +1909,17 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2145__", + "parentId": "__FLD_108__", + "_id": "__REQ_2325__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", - "headers": [], + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1873,133 +1957,65 @@ "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "collab", "disabled": false }, { - "name": "page", - "value": 1, + "name": "orgs", "disabled": false - } - ] - }, - { - "parentId": "__FLD_120__", - "_id": "__REQ_2146__", - "_type": "request", - "name": "Search issues", - "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_120__", - "_id": "__REQ_2147__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", - "body": {}, - "parameters": [ + }, { - "name": "language", + "name": "owned", "disabled": false }, { - "name": "start_page", + "name": "pulls", "disabled": false }, { - "name": "sort", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "order", + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2148__", - "_type": "request", - "name": "Email search", - "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#email-search", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_120__", - "_id": "__REQ_2149__", + "parentId": "__FLD_109__", + "_id": "__REQ_2326__", "_type": "request", - "name": "Search users", - "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-users", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", + "url": "{{ github_api_root }}/licenses", "body": {}, "parameters": [ { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", + "name": "featured", "disabled": false }, { - "name": "order", + "name": "per_page", + "value": 30, "disabled": false } ] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2150__", - "_type": "request", - "name": "List commonly used licenses", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#list-commonly-used-licenses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/licenses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_110__", - "_id": "__REQ_2151__", + "parentId": "__FLD_109__", + "_id": "__REQ_2327__", "_type": "request", - "name": "Get an individual license", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#get-an-individual-license", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2011,11 +2027,11 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2152__", + "parentId": "__FLD_110__", + "_id": "__REQ_2328__", "_type": "request", - "name": "Render an arbitrary Markdown document", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/markdown/#render-an-arbitrary-markdown-document", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2027,11 +2043,11 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2153__", + "parentId": "__FLD_110__", + "_id": "__REQ_2329__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2043,11 +2059,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2154__", + "parentId": "__FLD_111__", + "_id": "__REQ_2330__", "_type": "request", - "name": "Get", - "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.19/v3/meta/#meta", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/meta/#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2059,11 +2075,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2155__", + "parentId": "__FLD_99__", + "_id": "__REQ_2331__", "_type": "request", "name": "List public events for a network of repositories", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-for-a-network-of-repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-network-of-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2086,11 +2102,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2156__", + "parentId": "__FLD_99__", + "_id": "__REQ_2332__", "_type": "request", - "name": "List your notifications", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2131,11 +2147,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2157__", + "parentId": "__FLD_99__", + "_id": "__REQ_2333__", "_type": "request", - "name": "Mark as read", - "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-as-read", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2147,11 +2163,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2158__", + "parentId": "__FLD_99__", + "_id": "__REQ_2334__", "_type": "request", - "name": "View a single thread", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#view-a-single-thread", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2163,11 +2179,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2159__", + "parentId": "__FLD_99__", + "_id": "__REQ_2335__", "_type": "request", "name": "Mark a thread as read", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-a-thread-as-read", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-a-thread-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2179,11 +2195,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2160__", + "parentId": "__FLD_99__", + "_id": "__REQ_2336__", "_type": "request", - "name": "Get a thread subscription", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.19/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#get-a-thread-subscription", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2195,11 +2211,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2161__", + "parentId": "__FLD_99__", + "_id": "__REQ_2337__", "_type": "request", "name": "Set a thread subscription", - "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#set-a-thread-subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2211,11 +2227,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2162__", + "parentId": "__FLD_99__", + "_id": "__REQ_2338__", "_type": "request", "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#delete-a-thread-subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2227,11 +2243,32 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2163__", + "parentId": "__FLD_111__", + "_id": "__REQ_2339__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_113__", + "_id": "__REQ_2340__", "_type": "request", - "name": "List all organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-all-organizations", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2249,20 +2286,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2164__", + "parentId": "__FLD_113__", + "_id": "__REQ_2341__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#get-an-organization", "headers": [ { "name": "Accept", @@ -2279,11 +2311,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2165__", + "parentId": "__FLD_113__", + "_id": "__REQ_2342__", "_type": "request", - "name": "Edit an organization", - "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#edit-an-organization", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2300,11 +2332,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2166__", + "parentId": "__FLD_99__", + "_id": "__REQ_2343__", "_type": "request", - "name": "List public events for an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-for-an-organization", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-organization-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2327,11 +2359,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2167__", + "parentId": "__FLD_113__", + "_id": "__REQ_2344__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#list-hooks", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2354,11 +2386,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2168__", + "parentId": "__FLD_113__", + "_id": "__REQ_2345__", "_type": "request", - "name": "Create a hook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#create-a-hook", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#create-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2370,11 +2402,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2169__", + "parentId": "__FLD_113__", + "_id": "__REQ_2346__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#get-single-hook", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2386,11 +2418,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2170__", + "parentId": "__FLD_113__", + "_id": "__REQ_2347__", "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#edit-a-hook", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2402,11 +2434,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2171__", + "parentId": "__FLD_113__", + "_id": "__REQ_2348__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#delete-a-hook", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#delete-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2418,11 +2450,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2172__", + "parentId": "__FLD_113__", + "_id": "__REQ_2349__", "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#ping-a-hook", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#ping-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2434,11 +2466,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2173__", + "parentId": "__FLD_100__", + "_id": "__REQ_2350__", "_type": "request", - "name": "Get an organization installation", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2455,11 +2487,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2174__", + "parentId": "__FLD_108__", + "_id": "__REQ_2351__", "_type": "request", - "name": "List installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-installations-for-an-organization", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2471,33 +2503,6 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installations", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_109__", - "_id": "__REQ_2175__", - "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/issues", "body": {}, "parameters": [ @@ -2542,11 +2547,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2176__", + "parentId": "__FLD_113__", + "_id": "__REQ_2352__", "_type": "request", - "name": "Members list", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#members-list", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2579,11 +2584,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2177__", + "parentId": "__FLD_113__", + "_id": "__REQ_2353__", "_type": "request", - "name": "Check membership", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#check-membership", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2595,11 +2600,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2178__", + "parentId": "__FLD_113__", + "_id": "__REQ_2354__", "_type": "request", - "name": "Remove a member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#remove-a-member", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-an-organization-member", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2611,11 +2616,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2179__", + "parentId": "__FLD_113__", + "_id": "__REQ_2355__", "_type": "request", - "name": "Get organization membership", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#get-organization-membership", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2627,11 +2632,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2180__", + "parentId": "__FLD_113__", + "_id": "__REQ_2356__", "_type": "request", - "name": "Add or update organization membership", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#add-or-update-organization-membership", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2643,11 +2648,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2181__", + "parentId": "__FLD_113__", + "_id": "__REQ_2357__", "_type": "request", - "name": "Remove organization membership", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#remove-organization-membership", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2659,11 +2664,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2182__", + "parentId": "__FLD_113__", + "_id": "__REQ_2358__", "_type": "request", - "name": "List outside collaborators", - "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#list-outside-collaborators", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-outside-collaborators-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2691,44 +2696,49 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2183__", + "parentId": "__FLD_113__", + "_id": "__REQ_2359__", "_type": "request", - "name": "Remove outside collaborator", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#remove-outside-collaborator", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2184__", + "parentId": "__FLD_113__", + "_id": "__REQ_2360__", "_type": "request", - "name": "Convert member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-outside-collaborator-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2185__", + "parentId": "__FLD_104__", + "_id": "__REQ_2361__", "_type": "request", - "name": "List pre-receive hooks for organization", - "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2750,12 +2760,17 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2186__", + "parentId": "__FLD_104__", + "_id": "__REQ_2362__", "_type": "request", - "name": "Get a single pre-receive hook for organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2766,12 +2781,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2187__", + "parentId": "__FLD_104__", + "_id": "__REQ_2363__", "_type": "request", - "name": "Update pre-receive hook enforcement for organization", - "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2782,12 +2802,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2188__", + "parentId": "__FLD_104__", + "_id": "__REQ_2364__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for organization", - "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2798,11 +2823,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2189__", + "parentId": "__FLD_114__", + "_id": "__REQ_2365__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\ns\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-organization-projects", "headers": [ { "name": "Accept", @@ -2835,11 +2860,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2190__", + "parentId": "__FLD_114__", + "_id": "__REQ_2366__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2856,11 +2881,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2191__", + "parentId": "__FLD_113__", + "_id": "__REQ_2367__", "_type": "request", - "name": "Public members list", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#public-members-list", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-public-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2883,11 +2908,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2192__", + "parentId": "__FLD_113__", + "_id": "__REQ_2368__", "_type": "request", - "name": "Check public membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#check-public-membership", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-public-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2899,11 +2924,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2193__", + "parentId": "__FLD_113__", + "_id": "__REQ_2369__", "_type": "request", - "name": "Publicize a user's membership", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#publicize-a-users-membership", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2915,11 +2940,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2194__", + "parentId": "__FLD_113__", + "_id": "__REQ_2370__", "_type": "request", - "name": "Conceal a user's membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#conceal-a-users-membership", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2931,15 +2956,15 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2195__", + "parentId": "__FLD_118__", + "_id": "__REQ_2371__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-organization-repositories", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -2952,7 +2977,6 @@ "parameters": [ { "name": "type", - "value": "all", "disabled": false }, { @@ -2977,15 +3001,15 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2196__", + "parentId": "__FLD_118__", + "_id": "__REQ_2372__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-an-organization-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -2998,17 +3022,12 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2197__", + "parentId": "__FLD_120__", + "_id": "__REQ_2373__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3030,17 +3049,12 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2198__", + "parentId": "__FLD_120__", + "_id": "__REQ_2374__", "_type": "request", - "name": "Create team", - "description": "To create a team, the authenticated user must be a member or owner of `:org`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#create-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3051,11 +3065,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2199__", + "parentId": "__FLD_120__", + "_id": "__REQ_2375__", "_type": "request", - "name": "Get team by name", - "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#get-team-by-name", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3067,11 +3081,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2200__", + "parentId": "__FLD_114__", + "_id": "__REQ_2376__", "_type": "request", "name": "Get a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#get-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-card", "headers": [ { "name": "Accept", @@ -3088,11 +3102,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2201__", + "parentId": "__FLD_114__", + "_id": "__REQ_2377__", "_type": "request", - "name": "Update a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#update-a-project-card", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-card", "headers": [ { "name": "Accept", @@ -3109,11 +3123,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2202__", + "parentId": "__FLD_114__", + "_id": "__REQ_2378__", "_type": "request", "name": "Delete a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#delete-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-card", "headers": [ { "name": "Accept", @@ -3130,11 +3144,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2203__", + "parentId": "__FLD_114__", + "_id": "__REQ_2379__", "_type": "request", "name": "Move a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#move-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-card", "headers": [ { "name": "Accept", @@ -3151,11 +3165,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2204__", + "parentId": "__FLD_114__", + "_id": "__REQ_2380__", "_type": "request", "name": "Get a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#get-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-column", "headers": [ { "name": "Accept", @@ -3172,11 +3186,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2205__", + "parentId": "__FLD_114__", + "_id": "__REQ_2381__", "_type": "request", - "name": "Update a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#update-a-project-column", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-column", "headers": [ { "name": "Accept", @@ -3193,11 +3207,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2206__", + "parentId": "__FLD_114__", + "_id": "__REQ_2382__", "_type": "request", "name": "Delete a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#delete-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-column", "headers": [ { "name": "Accept", @@ -3214,11 +3228,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2207__", + "parentId": "__FLD_114__", + "_id": "__REQ_2383__", "_type": "request", "name": "List project cards", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#list-project-cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-cards", "headers": [ { "name": "Accept", @@ -3251,11 +3265,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2208__", + "parentId": "__FLD_114__", + "_id": "__REQ_2384__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#create-a-project-card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3272,11 +3286,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2209__", + "parentId": "__FLD_114__", + "_id": "__REQ_2385__", "_type": "request", "name": "Move a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#move-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-column", "headers": [ { "name": "Accept", @@ -3293,11 +3307,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2210__", + "parentId": "__FLD_114__", + "_id": "__REQ_2386__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#get-a-project", "headers": [ { "name": "Accept", @@ -3311,25 +3325,14 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2211__", + "parentId": "__FLD_114__", + "_id": "__REQ_2387__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#update-a-project", "headers": [ { "name": "Accept", @@ -3346,11 +3349,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2212__", + "parentId": "__FLD_114__", + "_id": "__REQ_2388__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#delete-a-project", "headers": [ { "name": "Accept", @@ -3367,11 +3370,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2213__", + "parentId": "__FLD_114__", + "_id": "__REQ_2389__", "_type": "request", - "name": "List collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#list-collaborators", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-collaborators", "headers": [ { "name": "Accept", @@ -3404,11 +3407,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2214__", + "parentId": "__FLD_114__", + "_id": "__REQ_2390__", "_type": "request", - "name": "Add user as a collaborator", - "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#add-user-as-a-collaborator", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#add-project-collaborator", "headers": [ { "name": "Accept", @@ -3425,11 +3428,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2215__", + "parentId": "__FLD_114__", + "_id": "__REQ_2391__", "_type": "request", "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#remove-user-as-a-collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#remove-project-collaborator", "headers": [ { "name": "Accept", @@ -3446,11 +3449,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2216__", + "parentId": "__FLD_114__", + "_id": "__REQ_2392__", "_type": "request", - "name": "Review a user's permission level", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#review-a-users-permission-level", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-project-permission-for-a-user", "headers": [ { "name": "Accept", @@ -3467,11 +3470,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2217__", + "parentId": "__FLD_114__", + "_id": "__REQ_2393__", "_type": "request", "name": "List project columns", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#list-project-columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-columns", "headers": [ { "name": "Accept", @@ -3499,11 +3502,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2218__", + "parentId": "__FLD_114__", + "_id": "__REQ_2394__", "_type": "request", "name": "Create a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#create-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-column", "headers": [ { "name": "Accept", @@ -3520,11 +3523,11 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2219__", + "parentId": "__FLD_116__", + "_id": "__REQ_2395__", "_type": "request", - "name": "Get your current rate limit status", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.19/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.19/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.19/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.19/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.19/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.19/v3/rate_limit/#get-your-current-rate-limit-status", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3536,15 +3539,15 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2220__", + "parentId": "__FLD_117__", + "_id": "__REQ_2396__", "_type": "request", "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#delete-a-reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#delete-a-reaction", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -3557,12 +3560,17 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2221__", + "parentId": "__FLD_118__", + "_id": "__REQ_2397__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3573,15 +3581,15 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2222__", + "parentId": "__FLD_118__", + "_id": "__REQ_2398__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.19/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.x-ray-preview+json,application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -3594,11 +3602,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2223__", + "parentId": "__FLD_118__", + "_id": "__REQ_2399__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3610,11 +3618,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2224__", + "parentId": "__FLD_108__", + "_id": "__REQ_2400__", "_type": "request", "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#list-assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3637,11 +3645,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2225__", + "parentId": "__FLD_108__", + "_id": "__REQ_2401__", "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#check-assignee", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#check-if-a-user-can-be-assigned", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3653,11 +3661,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2226__", + "parentId": "__FLD_118__", + "_id": "__REQ_2402__", "_type": "request", "name": "List branches", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3684,11 +3692,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2227__", + "parentId": "__FLD_118__", + "_id": "__REQ_2403__", "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-branch", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3700,11 +3708,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2228__", + "parentId": "__FLD_118__", + "_id": "__REQ_2404__", "_type": "request", "name": "Get branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-branch-protection", "headers": [ { "name": "Accept", @@ -3721,11 +3729,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2229__", + "parentId": "__FLD_118__", + "_id": "__REQ_2405__", "_type": "request", "name": "Update branch protection", - "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-branch-protection", "headers": [ { "name": "Accept", @@ -3742,11 +3750,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2230__", + "parentId": "__FLD_118__", + "_id": "__REQ_2406__", "_type": "request", - "name": "Remove branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-branch-protection", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3758,11 +3766,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2231__", + "parentId": "__FLD_118__", + "_id": "__REQ_2407__", "_type": "request", - "name": "Get admin enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-admin-enforcement-of-protected-branch", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3774,11 +3782,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2232__", + "parentId": "__FLD_118__", + "_id": "__REQ_2408__", "_type": "request", - "name": "Add admin enforcement of protected branch", - "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-admin-enforcement-of-protected-branch", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3790,11 +3798,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2233__", + "parentId": "__FLD_118__", + "_id": "__REQ_2409__", "_type": "request", - "name": "Remove admin enforcement of protected branch", - "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3806,11 +3814,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2234__", + "parentId": "__FLD_118__", + "_id": "__REQ_2410__", "_type": "request", - "name": "Get pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3827,11 +3835,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2235__", + "parentId": "__FLD_118__", + "_id": "__REQ_2411__", "_type": "request", - "name": "Update pull request review enforcement of protected branch", - "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3848,11 +3856,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2236__", + "parentId": "__FLD_118__", + "_id": "__REQ_2412__", "_type": "request", - "name": "Remove pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-pull-request-review-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3864,11 +3872,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2237__", + "parentId": "__FLD_118__", + "_id": "__REQ_2413__", "_type": "request", - "name": "Get required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-required-signatures-of-protected-branch", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3885,11 +3893,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2238__", + "parentId": "__FLD_118__", + "_id": "__REQ_2414__", "_type": "request", - "name": "Add required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-required-signatures-of-protected-branch", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3906,11 +3914,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2239__", + "parentId": "__FLD_118__", + "_id": "__REQ_2415__", "_type": "request", - "name": "Remove required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-signatures-of-protected-branch", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3927,11 +3935,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2240__", + "parentId": "__FLD_118__", + "_id": "__REQ_2416__", "_type": "request", - "name": "Get required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-required-status-checks-of-protected-branch", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3943,11 +3951,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2241__", + "parentId": "__FLD_118__", + "_id": "__REQ_2417__", "_type": "request", - "name": "Update required status checks of protected branch", - "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-required-status-checks-of-protected-branch", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-status-check-potection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3959,11 +3967,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2242__", + "parentId": "__FLD_118__", + "_id": "__REQ_2418__", "_type": "request", - "name": "Remove required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-status-checks-of-protected-branch", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3975,11 +3983,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2243__", + "parentId": "__FLD_118__", + "_id": "__REQ_2419__", "_type": "request", - "name": "List required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3991,43 +3999,43 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2244__", + "parentId": "__FLD_118__", + "_id": "__REQ_2420__", "_type": "request", - "name": "Replace required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2245__", + "parentId": "__FLD_118__", + "_id": "__REQ_2421__", "_type": "request", - "name": "Add required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2246__", + "parentId": "__FLD_118__", + "_id": "__REQ_2422__", "_type": "request", - "name": "Remove required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4039,11 +4047,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2247__", + "parentId": "__FLD_118__", + "_id": "__REQ_2423__", "_type": "request", - "name": "Get restrictions of protected branch", - "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-restrictions-of-protected-branch", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4055,11 +4063,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2248__", + "parentId": "__FLD_118__", + "_id": "__REQ_2424__", "_type": "request", - "name": "Remove restrictions of protected branch", - "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-restrictions-of-protected-branch", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4071,102 +4079,44 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2249__", + "parentId": "__FLD_118__", + "_id": "__REQ_2425__", "_type": "request", - "name": "Get apps with access to protected branch", - "description": "Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-apps-with-access-to-protected-branch", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-teams-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2250__", - "_type": "request", - "name": "Replace app restrictions of protected branch", - "description": "Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-app-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2251__", + "parentId": "__FLD_118__", + "_id": "__REQ_2426__", "_type": "request", - "name": "Add app restrictions of protected branch", - "description": "Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-app-restrictions-of-protected-branch", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2252__", - "_type": "request", - "name": "Remove app restrictions of protected branch", - "description": "Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-app-restrictions-of-protected-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2253__", - "_type": "request", - "name": "Get teams with access to protected branch", - "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-teams-with-access-to-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2254__", + "parentId": "__FLD_118__", + "_id": "__REQ_2427__", "_type": "request", - "name": "Replace team restrictions of protected branch", - "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4177,38 +4127,12 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2255__", - "_type": "request", - "name": "Add team restrictions of protected branch", - "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2256__", + "parentId": "__FLD_118__", + "_id": "__REQ_2428__", "_type": "request", - "name": "Remove team restrictions of protected branch", - "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4219,11 +4143,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2257__", + "parentId": "__FLD_118__", + "_id": "__REQ_2429__", "_type": "request", - "name": "Get users with access to protected branch", - "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-users-with-access-to-protected-branch", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-users-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4235,43 +4159,43 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2258__", + "parentId": "__FLD_118__", + "_id": "__REQ_2430__", "_type": "request", - "name": "Replace user restrictions of protected branch", - "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-user-restrictions-of-protected-branch", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2259__", + "parentId": "__FLD_118__", + "_id": "__REQ_2431__", "_type": "request", - "name": "Add user restrictions of protected branch", - "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-user-restrictions-of-protected-branch", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2260__", + "parentId": "__FLD_118__", + "_id": "__REQ_2432__", "_type": "request", - "name": "Remove user restrictions of protected branch", - "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-user-restrictions-of-protected-branch", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4283,11 +4207,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2261__", + "parentId": "__FLD_101__", + "_id": "__REQ_2433__", "_type": "request", "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#create-a-check-run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-run", "headers": [ { "name": "Accept", @@ -4304,11 +4228,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2262__", + "parentId": "__FLD_101__", + "_id": "__REQ_2434__", "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#update-a-check-run", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-run", "headers": [ { "name": "Accept", @@ -4319,17 +4243,17 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2263__", + "parentId": "__FLD_101__", + "_id": "__REQ_2435__", "_type": "request", - "name": "Get a single check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#get-a-single-check-run", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-a-check-run", "headers": [ { "name": "Accept", @@ -4340,17 +4264,17 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2264__", + "parentId": "__FLD_101__", + "_id": "__REQ_2436__", "_type": "request", - "name": "List annotations for a check run", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-annotations-for-a-check-run", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-run-annotations", "headers": [ { "name": "Accept", @@ -4378,11 +4302,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2265__", + "parentId": "__FLD_101__", + "_id": "__REQ_2437__", "_type": "request", "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.19/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.19/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#create-a-check-suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite", "headers": [ { "name": "Accept", @@ -4399,11 +4323,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2266__", + "parentId": "__FLD_101__", + "_id": "__REQ_2438__", "_type": "request", - "name": "Set preferences for check suites on a repository", - "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.19/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites", "headers": [ { "name": "Accept", @@ -4420,11 +4344,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2267__", + "parentId": "__FLD_101__", + "_id": "__REQ_2439__", "_type": "request", - "name": "Get a single check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#get-a-single-check-suite", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-suite", "headers": [ { "name": "Accept", @@ -4441,11 +4365,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2268__", + "parentId": "__FLD_101__", + "_id": "__REQ_2440__", "_type": "request", "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-check-runs-in-a-check-suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-in-a-check-suite", "headers": [ { "name": "Accept", @@ -4486,11 +4410,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2269__", + "parentId": "__FLD_101__", + "_id": "__REQ_2441__", "_type": "request", - "name": "Rerequest check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#rerequest-check-suite", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#rerequest-a-check-suite", "headers": [ { "name": "Accept", @@ -4507,17 +4431,12 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2270__", + "parentId": "__FLD_118__", + "_id": "__REQ_2442__", "_type": "request", - "name": "List collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#list-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-collaborators", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4544,17 +4463,12 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2271__", + "parentId": "__FLD_118__", + "_id": "__REQ_2443__", "_type": "request", - "name": "Check if a user is a collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4565,11 +4479,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2272__", + "parentId": "__FLD_118__", + "_id": "__REQ_2444__", "_type": "request", - "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#add-user-as-a-collaborator", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4581,11 +4495,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2273__", + "parentId": "__FLD_118__", + "_id": "__REQ_2445__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#remove-user-as-a-collaborator", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4597,11 +4511,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2274__", + "parentId": "__FLD_118__", + "_id": "__REQ_2446__", "_type": "request", - "name": "Review a user's permission level", - "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#review-a-users-permission-level", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-permissions-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4613,12 +4527,17 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2275__", + "parentId": "__FLD_118__", + "_id": "__REQ_2447__", "_type": "request", "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.19/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.19/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#list-commit-comments-for-a-repository", - "headers": [], + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4640,12 +4559,17 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2276__", + "parentId": "__FLD_118__", + "_id": "__REQ_2448__", "_type": "request", - "name": "Get a single commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#get-a-single-commit-comment", - "headers": [], + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4656,11 +4580,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2277__", + "parentId": "__FLD_118__", + "_id": "__REQ_2449__", "_type": "request", "name": "Update a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#update-a-commit-comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4672,11 +4596,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2278__", + "parentId": "__FLD_118__", + "_id": "__REQ_2450__", "_type": "request", "name": "Delete a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#delete-a-commit-comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4688,11 +4612,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2279__", + "parentId": "__FLD_117__", + "_id": "__REQ_2451__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.19/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4724,11 +4648,11 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2280__", + "parentId": "__FLD_117__", + "_id": "__REQ_2452__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.19/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4745,11 +4669,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2281__", + "parentId": "__FLD_118__", + "_id": "__REQ_2453__", "_type": "request", - "name": "List commits on a repository", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4792,11 +4716,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2282__", + "parentId": "__FLD_118__", + "_id": "__REQ_2454__", "_type": "request", "name": "List branches for HEAD commit", - "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-branches-for-head-commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches-for-head-commit", "headers": [ { "name": "Accept", @@ -4813,12 +4737,17 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2283__", + "parentId": "__FLD_118__", + "_id": "__REQ_2455__", "_type": "request", - "name": "List comments for a single commit", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#list-comments-for-a-single-commit", - "headers": [], + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4840,11 +4769,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2284__", + "parentId": "__FLD_118__", + "_id": "__REQ_2456__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4856,11 +4785,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2285__", + "parentId": "__FLD_118__", + "_id": "__REQ_2457__", "_type": "request", - "name": "List pull requests associated with commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-pull-requests-associated-with-commit", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4888,11 +4817,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2286__", + "parentId": "__FLD_118__", + "_id": "__REQ_2458__", "_type": "request", - "name": "Get a single commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#get-a-single-commit", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4904,11 +4833,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2287__", + "parentId": "__FLD_101__", + "_id": "__REQ_2459__", "_type": "request", - "name": "List check runs for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-check-runs-for-a-specific-ref", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-for-a-git-reference", "headers": [ { "name": "Accept", @@ -4949,11 +4878,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2288__", + "parentId": "__FLD_101__", + "_id": "__REQ_2460__", "_type": "request", - "name": "List check suites for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#list-check-suites-for-a-specific-ref", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-suites-for-a-git-reference", "headers": [ { "name": "Accept", @@ -4989,11 +4918,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2289__", + "parentId": "__FLD_118__", + "_id": "__REQ_2461__", "_type": "request", - "name": "Get the combined status for a specific ref", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.19/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5005,11 +4934,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2290__", + "parentId": "__FLD_118__", + "_id": "__REQ_2462__", "_type": "request", - "name": "List statuses for a specific ref", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#list-statuses-for-a-specific-ref", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-statuses-for-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5032,11 +4961,11 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2291__", + "parentId": "__FLD_102__", + "_id": "__REQ_2463__", "_type": "request", - "name": "Get the contents of a repository's code of conduct", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", "headers": [ { "name": "Accept", @@ -5053,11 +4982,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2292__", + "parentId": "__FLD_118__", + "_id": "__REQ_2464__", "_type": "request", "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#compare-two-commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#compare-two-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5069,11 +4998,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2293__", + "parentId": "__FLD_118__", + "_id": "__REQ_2465__", "_type": "request", - "name": "Get contents", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.19/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.19/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.19/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-contents", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.18/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5090,11 +5019,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2294__", + "parentId": "__FLD_118__", + "_id": "__REQ_2466__", "_type": "request", - "name": "Create or update a file", - "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#create-or-update-a-file", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-or-update-file-contents", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5106,11 +5035,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2295__", + "parentId": "__FLD_118__", + "_id": "__REQ_2467__", "_type": "request", "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#delete-a-file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-file", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5122,11 +5051,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2296__", + "parentId": "__FLD_118__", + "_id": "__REQ_2468__", "_type": "request", - "name": "List contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-contributors", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5153,11 +5082,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2297__", + "parentId": "__FLD_118__", + "_id": "__REQ_2469__", "_type": "request", "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#list-deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployments", "headers": [ { "name": "Accept", @@ -5205,11 +5134,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2298__", + "parentId": "__FLD_118__", + "_id": "__REQ_2470__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.19/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment", "headers": [ { "name": "Accept", @@ -5226,15 +5155,15 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2299__", + "parentId": "__FLD_118__", + "_id": "__REQ_2471__", "_type": "request", - "name": "Get a single deployment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#get-a-single-deployment", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -5247,92 +5176,23 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2300__", + "parentId": "__FLD_118__", + "_id": "__REQ_2472__", "_type": "request", "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2301__", - "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2302__", - "_type": "request", - "name": "Get a single deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#get-a-single-deployment-status", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployment-statuses", "headers": [ { "name": "Accept", "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2303__", - "_type": "request", - "name": "List downloads for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#list-downloads-for-a-repository", - "headers": [], + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [ { @@ -5348,43 +5208,53 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2304__", + "parentId": "__FLD_118__", + "_id": "__REQ_2473__", "_type": "request", - "name": "Get a single download", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#get-a-single-download", - "headers": [], + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2305__", + "parentId": "__FLD_118__", + "_id": "__REQ_2474__", "_type": "request", - "name": "Delete a download", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#delete-a-download", - "headers": [], + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2306__", + "parentId": "__FLD_99__", + "_id": "__REQ_2475__", "_type": "request", "name": "List repository events", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-repository-events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5407,11 +5277,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2307__", + "parentId": "__FLD_118__", + "_id": "__REQ_2476__", "_type": "request", "name": "List forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/forks/#list-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5439,11 +5309,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2308__", + "parentId": "__FLD_118__", + "_id": "__REQ_2477__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/forks/#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5455,11 +5325,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2309__", + "parentId": "__FLD_106__", + "_id": "__REQ_2478__", "_type": "request", "name": "Create a blob", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/git/blobs/#create-a-blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5471,11 +5341,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2310__", + "parentId": "__FLD_106__", + "_id": "__REQ_2479__", "_type": "request", "name": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/blobs/#get-a-blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5487,11 +5357,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2311__", + "parentId": "__FLD_106__", + "_id": "__REQ_2480__", "_type": "request", "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/commits/#create-a-commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5503,11 +5373,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2312__", + "parentId": "__FLD_106__", + "_id": "__REQ_2481__", "_type": "request", "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/commits/#get-a-commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5519,18 +5389,34 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2313__", + "parentId": "__FLD_106__", + "_id": "__REQ_2482__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2483__", "_type": "request", - "name": "List matching references", - "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a 404 is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#list-matching-references", + "name": "Get all references", + "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#list-references", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ namespace }}", "body": {}, "parameters": [ { @@ -5546,43 +5432,11 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2314__", - "_type": "request", - "name": "Get a single reference", - "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nTo get the reference for a branch named `skunkworkz/featureA`, the endpoint route is:\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#get-a-single-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_107__", - "_id": "__REQ_2315__", - "_type": "request", - "name": "Create a reference", - "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_107__", - "_id": "__REQ_2316__", + "parentId": "__FLD_106__", + "_id": "__REQ_2484__", "_type": "request", "name": "Update a reference", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#update-a-reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5594,11 +5448,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2317__", + "parentId": "__FLD_106__", + "_id": "__REQ_2485__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5610,11 +5464,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2318__", + "parentId": "__FLD_106__", + "_id": "__REQ_2486__", "_type": "request", "name": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/tags/#create-a-tag-object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tag-object", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5626,11 +5480,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2319__", + "parentId": "__FLD_106__", + "_id": "__REQ_2487__", "_type": "request", "name": "Get a tag", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/tags/#get-a-tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tag", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5642,11 +5496,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2320__", + "parentId": "__FLD_106__", + "_id": "__REQ_2488__", "_type": "request", "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.19/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.19/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/git/trees/#create-a-tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5658,11 +5512,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2321__", + "parentId": "__FLD_106__", + "_id": "__REQ_2489__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5679,11 +5533,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2322__", + "parentId": "__FLD_118__", + "_id": "__REQ_2490__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#list-hooks", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5706,11 +5560,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2323__", + "parentId": "__FLD_118__", + "_id": "__REQ_2491__", "_type": "request", - "name": "Create a hook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#create-a-hook", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5722,11 +5576,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2324__", + "parentId": "__FLD_118__", + "_id": "__REQ_2492__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#get-single-hook", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5738,11 +5592,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2325__", + "parentId": "__FLD_118__", + "_id": "__REQ_2493__", "_type": "request", - "name": "Edit a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#edit-a-hook", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5754,11 +5608,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2326__", + "parentId": "__FLD_118__", + "_id": "__REQ_2494__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#delete-a-hook", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5770,11 +5624,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2327__", + "parentId": "__FLD_118__", + "_id": "__REQ_2495__", "_type": "request", - "name": "Ping a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#ping-a-hook", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5786,11 +5640,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2328__", + "parentId": "__FLD_118__", + "_id": "__REQ_2496__", "_type": "request", - "name": "Test a push hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#test-a-push-hook", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5802,11 +5656,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2329__", + "parentId": "__FLD_100__", + "_id": "__REQ_2497__", "_type": "request", - "name": "Get a repository installation", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -5823,11 +5677,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2330__", + "parentId": "__FLD_118__", + "_id": "__REQ_2498__", "_type": "request", - "name": "List invitations for a repository", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#list-invitations-for-a-repository", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5850,44 +5704,49 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2331__", + "parentId": "__FLD_118__", + "_id": "__REQ_2499__", "_type": "request", - "name": "Delete a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#delete-a-repository-invitation", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2332__", + "parentId": "__FLD_118__", + "_id": "__REQ_2500__", "_type": "request", - "name": "Update a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#update-a-repository-invitation", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2333__", + "parentId": "__FLD_108__", + "_id": "__REQ_2501__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues-for-a-repository", - "headers": [], + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5948,11 +5807,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2334__", + "parentId": "__FLD_108__", + "_id": "__REQ_2502__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5964,12 +5823,17 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2335__", + "parentId": "__FLD_108__", + "_id": "__REQ_2503__", "_type": "request", - "name": "List comments in a repository", - "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5990,16 +5854,31 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2336__", + "parentId": "__FLD_108__", + "_id": "__REQ_2504__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#get-a-single-comment", - "headers": [], + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6007,25 +5886,14 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2337__", + "parentId": "__FLD_108__", + "_id": "__REQ_2505__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#edit-a-comment", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6037,11 +5905,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2338__", + "parentId": "__FLD_108__", + "_id": "__REQ_2506__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#delete-a-comment", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6053,11 +5921,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2339__", + "parentId": "__FLD_117__", + "_id": "__REQ_2507__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.19/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6089,11 +5957,11 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2340__", + "parentId": "__FLD_117__", + "_id": "__REQ_2508__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.19/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6110,11 +5978,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2341__", + "parentId": "__FLD_108__", + "_id": "__REQ_2509__", "_type": "request", - "name": "List events for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#list-events-for-a-repository", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events-for-a-repository", "headers": [ { "name": "Accept", @@ -6142,15 +6010,15 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2342__", + "parentId": "__FLD_108__", + "_id": "__REQ_2510__", "_type": "request", - "name": "Get a single event", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#get-a-single-event", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-event", "headers": [ { "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json,application/vnd.github.machine-man-preview+json" } ], "authentication": { @@ -6163,12 +6031,17 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2343__", + "parentId": "__FLD_108__", + "_id": "__REQ_2511__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.19/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#get-a-single-issue", - "headers": [], + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6179,11 +6052,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2344__", + "parentId": "__FLD_108__", + "_id": "__REQ_2512__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6195,11 +6068,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2345__", + "parentId": "__FLD_108__", + "_id": "__REQ_2513__", "_type": "request", "name": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#add-assignees-to-an-issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-assignees-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6211,11 +6084,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2346__", + "parentId": "__FLD_108__", + "_id": "__REQ_2514__", "_type": "request", "name": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#remove-assignees-from-an-issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-assignees-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6227,12 +6100,17 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2347__", + "parentId": "__FLD_108__", + "_id": "__REQ_2515__", "_type": "request", - "name": "List comments on an issue", - "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#list-comments-on-an-issue", - "headers": [], + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6258,11 +6136,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2348__", + "parentId": "__FLD_108__", + "_id": "__REQ_2516__", "_type": "request", - "name": "Create a comment", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#create-a-comment", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6274,11 +6152,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2349__", + "parentId": "__FLD_108__", + "_id": "__REQ_2517__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#list-events-for-an-issue", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events", "headers": [ { "name": "Accept", @@ -6306,11 +6184,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2350__", + "parentId": "__FLD_108__", + "_id": "__REQ_2518__", "_type": "request", - "name": "List labels on an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#list-labels-on-an-issue", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6333,11 +6211,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2351__", + "parentId": "__FLD_108__", + "_id": "__REQ_2519__", "_type": "request", "name": "Add labels to an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#add-labels-to-an-issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-labels-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6349,11 +6227,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2352__", + "parentId": "__FLD_108__", + "_id": "__REQ_2520__", "_type": "request", - "name": "Replace all labels for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#replace-all-labels-for-an-issue", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#set-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6365,11 +6243,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2353__", + "parentId": "__FLD_108__", + "_id": "__REQ_2521__", "_type": "request", "name": "Remove all labels from an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#remove-all-labels-from-an-issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-all-labels-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6381,11 +6259,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2354__", + "parentId": "__FLD_108__", + "_id": "__REQ_2522__", "_type": "request", "name": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#remove-a-label-from-an-issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-a-label-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6397,11 +6275,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2355__", + "parentId": "__FLD_108__", + "_id": "__REQ_2523__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#lock-an-issue", "headers": [ { "name": "Accept", @@ -6418,11 +6296,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2356__", + "parentId": "__FLD_108__", + "_id": "__REQ_2524__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6434,11 +6312,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2357__", + "parentId": "__FLD_117__", + "_id": "__REQ_2525__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.19/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6470,11 +6348,11 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2358__", + "parentId": "__FLD_117__", + "_id": "__REQ_2526__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.19/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6491,11 +6369,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2359__", + "parentId": "__FLD_108__", + "_id": "__REQ_2527__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/timeline/#list-events-for-an-issue", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", @@ -6523,11 +6401,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2360__", + "parentId": "__FLD_118__", + "_id": "__REQ_2528__", "_type": "request", "name": "List deploy keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#list-deploy-keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deploy-keys", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6550,11 +6428,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2361__", + "parentId": "__FLD_118__", + "_id": "__REQ_2529__", "_type": "request", - "name": "Add a new deploy key", - "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#add-a-new-deploy-key", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6566,11 +6444,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2362__", + "parentId": "__FLD_118__", + "_id": "__REQ_2530__", "_type": "request", "name": "Get a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#get-a-deploy-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6582,11 +6460,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2363__", + "parentId": "__FLD_118__", + "_id": "__REQ_2531__", "_type": "request", - "name": "Remove a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#remove-a-deploy-key", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6598,11 +6476,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2364__", + "parentId": "__FLD_108__", + "_id": "__REQ_2532__", "_type": "request", - "name": "List all labels for this repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#list-all-labels-for-this-repository", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6625,11 +6503,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2365__", + "parentId": "__FLD_108__", + "_id": "__REQ_2533__", "_type": "request", "name": "Create a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#create-a-label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6641,11 +6519,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2366__", + "parentId": "__FLD_108__", + "_id": "__REQ_2534__", "_type": "request", - "name": "Get a single label", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#get-a-single-label", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6657,27 +6535,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2367__", - "_type": "request", - "name": "Update a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#update-a-label", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_109__", - "_id": "__REQ_2368__", + "parentId": "__FLD_108__", + "_id": "__REQ_2535__", "_type": "request", "name": "Delete a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#delete-a-label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6689,11 +6551,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2369__", + "parentId": "__FLD_118__", + "_id": "__REQ_2536__", "_type": "request", - "name": "List languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-languages", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6705,11 +6567,11 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2370__", + "parentId": "__FLD_109__", + "_id": "__REQ_2537__", "_type": "request", - "name": "Get the contents of a repository's license", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.19/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#get-the-contents-of-a-repositorys-license", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6721,11 +6583,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2371__", + "parentId": "__FLD_118__", + "_id": "__REQ_2538__", "_type": "request", - "name": "Perform a merge", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/merging/#perform-a-merge", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#merge-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6737,11 +6599,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2372__", + "parentId": "__FLD_108__", + "_id": "__REQ_2539__", "_type": "request", - "name": "List milestones for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#list-milestones-for-a-repository", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-milestones", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6779,11 +6641,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2373__", + "parentId": "__FLD_108__", + "_id": "__REQ_2540__", "_type": "request", "name": "Create a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#create-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6795,11 +6657,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2374__", + "parentId": "__FLD_108__", + "_id": "__REQ_2541__", "_type": "request", - "name": "Get a single milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#get-a-single-milestone", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6811,11 +6673,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2375__", + "parentId": "__FLD_108__", + "_id": "__REQ_2542__", "_type": "request", "name": "Update a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#update-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6827,11 +6689,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2376__", + "parentId": "__FLD_108__", + "_id": "__REQ_2543__", "_type": "request", "name": "Delete a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#delete-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6843,11 +6705,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2377__", + "parentId": "__FLD_108__", + "_id": "__REQ_2544__", "_type": "request", - "name": "Get labels for every issue in a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-issues-in-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6870,11 +6732,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2378__", + "parentId": "__FLD_99__", + "_id": "__REQ_2545__", "_type": "request", - "name": "List your notifications in a repository", - "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications-in-a-repository", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6915,11 +6777,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2379__", + "parentId": "__FLD_99__", + "_id": "__REQ_2546__", "_type": "request", - "name": "Mark notifications as read in a repository", - "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-repository-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6931,11 +6793,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2380__", + "parentId": "__FLD_118__", + "_id": "__REQ_2547__", "_type": "request", - "name": "Get information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-information-about-a-pages-site", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6947,15 +6809,15 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2381__", + "parentId": "__FLD_118__", + "_id": "__REQ_2548__", "_type": "request", - "name": "Enable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#enable-a-pages-site", + "name": "Create a GitHub Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-github-pages-site", "headers": [ { "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" + "value": "application/vnd.github.switcheroo-preview+json,application/vnd.github.mister-fantastic-preview+json" } ], "authentication": { @@ -6968,64 +6830,53 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2382__", + "parentId": "__FLD_118__", + "_id": "__REQ_2549__", "_type": "request", - "name": "Disable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#disable-a-pages-site", + "name": "Update information about a GitHub Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-information-about-a-github-pages-site", "headers": [ { "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" + "value": "application/vnd.github.mister-fantastic-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2383__", - "_type": "request", - "name": "Update information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#update-information-about-a-pages-site", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2384__", + "parentId": "__FLD_118__", + "_id": "__REQ_2550__", "_type": "request", - "name": "Request a page build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#request-a-page-build", - "headers": [], + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2385__", + "parentId": "__FLD_118__", + "_id": "__REQ_2551__", "_type": "request", - "name": "List Pages builds", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#list-pages-builds", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7048,11 +6899,27 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2386__", + "parentId": "__FLD_118__", + "_id": "__REQ_2552__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_118__", + "_id": "__REQ_2553__", "_type": "request", "name": "Get latest Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-latest-pages-build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7064,11 +6931,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2387__", + "parentId": "__FLD_118__", + "_id": "__REQ_2554__", "_type": "request", - "name": "Get a specific Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-a-specific-pages-build", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7080,12 +6947,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2388__", + "parentId": "__FLD_104__", + "_id": "__REQ_2555__", "_type": "request", - "name": "List pre-receive hooks for repository", - "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7107,12 +6979,17 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2389__", + "parentId": "__FLD_104__", + "_id": "__REQ_2556__", "_type": "request", - "name": "Get a single pre-receive hook for repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7123,12 +7000,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2390__", + "parentId": "__FLD_104__", + "_id": "__REQ_2557__", "_type": "request", - "name": "Update pre-receive hook enforcement for repository", - "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7139,12 +7021,17 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2391__", + "parentId": "__FLD_104__", + "_id": "__REQ_2558__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for repository", - "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7155,11 +7042,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2392__", + "parentId": "__FLD_114__", + "_id": "__REQ_2559__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-repository-projects", "headers": [ { "name": "Accept", @@ -7192,11 +7079,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2393__", + "parentId": "__FLD_114__", + "_id": "__REQ_2560__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7213,11 +7100,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2394__", + "parentId": "__FLD_115__", + "_id": "__REQ_2561__", "_type": "request", "name": "List pull requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests", "headers": [ { "name": "Accept", @@ -7267,11 +7154,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2395__", + "parentId": "__FLD_115__", + "_id": "__REQ_2562__", "_type": "request", "name": "Create a pull request", - "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#create-a-pull-request", "headers": [ { "name": "Accept", @@ -7288,12 +7175,17 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2396__", + "parentId": "__FLD_115__", + "_id": "__REQ_2563__", "_type": "request", - "name": "List comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7328,12 +7220,17 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2397__", + "parentId": "__FLD_115__", + "_id": "__REQ_2564__", "_type": "request", - "name": "Get a single comment", - "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#get-a-single-comment", - "headers": [], + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7344,12 +7241,17 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2398__", + "parentId": "__FLD_115__", + "_id": "__REQ_2565__", "_type": "request", - "name": "Edit a comment", - "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#edit-a-comment", - "headers": [], + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7360,11 +7262,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2399__", + "parentId": "__FLD_115__", + "_id": "__REQ_2566__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#delete-a-comment", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7376,11 +7278,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2400__", + "parentId": "__FLD_117__", + "_id": "__REQ_2567__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.19/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7412,11 +7314,11 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2401__", + "parentId": "__FLD_117__", + "_id": "__REQ_2568__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.19/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7433,17 +7335,12 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2402__", + "parentId": "__FLD_115__", + "_id": "__REQ_2569__", "_type": "request", - "name": "Get a single pull request", - "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.19/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#get-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7454,11 +7351,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2403__", + "parentId": "__FLD_115__", + "_id": "__REQ_2570__", "_type": "request", "name": "Update a pull request", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -7475,12 +7372,17 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2404__", + "parentId": "__FLD_115__", + "_id": "__REQ_2571__", "_type": "request", - "name": "List comments on a pull request", - "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#list-comments-on-a-pull-request", - "headers": [], + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7515,11 +7417,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2405__", + "parentId": "__FLD_115__", + "_id": "__REQ_2572__", "_type": "request", - "name": "Create a comment", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.19/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#create-a-comment", + "name": "Create a review comment for a pull request (alternative)", + "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7531,11 +7433,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2406__", + "parentId": "__FLD_115__", + "_id": "__REQ_2573__", "_type": "request", - "name": "Create a review comment reply", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#create-a-review-comment-reply", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7547,11 +7449,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2407__", + "parentId": "__FLD_115__", + "_id": "__REQ_2574__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7574,11 +7476,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2408__", + "parentId": "__FLD_115__", + "_id": "__REQ_2575__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7601,11 +7503,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2409__", + "parentId": "__FLD_115__", + "_id": "__REQ_2576__", "_type": "request", - "name": "Get if a pull request has been merged", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#get-if-a-pull-request-has-been-merged", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7617,11 +7519,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2410__", + "parentId": "__FLD_115__", + "_id": "__REQ_2577__", "_type": "request", - "name": "Merge a pull request (Merge Button)", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#merge-a-pull-request-merge-button", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7633,11 +7535,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2411__", + "parentId": "__FLD_115__", + "_id": "__REQ_2578__", "_type": "request", - "name": "List review requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#list-review-requests", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7660,11 +7562,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2412__", + "parentId": "__FLD_115__", + "_id": "__REQ_2579__", "_type": "request", - "name": "Create a review request", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#create-a-review-request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7676,11 +7578,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2413__", + "parentId": "__FLD_115__", + "_id": "__REQ_2580__", "_type": "request", - "name": "Delete a review request", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#delete-a-review-request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7692,11 +7594,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2414__", + "parentId": "__FLD_115__", + "_id": "__REQ_2581__", "_type": "request", - "name": "List reviews on a pull request", - "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#list-reviews-on-a-pull-request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-reviews-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7719,11 +7621,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2415__", + "parentId": "__FLD_115__", + "_id": "__REQ_2582__", "_type": "request", - "name": "Create a pull request review", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#create-a-pull-request-review", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7735,11 +7637,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2416__", + "parentId": "__FLD_115__", + "_id": "__REQ_2583__", "_type": "request", - "name": "Get a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#get-a-single-review", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7751,43 +7653,43 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2417__", + "parentId": "__FLD_115__", + "_id": "__REQ_2584__", "_type": "request", - "name": "Delete a pending review", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#delete-a-pending-review", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2418__", + "parentId": "__FLD_115__", + "_id": "__REQ_2585__", "_type": "request", - "name": "Update a pull request review", - "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#update-a-pull-request-review", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2419__", + "parentId": "__FLD_115__", + "_id": "__REQ_2586__", "_type": "request", - "name": "Get comments for a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#get-comments-for-a-single-review", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-comments-for-a-pull-request-review", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7810,11 +7712,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2420__", + "parentId": "__FLD_115__", + "_id": "__REQ_2587__", "_type": "request", - "name": "Dismiss a pull request review", - "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.19/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#dismiss-a-pull-request-review", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#dismiss-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7826,11 +7728,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2421__", + "parentId": "__FLD_115__", + "_id": "__REQ_2588__", "_type": "request", - "name": "Submit a pull request review", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#submit-a-pull-request-review", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#submit-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7842,11 +7744,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2422__", + "parentId": "__FLD_115__", + "_id": "__REQ_2589__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -7863,11 +7765,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2423__", + "parentId": "__FLD_118__", + "_id": "__REQ_2590__", "_type": "request", - "name": "Get the README", - "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-the-readme", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-readme", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7884,11 +7786,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2424__", + "parentId": "__FLD_118__", + "_id": "__REQ_2591__", "_type": "request", - "name": "List releases for a repository", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.19/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#list-releases-for-a-repository", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-releases", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7911,11 +7813,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2425__", + "parentId": "__FLD_118__", + "_id": "__REQ_2592__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7927,11 +7829,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2426__", + "parentId": "__FLD_118__", + "_id": "__REQ_2593__", "_type": "request", - "name": "Get a single release asset", - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.19/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.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-single-release-asset", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7943,11 +7845,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2427__", + "parentId": "__FLD_118__", + "_id": "__REQ_2594__", "_type": "request", - "name": "Edit a release asset", - "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#edit-a-release-asset", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7959,11 +7861,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2428__", + "parentId": "__FLD_118__", + "_id": "__REQ_2595__", "_type": "request", "name": "Delete a release asset", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#delete-a-release-asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7975,11 +7877,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2429__", + "parentId": "__FLD_118__", + "_id": "__REQ_2596__", "_type": "request", "name": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-the-latest-release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-latest-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7991,11 +7893,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2430__", + "parentId": "__FLD_118__", + "_id": "__REQ_2597__", "_type": "request", "name": "Get a release by tag name", - "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-release-by-tag-name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-by-tag-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8007,11 +7909,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2431__", + "parentId": "__FLD_118__", + "_id": "__REQ_2598__", "_type": "request", - "name": "Get a single release", - "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/enterprise/2.19/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-single-release", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8023,11 +7925,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2432__", + "parentId": "__FLD_118__", + "_id": "__REQ_2599__", "_type": "request", - "name": "Edit a release", - "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#edit-a-release", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8039,11 +7941,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2433__", + "parentId": "__FLD_118__", + "_id": "__REQ_2600__", "_type": "request", "name": "Delete a release", - "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#delete-a-release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8055,11 +7957,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2434__", + "parentId": "__FLD_118__", + "_id": "__REQ_2601__", "_type": "request", - "name": "List assets for a release", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#list-assets-for-a-release", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-release-assets", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8082,11 +7984,36 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2435__", + "parentId": "__FLD_118__", + "_id": "__REQ_2602__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2603__", "_type": "request", - "name": "List Stargazers", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-stargazers", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-stargazers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8109,11 +8036,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2436__", + "parentId": "__FLD_118__", + "_id": "__REQ_2604__", "_type": "request", - "name": "Get the number of additions and deletions per week", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8125,11 +8052,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2437__", + "parentId": "__FLD_118__", + "_id": "__REQ_2605__", "_type": "request", - "name": "Get the last year of commit activity data", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8141,11 +8068,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2438__", + "parentId": "__FLD_118__", + "_id": "__REQ_2606__", "_type": "request", - "name": "Get contributors list with additions, deletions, and commit counts", - "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8157,11 +8084,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2439__", + "parentId": "__FLD_118__", + "_id": "__REQ_2607__", "_type": "request", - "name": "Get the weekly commit count for the repository owner and everyone else", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8173,11 +8100,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2440__", + "parentId": "__FLD_118__", + "_id": "__REQ_2608__", "_type": "request", - "name": "Get the number of commits per hour in each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-hourly-commit-count-for-each-day", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8188,12 +8115,12 @@ "body": {}, "parameters": [] }, - { - "parentId": "__FLD_119__", - "_id": "__REQ_2441__", + { + "parentId": "__FLD_118__", + "_id": "__REQ_2609__", "_type": "request", - "name": "Create a status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#create-a-status", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8205,11 +8132,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2442__", + "parentId": "__FLD_99__", + "_id": "__REQ_2610__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8232,11 +8159,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2443__", + "parentId": "__FLD_99__", + "_id": "__REQ_2611__", "_type": "request", - "name": "Get a Repository Subscription", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#get-a-repository-subscription", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8248,11 +8175,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2444__", + "parentId": "__FLD_99__", + "_id": "__REQ_2612__", "_type": "request", - "name": "Set a Repository Subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.19/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#set-a-repository-subscription", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8264,11 +8191,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2445__", + "parentId": "__FLD_99__", + "_id": "__REQ_2613__", "_type": "request", - "name": "Delete a Repository Subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.19/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#delete-a-repository-subscription", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8280,11 +8207,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2446__", + "parentId": "__FLD_118__", + "_id": "__REQ_2614__", "_type": "request", - "name": "List tags", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-tags", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8307,11 +8234,27 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2447__", + "parentId": "__FLD_118__", + "_id": "__REQ_2615__", "_type": "request", - "name": "List teams", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-teams", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_118__", + "_id": "__REQ_2616__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8334,11 +8277,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2448__", + "parentId": "__FLD_118__", + "_id": "__REQ_2617__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8355,11 +8298,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2449__", + "parentId": "__FLD_118__", + "_id": "__REQ_2618__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8376,17 +8319,12 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2450__", + "parentId": "__FLD_118__", + "_id": "__REQ_2619__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#transfer-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nightshade-preview+json" - } - ], + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#transfer-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8397,11 +8335,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2451__", + "parentId": "__FLD_118__", + "_id": "__REQ_2620__", "_type": "request", "name": "Enable vulnerability alerts", - "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#enable-vulnerability-alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#enable-vulnerability-alerts", "headers": [ { "name": "Accept", @@ -8418,11 +8356,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2452__", + "parentId": "__FLD_118__", + "_id": "__REQ_2621__", "_type": "request", "name": "Disable vulnerability alerts", - "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#disable-vulnerability-alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#disable-vulnerability-alerts", "headers": [ { "name": "Accept", @@ -8439,27 +8377,27 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2453__", + "parentId": "__FLD_118__", + "_id": "__REQ_2622__", "_type": "request", - "name": "Get archive link", - "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-archive-link", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2454__", + "parentId": "__FLD_118__", + "_id": "__REQ_2623__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/enterprise/2.19/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create-repository-using-a-repository-template", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8476,11 +8414,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2455__", + "parentId": "__FLD_118__", + "_id": "__REQ_2624__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8498,25 +8436,15 @@ "name": "visibility", "value": "public", "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2456__", + "parentId": "__FLD_119__", + "_id": "__REQ_2625__", "_type": "request", "name": "Search code", - "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8552,11 +8480,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2457__", + "parentId": "__FLD_119__", + "_id": "__REQ_2626__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-commits", "headers": [ { "name": "Accept", @@ -8597,11 +8525,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2458__", + "parentId": "__FLD_119__", + "_id": "__REQ_2627__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8637,11 +8565,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2459__", + "parentId": "__FLD_119__", + "_id": "__REQ_2628__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8671,11 +8599,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2460__", + "parentId": "__FLD_119__", + "_id": "__REQ_2629__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-repositories", "headers": [ { "name": "Accept", @@ -8716,11 +8644,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2461__", + "parentId": "__FLD_119__", + "_id": "__REQ_2630__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-topics", "headers": [ { "name": "Accept", @@ -8742,11 +8670,11 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2462__", + "parentId": "__FLD_119__", + "_id": "__REQ_2631__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8782,11 +8710,11 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2463__", + "parentId": "__FLD_104__", + "_id": "__REQ_2632__", "_type": "request", - "name": "Check configuration status", - "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#check-configuration-status", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-configuration-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8798,11 +8726,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2464__", + "parentId": "__FLD_104__", + "_id": "__REQ_2633__", "_type": "request", "name": "Start a configuration process", - "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#start-a-configuration-process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8814,11 +8742,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2465__", + "parentId": "__FLD_104__", + "_id": "__REQ_2634__", "_type": "request", - "name": "Check maintenance status", - "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#check-maintenance-status", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-maintenance-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8830,11 +8758,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2466__", + "parentId": "__FLD_104__", + "_id": "__REQ_2635__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8846,11 +8774,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2467__", + "parentId": "__FLD_104__", + "_id": "__REQ_2636__", "_type": "request", - "name": "Retrieve settings", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8862,11 +8790,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2468__", + "parentId": "__FLD_104__", + "_id": "__REQ_2637__", "_type": "request", - "name": "Modify settings", - "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#modify-settings", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8878,11 +8806,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2469__", + "parentId": "__FLD_104__", + "_id": "__REQ_2638__", "_type": "request", - "name": "Retrieve authorized SSH keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8894,11 +8822,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2470__", + "parentId": "__FLD_104__", + "_id": "__REQ_2639__", "_type": "request", - "name": "Add a new authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8910,11 +8838,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2471__", + "parentId": "__FLD_104__", + "_id": "__REQ_2640__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8926,11 +8854,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2472__", + "parentId": "__FLD_104__", + "_id": "__REQ_2641__", "_type": "request", - "name": "Upload a license for the first time", - "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8942,11 +8870,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2473__", + "parentId": "__FLD_104__", + "_id": "__REQ_2642__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8958,27 +8886,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2474__", - "_type": "request", - "name": "Queue an indexing job", - "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/staff/indexing_jobs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_121__", - "_id": "__REQ_2475__", + "parentId": "__FLD_120__", + "_id": "__REQ_2643__", "_type": "request", - "name": "Get team", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#get-team", + "name": "Get a team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team", "headers": [ { "name": "Accept", @@ -8995,11 +8907,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2476__", + "parentId": "__FLD_120__", + "_id": "__REQ_2644__", "_type": "request", - "name": "Edit team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#edit-team", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#update-a-team", "headers": [ { "name": "Accept", @@ -9016,11 +8928,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2477__", + "parentId": "__FLD_120__", + "_id": "__REQ_2645__", "_type": "request", - "name": "Delete team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#delete-team", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#delete-a-team", "headers": [ { "name": "Accept", @@ -9037,15 +8949,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2478__", + "parentId": "__FLD_120__", + "_id": "__REQ_2646__", "_type": "request", "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussions", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9074,15 +8986,15 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2479__", + "parentId": "__FLD_120__", + "_id": "__REQ_2647__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9095,15 +9007,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2480__", + "parentId": "__FLD_120__", + "_id": "__REQ_2648__", "_type": "request", - "name": "Get a single discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-single-discussion", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9116,15 +9028,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2481__", + "parentId": "__FLD_120__", + "_id": "__REQ_2649__", "_type": "request", - "name": "Edit a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#edit-a-discussion", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9137,12 +9049,17 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2482__", + "parentId": "__FLD_120__", + "_id": "__REQ_2650__", "_type": "request", "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion", - "headers": [], + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.echo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9153,15 +9070,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2483__", + "parentId": "__FLD_120__", + "_id": "__REQ_2651__", "_type": "request", - "name": "List comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-comments", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussion-comments", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9190,15 +9107,15 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2484__", + "parentId": "__FLD_120__", + "_id": "__REQ_2652__", "_type": "request", - "name": "Create a comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-comment", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9211,15 +9128,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2485__", + "parentId": "__FLD_120__", + "_id": "__REQ_2653__", "_type": "request", - "name": "Get a single comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-single-comment", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9232,15 +9149,15 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2486__", + "parentId": "__FLD_120__", + "_id": "__REQ_2654__", "_type": "request", - "name": "Edit a comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#edit-a-comment", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9253,12 +9170,17 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2487__", + "parentId": "__FLD_120__", + "_id": "__REQ_2655__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-comment", - "headers": [], + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.echo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9269,15 +9191,15 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2488__", + "parentId": "__FLD_117__", + "_id": "__REQ_2656__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9305,15 +9227,15 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2489__", + "parentId": "__FLD_117__", + "_id": "__REQ_2657__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9326,15 +9248,15 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2490__", + "parentId": "__FLD_117__", + "_id": "__REQ_2658__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9362,15 +9284,15 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2491__", + "parentId": "__FLD_117__", + "_id": "__REQ_2659__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9383,11 +9305,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2492__", + "parentId": "__FLD_120__", + "_id": "__REQ_2660__", "_type": "request", "name": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#list-team-members", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-team-members", "headers": [ { "name": "Accept", @@ -9420,11 +9342,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2493__", + "parentId": "__FLD_120__", + "_id": "__REQ_2661__", "_type": "request", "name": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-member-legacy", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9436,11 +9358,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2494__", + "parentId": "__FLD_120__", + "_id": "__REQ_2662__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that 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/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9452,11 +9374,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2495__", + "parentId": "__FLD_120__", + "_id": "__REQ_2663__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9468,11 +9390,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2496__", + "parentId": "__FLD_120__", + "_id": "__REQ_2664__", "_type": "request", - "name": "Get team membership", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.19/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-membership", + "name": "Get team membership for a user", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user", "headers": [ { "name": "Accept", @@ -9489,11 +9411,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2497__", + "parentId": "__FLD_120__", + "_id": "__REQ_2665__", "_type": "request", - "name": "Add or update team membership", - "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#add-or-update-team-membership", + "name": "Add or update team membership for a user", + "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9505,11 +9427,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2498__", + "parentId": "__FLD_120__", + "_id": "__REQ_2666__", "_type": "request", - "name": "Remove team membership", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-membership", + "name": "Remove team membership for a user", + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9521,11 +9443,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2499__", + "parentId": "__FLD_120__", + "_id": "__REQ_2667__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-projects", "headers": [ { "name": "Accept", @@ -9553,11 +9475,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2500__", + "parentId": "__FLD_120__", + "_id": "__REQ_2668__", "_type": "request", - "name": "Review a team project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#review-a-team-project", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -9574,11 +9496,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2501__", + "parentId": "__FLD_120__", + "_id": "__REQ_2669__", "_type": "request", - "name": "Add or update team project", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#add-or-update-team-project", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -9595,11 +9517,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2502__", + "parentId": "__FLD_120__", + "_id": "__REQ_2670__", "_type": "request", - "name": "Remove team project", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#remove-team-project", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9611,11 +9533,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2503__", + "parentId": "__FLD_120__", + "_id": "__REQ_2671__", "_type": "request", - "name": "List team repos", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-team-repos", + "name": "List team repositories", + "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-repositories", "headers": [ { "name": "Accept", @@ -9643,11 +9565,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2504__", + "parentId": "__FLD_120__", + "_id": "__REQ_2672__", "_type": "request", - "name": "Check if a team manages a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#check-if-a-team-manages-a-repository", + "name": "Check team permissions for a repository", + "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-repository", "headers": [ { "name": "Accept", @@ -9664,11 +9586,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2505__", + "parentId": "__FLD_120__", + "_id": "__REQ_2673__", "_type": "request", - "name": "Add or update team repository", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#add-or-update-team-repository", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-repository-permissions", "headers": [ { "name": "Accept", @@ -9685,11 +9607,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2506__", + "parentId": "__FLD_120__", + "_id": "__REQ_2674__", "_type": "request", - "name": "Remove team repository", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#remove-team-repository", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9701,11 +9623,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2507__", + "parentId": "__FLD_120__", + "_id": "__REQ_2675__", "_type": "request", "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-child-teams", + "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-child-teams", "headers": [ { "name": "Accept", @@ -9733,11 +9655,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2508__", + "parentId": "__FLD_121__", + "_id": "__REQ_2676__", "_type": "request", "name": "Get the authenticated user", - "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9749,11 +9671,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2509__", + "parentId": "__FLD_121__", + "_id": "__REQ_2677__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9765,11 +9687,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2510__", + "parentId": "__FLD_121__", + "_id": "__REQ_2678__", "_type": "request", - "name": "List email addresses for a user", - "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#list-email-addresses-for-a-user", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-email-addresses-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9792,11 +9714,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2511__", + "parentId": "__FLD_121__", + "_id": "__REQ_2679__", "_type": "request", - "name": "Add email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#add-email-addresses", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#add-an-email-address-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9808,11 +9730,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2512__", + "parentId": "__FLD_121__", + "_id": "__REQ_2680__", "_type": "request", - "name": "Delete email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#delete-email-addresses", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-an-email-address-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9824,11 +9746,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2513__", + "parentId": "__FLD_121__", + "_id": "__REQ_2681__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9851,11 +9773,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2514__", + "parentId": "__FLD_121__", + "_id": "__REQ_2682__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-the-authenticated-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9878,11 +9800,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2515__", + "parentId": "__FLD_121__", + "_id": "__REQ_2683__", "_type": "request", - "name": "Check if you are following a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#check-if-you-are-following-a-user", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9894,11 +9816,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2516__", + "parentId": "__FLD_121__", + "_id": "__REQ_2684__", "_type": "request", "name": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#follow-a-user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#follow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9910,11 +9832,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2517__", + "parentId": "__FLD_121__", + "_id": "__REQ_2685__", "_type": "request", "name": "Unfollow a user", - "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#unfollow-a-user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#unfollow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9926,11 +9848,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2518__", + "parentId": "__FLD_121__", + "_id": "__REQ_2686__", "_type": "request", - "name": "List your GPG keys", - "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#list-your-gpg-keys", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9953,11 +9875,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2519__", + "parentId": "__FLD_121__", + "_id": "__REQ_2687__", "_type": "request", - "name": "Create a GPG key", - "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#create-a-gpg-key", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9969,11 +9891,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2520__", + "parentId": "__FLD_121__", + "_id": "__REQ_2688__", "_type": "request", - "name": "Get a single GPG key", - "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#get-a-single-gpg-key", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9985,11 +9907,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2521__", + "parentId": "__FLD_121__", + "_id": "__REQ_2689__", "_type": "request", - "name": "Delete a GPG key", - "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#delete-a-gpg-key", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10001,11 +9923,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2522__", + "parentId": "__FLD_100__", + "_id": "__REQ_2690__", "_type": "request", - "name": "List installations for a user", - "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-installations-for-a-user", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", "headers": [ { "name": "Accept", @@ -10033,11 +9955,11 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2523__", + "parentId": "__FLD_100__", + "_id": "__REQ_2691__", "_type": "request", - "name": "List repositories accessible to the user for an installation", - "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", "headers": [ { "name": "Accept", @@ -10065,11 +9987,11 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2524__", + "parentId": "__FLD_100__", + "_id": "__REQ_2692__", "_type": "request", - "name": "Add repository to installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#add-repository-to-installation", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#add-a-repository-to-an-app-installation", "headers": [ { "name": "Accept", @@ -10086,11 +10008,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2525__", + "parentId": "__FLD_100__", + "_id": "__REQ_2693__", "_type": "request", - "name": "Remove repository from installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#remove-repository-from-installation", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#remove-a-repository-from-an-app-installation", "headers": [ { "name": "Accept", @@ -10107,12 +10029,17 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2526__", + "parentId": "__FLD_108__", + "_id": "__REQ_2694__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", - "headers": [], + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10162,11 +10089,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2527__", + "parentId": "__FLD_121__", + "_id": "__REQ_2695__", "_type": "request", - "name": "List your public keys", - "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#list-your-public-keys", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10189,11 +10116,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2528__", + "parentId": "__FLD_121__", + "_id": "__REQ_2696__", "_type": "request", - "name": "Create a public key", - "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#create-a-public-key", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10205,11 +10132,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2529__", + "parentId": "__FLD_121__", + "_id": "__REQ_2697__", "_type": "request", - "name": "Get a single public key", - "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#get-a-single-public-key", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10221,11 +10148,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2530__", + "parentId": "__FLD_121__", + "_id": "__REQ_2698__", "_type": "request", - "name": "Delete a public key", - "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#delete-a-public-key", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10237,11 +10164,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2531__", + "parentId": "__FLD_113__", + "_id": "__REQ_2699__", "_type": "request", - "name": "List your organization memberships", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#list-your-organization-memberships", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10268,11 +10195,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2532__", + "parentId": "__FLD_113__", + "_id": "__REQ_2700__", "_type": "request", - "name": "Get your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#get-your-organization-membership", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10284,11 +10211,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2533__", + "parentId": "__FLD_113__", + "_id": "__REQ_2701__", "_type": "request", - "name": "Edit your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#edit-your-organization-membership", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10300,11 +10227,11 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2534__", + "parentId": "__FLD_113__", + "_id": "__REQ_2702__", "_type": "request", - "name": "List your organizations", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-your-organizations", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10327,11 +10254,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2535__", + "parentId": "__FLD_114__", + "_id": "__REQ_2703__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-user-project", "headers": [ { "name": "Accept", @@ -10348,11 +10275,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2536__", + "parentId": "__FLD_121__", + "_id": "__REQ_2704__", "_type": "request", - "name": "List public email addresses for a user", - "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#list-public-email-addresses-for-a-user", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10375,11 +10302,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2537__", + "parentId": "__FLD_118__", + "_id": "__REQ_2705__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10422,19 +10349,27 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false } ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2538__", + "parentId": "__FLD_118__", + "_id": "__REQ_2706__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -10447,11 +10382,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2539__", + "parentId": "__FLD_118__", + "_id": "__REQ_2707__", "_type": "request", - "name": "List a user's repository invitations", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#list-a-users-repository-invitations", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10474,11 +10409,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2540__", + "parentId": "__FLD_118__", + "_id": "__REQ_2708__", "_type": "request", "name": "Accept a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#accept-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#accept-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10490,11 +10425,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2541__", + "parentId": "__FLD_118__", + "_id": "__REQ_2709__", "_type": "request", "name": "Decline a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#decline-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#decline-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10506,11 +10441,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2542__", + "parentId": "__FLD_99__", + "_id": "__REQ_2710__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10543,11 +10478,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2543__", + "parentId": "__FLD_99__", + "_id": "__REQ_2711__", "_type": "request", - "name": "Check if you are starring a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#check-if-you-are-starring-a-repository", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10559,11 +10494,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2544__", + "parentId": "__FLD_99__", + "_id": "__REQ_2712__", "_type": "request", - "name": "Star a repository", - "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#star-a-repository", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#star-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10575,11 +10510,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2545__", + "parentId": "__FLD_99__", + "_id": "__REQ_2713__", "_type": "request", - "name": "Unstar a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#unstar-a-repository", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10591,11 +10526,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2546__", + "parentId": "__FLD_99__", + "_id": "__REQ_2714__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10618,69 +10553,16 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2547__", - "_type": "request", - "name": "Check if you are watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_100__", - "_id": "__REQ_2548__", - "_type": "request", - "name": "Watch a repository (LEGACY)", - "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#watch-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_100__", - "_id": "__REQ_2549__", + "parentId": "__FLD_120__", + "_id": "__REQ_2715__", "_type": "request", - "name": "Stop watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#stop-watching-a-repository-legacy", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_121__", - "_id": "__REQ_2550__", - "_type": "request", - "name": "List user teams", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-user-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", "url": "{{ github_api_root }}/user/teams", "body": {}, @@ -10698,11 +10580,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2551__", + "parentId": "__FLD_121__", + "_id": "__REQ_2716__", "_type": "request", - "name": "Get all users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-all-users", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10720,20 +10602,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2552__", + "parentId": "__FLD_121__", + "_id": "__REQ_2717__", "_type": "request", - "name": "Get a single user", - "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.19/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.19/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-a-single-user", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.18/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10745,11 +10622,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2553__", + "parentId": "__FLD_99__", + "_id": "__REQ_2718__", "_type": "request", - "name": "List events performed by a user", - "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-performed-by-a-user", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10772,11 +10649,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2554__", + "parentId": "__FLD_99__", + "_id": "__REQ_2719__", "_type": "request", - "name": "List events for an organization", - "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-for-an-organization", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-organization-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10799,11 +10676,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2555__", + "parentId": "__FLD_99__", + "_id": "__REQ_2720__", "_type": "request", - "name": "List public events performed by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-performed-by-a-user", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10826,11 +10703,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2556__", + "parentId": "__FLD_121__", + "_id": "__REQ_2721__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10853,11 +10730,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2557__", + "parentId": "__FLD_121__", + "_id": "__REQ_2722__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-a-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10880,11 +10757,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2558__", + "parentId": "__FLD_121__", + "_id": "__REQ_2723__", "_type": "request", - "name": "Check if one user follows another", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#check-if-one-user-follows-another", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-user-follows-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10896,11 +10773,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2559__", + "parentId": "__FLD_105__", + "_id": "__REQ_2724__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10927,11 +10804,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2560__", + "parentId": "__FLD_121__", + "_id": "__REQ_2725__", "_type": "request", "name": "List GPG keys for a user", - "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10954,11 +10831,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2561__", + "parentId": "__FLD_121__", + "_id": "__REQ_2726__", "_type": "request", - "name": "Get contextual information about a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-contextual-information-about-a-user", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10979,11 +10856,11 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2562__", + "parentId": "__FLD_100__", + "_id": "__REQ_2727__", "_type": "request", - "name": "Get a user installation", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -11000,11 +10877,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2563__", + "parentId": "__FLD_121__", + "_id": "__REQ_2728__", "_type": "request", "name": "List public keys for a user", - "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#list-public-keys-for-a-user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11027,11 +10904,11 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2564__", + "parentId": "__FLD_113__", + "_id": "__REQ_2729__", "_type": "request", - "name": "List user organizations", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.19/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-user-organizations", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11054,11 +10931,11 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2565__", + "parentId": "__FLD_114__", + "_id": "__REQ_2730__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-user-projects", "headers": [ { "name": "Accept", @@ -11091,11 +10968,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2566__", + "parentId": "__FLD_99__", + "_id": "__REQ_2731__", "_type": "request", - "name": "List events that a user has received", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-that-a-user-has-received", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-received-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11118,11 +10995,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2567__", + "parentId": "__FLD_99__", + "_id": "__REQ_2732__", "_type": "request", - "name": "List public events that a user has received", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-that-a-user-has-received", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-received-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11145,12 +11022,17 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2568__", + "parentId": "__FLD_118__", + "_id": "__REQ_2733__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-user-repositories", - "headers": [], + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11186,11 +11068,11 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2569__", + "parentId": "__FLD_104__", + "_id": "__REQ_2734__", "_type": "request", - "name": "Promote an ordinary user to a site administrator", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11202,11 +11084,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2570__", + "parentId": "__FLD_104__", + "_id": "__REQ_2735__", "_type": "request", - "name": "Demote a site administrator to an ordinary user", - "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#demote-a-site-administrator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11218,11 +11100,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2571__", + "parentId": "__FLD_99__", + "_id": "__REQ_2736__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11255,11 +11137,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2572__", + "parentId": "__FLD_99__", + "_id": "__REQ_2737__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11282,11 +11164,11 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2573__", + "parentId": "__FLD_104__", + "_id": "__REQ_2738__", "_type": "request", "name": "Suspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#suspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11298,11 +11180,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2574__", + "parentId": "__FLD_104__", + "_id": "__REQ_2739__", "_type": "request", "name": "Unsuspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#unsuspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#unsuspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11312,6 +11194,22 @@ "url": "{{ github_api_root }}/users/{{ username }}/suspended", "body": {}, "parameters": [] + }, + { + "parentId": "__FLD_111__", + "_id": "__REQ_2740__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] } ] } \ No newline at end of file diff --git a/routes/ghe-2.17.json b/routes/ghes-2.19.json similarity index 57% rename from routes/ghe-2.17.json rename to routes/ghes-2.19.json index 4f44df5..60d4e9d 100644 --- a/routes/ghe-2.17.json +++ b/routes/ghes-2.19.json @@ -1,19 +1,18 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.672Z", + "__export_date": "2021-02-18T02:52:38.264Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", "_id": "__FLD_51__", "_type": "request_group", - "name": "GitHub Enterprise REST API v3", + "name": "GitHub v3 REST API", "environment": { - "github_api_root": "http://{hostname}", + "github_api_root": "{protocol}://{hostname}", "access_token": "", "app_slug": "", - "archive_format": "", "asset_id": 0, "assignee": "", "authorization_id": 0, @@ -30,11 +29,8 @@ "comment_number": 0, "commit_sha": "", "content_reference_id": 0, - "current_name": "", "deployment_id": 0, "discussion_number": 0, - "download_id": 0, - "email": "", "event_id": 0, "file_sha": "", "fingerprint": "", @@ -49,7 +45,6 @@ "key": "", "key_id": 0, "key_ids": "", - "keyword": "", "license": "", "milestone_number": 0, "name": "", @@ -64,17 +59,17 @@ "ref": "", "release_id": 0, "repo": "", - "repository": "", "repository_id": 0, "review_id": 0, "sha": "", - "state": "", "status_id": 0, "tag": "", "tag_sha": "", "target_user": "", "team_id": 0, "team_slug": "", + "template_owner": "", + "template_repo": "", "thread_id": 0, "token_id": 0, "tree_sha": "", @@ -220,12 +215,28 @@ "_type": "request_group", "name": "users" }, + { + "parentId": "__FLD_64__", + "_id": "__REQ_1215__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, { "parentId": "__FLD_57__", - "_id": "__REQ_1053__", + "_id": "__REQ_1216__", "_type": "request", - "name": "List global hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#list-global-hooks", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-global-webhooks", "headers": [ { "name": "Accept", @@ -254,10 +265,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1054__", + "_id": "__REQ_1217__", "_type": "request", - "name": "Create a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#create-a-global-hook", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-global-webhook", "headers": [ { "name": "Accept", @@ -275,10 +286,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1055__", + "_id": "__REQ_1218__", "_type": "request", - "name": "Get single global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#get-single-global-hook", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-global-webhook", "headers": [ { "name": "Accept", @@ -296,10 +307,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1056__", + "_id": "__REQ_1219__", "_type": "request", - "name": "Edit a global hook", - "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-global-webhook", "headers": [ { "name": "Accept", @@ -317,10 +328,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1057__", + "_id": "__REQ_1220__", "_type": "request", - "name": "Delete a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-global-webhook", "headers": [ { "name": "Accept", @@ -338,10 +349,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1058__", + "_id": "__REQ_1221__", "_type": "request", - "name": "Ping a global hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#ping-a-global-webhook", "headers": [ { "name": "Accept", @@ -359,10 +370,37 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1059__", + "_id": "__REQ_1222__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_57__", + "_id": "__REQ_1223__", "_type": "request", "name": "Delete a public key", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-public-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -375,10 +413,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1060__", + "_id": "__REQ_1224__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.17/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -396,10 +434,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1061__", + "_id": "__REQ_1225__", "_type": "request", "name": "Sync LDAP mapping for a team", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -412,10 +450,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1062__", + "_id": "__REQ_1226__", "_type": "request", "name": "Update LDAP mapping for a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -428,10 +466,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1063__", + "_id": "__REQ_1227__", "_type": "request", "name": "Sync LDAP mapping for a user", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -444,10 +482,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1064__", + "_id": "__REQ_1228__", "_type": "request", "name": "Create an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/orgs/#create-an-organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -460,10 +498,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1065__", + "_id": "__REQ_1229__", "_type": "request", - "name": "Rename an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/orgs/#rename-an-organization", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-an-organization-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -476,11 +514,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1066__", + "_id": "__REQ_1230__", "_type": "request", "name": "List pre-receive environments", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -503,11 +546,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1067__", + "_id": "__REQ_1231__", "_type": "request", "name": "Create a pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -519,11 +567,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1068__", + "_id": "__REQ_1232__", "_type": "request", - "name": "Get a single pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", - "headers": [], + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -535,11 +588,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1069__", + "_id": "__REQ_1233__", "_type": "request", - "name": "Edit a pre-receive environment", - "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", - "headers": [], + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -551,11 +609,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1070__", + "_id": "__REQ_1234__", "_type": "request", "name": "Delete a pre-receive environment", - "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", - "headers": [], + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -567,11 +630,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1071__", + "_id": "__REQ_1235__", "_type": "request", - "name": "Trigger a pre-receive environment download", - "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", - "headers": [], + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -583,11 +651,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1072__", + "_id": "__REQ_1236__", "_type": "request", - "name": "Get a pre-receive environment's download status", - "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", - "headers": [], + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -595,28 +668,20 @@ "method": "GET", "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "downloaded_at", - "disabled": false - }, - { - "name": "message", - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_57__", - "_id": "__REQ_1073__", + "_id": "__REQ_1237__", "_type": "request", "name": "List pre-receive hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -639,11 +704,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1074__", + "_id": "__REQ_1238__", "_type": "request", "name": "Create a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -655,11 +725,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1075__", + "_id": "__REQ_1239__", "_type": "request", - "name": "Get a single pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -671,42 +746,52 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1076__", + "_id": "__REQ_1240__", "_type": "request", - "name": "Edit a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", - "headers": [], + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_57__", - "_id": "__REQ_1077__", + "_id": "__REQ_1241__", "_type": "request", "name": "Delete a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", - "headers": [], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_57__", - "_id": "__REQ_1078__", + "_id": "__REQ_1242__", "_type": "request", "name": "List personal access tokens", - "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#list-personal-access-tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-personal-access-tokens", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -730,10 +815,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1079__", + "_id": "__REQ_1243__", "_type": "request", "name": "Delete a personal access token", - "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-personal-access-token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-personal-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -746,10 +831,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1080__", + "_id": "__REQ_1244__", "_type": "request", - "name": "Create a new user", - "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#create-a-new-user", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -762,10 +847,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1081__", + "_id": "__REQ_1245__", "_type": "request", - "name": "Rename an existing user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#rename-an-existing-user", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-the-username-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -778,10 +863,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1082__", + "_id": "__REQ_1246__", "_type": "request", "name": "Delete a user", - "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -794,10 +879,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1083__", + "_id": "__REQ_1247__", "_type": "request", "name": "Create an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -810,10 +895,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1084__", + "_id": "__REQ_1248__", "_type": "request", "name": "Delete an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -826,10 +911,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1085__", + "_id": "__REQ_1249__", "_type": "request", - "name": "Get the authenticated GitHub App", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.17/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-the-authenticated-github-app", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -847,16 +932,11 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1086__", + "_id": "__REQ_1250__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.17/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.fury-preview+json" - } - ], + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -868,10 +948,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1087__", + "_id": "__REQ_1251__", "_type": "request", - "name": "List installations", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#list-installations", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -900,10 +980,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1088__", + "_id": "__REQ_1252__", "_type": "request", - "name": "Get an installation", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-an-installation", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -921,10 +1001,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1089__", + "_id": "__REQ_1253__", "_type": "request", - "name": "Delete an installation", - "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#delete-an-installation", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -942,10 +1022,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1090__", + "_id": "__REQ_1254__", "_type": "request", - "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#create-a-new-installation-token", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -963,10 +1043,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1091__", + "_id": "__REQ_1255__", "_type": "request", "name": "List your grants", - "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-grants", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -990,10 +1070,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1092__", + "_id": "__REQ_1256__", "_type": "request", "name": "Get a single grant", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-a-single-grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1006,10 +1086,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1093__", + "_id": "__REQ_1257__", "_type": "request", "name": "Delete a grant", - "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#delete-a-grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-a-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1022,10 +1102,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1094__", + "_id": "__REQ_1258__", "_type": "request", "name": "Revoke a grant for an application", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#revoke-a-grant-for-an-application", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1038,10 +1118,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1095__", + "_id": "__REQ_1259__", "_type": "request", "name": "Check an authorization", - "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#check-an-authorization", + "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#check-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1054,10 +1134,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1096__", + "_id": "__REQ_1260__", "_type": "request", "name": "Reset an authorization", - "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#reset-an-authorization", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#reset-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1070,10 +1150,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1097__", + "_id": "__REQ_1261__", "_type": "request", "name": "Revoke an authorization for an application", - "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1086,10 +1166,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1098__", + "_id": "__REQ_1262__", "_type": "request", - "name": "Get a single GitHub App", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-single-github-app", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1107,10 +1187,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1099__", + "_id": "__REQ_1263__", "_type": "request", "name": "List your authorizations", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1134,10 +1214,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1100__", + "_id": "__REQ_1264__", "_type": "request", "name": "Create a new authorization", - "description": "Creates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#create-a-new-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1150,10 +1230,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1101__", + "_id": "__REQ_1265__", "_type": "request", "name": "Get-or-create an authorization for a specific app", - "description": "Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1166,10 +1246,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1102__", + "_id": "__REQ_1266__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1182,10 +1262,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1103__", + "_id": "__REQ_1267__", "_type": "request", "name": "Get a single authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-a-single-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1198,10 +1278,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1104__", + "_id": "__REQ_1268__", "_type": "request", "name": "Update an existing authorization", - "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#update-an-existing-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#update-an-existing-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1214,10 +1294,10 @@ }, { "parentId": "__FLD_65__", - "_id": "__REQ_1105__", + "_id": "__REQ_1269__", "_type": "request", "name": "Delete an authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#delete-an-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1230,10 +1310,10 @@ }, { "parentId": "__FLD_55__", - "_id": "__REQ_1106__", + "_id": "__REQ_1270__", "_type": "request", - "name": "List all codes of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#list-all-codes-of-conduct", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-all-codes-of-conduct", "headers": [ { "name": "Accept", @@ -1251,10 +1331,10 @@ }, { "parentId": "__FLD_55__", - "_id": "__REQ_1107__", + "_id": "__REQ_1271__", "_type": "request", - "name": "Get an individual code of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#get-an-individual-code-of-conduct", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-a-code-of-conduct", "headers": [ { "name": "Accept", @@ -1272,10 +1352,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1108__", + "_id": "__REQ_1272__", "_type": "request", "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.17/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#create-a-content-attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#create-a-content-attachment", "headers": [ { "name": "Accept", @@ -1293,10 +1373,10 @@ }, { "parentId": "__FLD_56__", - "_id": "__REQ_1109__", + "_id": "__REQ_1273__", "_type": "request", - "name": "Get", - "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/emojis/#emojis", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/emojis/#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1309,10 +1389,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1110__", + "_id": "__REQ_1274__", "_type": "request", "name": "Get license information", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/license/#get-license-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1325,10 +1405,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1111__", + "_id": "__REQ_1275__", "_type": "request", "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/admin_stats/#get-statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1341,10 +1421,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1112__", + "_id": "__REQ_1276__", "_type": "request", "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1368,10 +1448,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1113__", + "_id": "__REQ_1277__", "_type": "request", - "name": "List feeds", - "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.17/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.17/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/feeds/#list-feeds", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-feeds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1384,10 +1464,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1114__", + "_id": "__REQ_1278__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1415,10 +1495,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1115__", + "_id": "__REQ_1279__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1431,10 +1511,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1116__", + "_id": "__REQ_1280__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.17/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1462,10 +1542,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1117__", + "_id": "__REQ_1281__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1493,10 +1573,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1118__", + "_id": "__REQ_1282__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1509,10 +1589,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1119__", + "_id": "__REQ_1283__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1525,10 +1605,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1120__", + "_id": "__REQ_1284__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1541,10 +1621,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1121__", + "_id": "__REQ_1285__", "_type": "request", - "name": "List comments on a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#list-comments-on-a-gist", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gist-comments", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1568,10 +1648,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1122__", + "_id": "__REQ_1286__", "_type": "request", - "name": "Create a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#create-a-comment", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#create-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1584,10 +1664,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1123__", + "_id": "__REQ_1287__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#get-a-single-comment", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#get-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1600,10 +1680,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1124__", + "_id": "__REQ_1288__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#edit-a-comment", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#update-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1616,10 +1696,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1125__", + "_id": "__REQ_1289__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#delete-a-comment", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#delete-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1632,10 +1712,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1126__", + "_id": "__REQ_1290__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1659,26 +1739,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1127__", - "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#fork-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_58__", - "_id": "__REQ_1128__", + "_id": "__REQ_1291__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1702,58 +1766,74 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1129__", + "_id": "__REQ_1292__", "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#star-a-gist", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_58__", + "_id": "__REQ_1293__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_58__", - "_id": "__REQ_1130__", + "_id": "__REQ_1294__", "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#unstar-a-gist", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_58__", - "_id": "__REQ_1131__", + "_id": "__REQ_1295__", "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#check-if-a-gist-is-starred", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "DELETE", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_58__", - "_id": "__REQ_1132__", + "_id": "__REQ_1296__", "_type": "request", - "name": "Get a specific revision of a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#get-a-specific-revision-of-a-gist", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1766,10 +1846,10 @@ }, { "parentId": "__FLD_60__", - "_id": "__REQ_1133__", + "_id": "__REQ_1297__", "_type": "request", - "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.17/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.17/v3/gitignore/#listing-available-templates", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1782,10 +1862,10 @@ }, { "parentId": "__FLD_60__", - "_id": "__REQ_1134__", + "_id": "__REQ_1298__", "_type": "request", - "name": "Get a single template", - "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.17/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/gitignore/#get-a-single-template", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1798,10 +1878,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1135__", + "_id": "__REQ_1299__", "_type": "request", - "name": "List repositories", - "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-repositories", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-app-installation", "headers": [ { "name": "Accept", @@ -1830,12 +1910,17 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1136__", + "_id": "__REQ_1300__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", - "headers": [], - "authentication": { + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { "token": "{{ github_token }}", "type": "bearer" }, @@ -1872,133 +1957,65 @@ "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "collab", "disabled": false }, { - "name": "page", - "value": 1, + "name": "orgs", "disabled": false - } - ] - }, - { - "parentId": "__FLD_72__", - "_id": "__REQ_1137__", - "_type": "request", - "name": "Search issues", - "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_72__", - "_id": "__REQ_1138__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", - "body": {}, - "parameters": [ + }, { - "name": "language", + "name": "owned", "disabled": false }, { - "name": "start_page", + "name": "pulls", "disabled": false }, { - "name": "sort", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "order", + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1139__", - "_type": "request", - "name": "Email search", - "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#email-search", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_72__", - "_id": "__REQ_1140__", + "parentId": "__FLD_62__", + "_id": "__REQ_1301__", "_type": "request", - "name": "Search users", - "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-users", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", + "url": "{{ github_api_root }}/licenses", "body": {}, "parameters": [ { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", + "name": "featured", "disabled": false }, { - "name": "order", + "name": "per_page", + "value": 30, "disabled": false } ] }, { "parentId": "__FLD_62__", - "_id": "__REQ_1141__", - "_type": "request", - "name": "List commonly used licenses", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#list-commonly-used-licenses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/licenses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_62__", - "_id": "__REQ_1142__", + "_id": "__REQ_1302__", "_type": "request", - "name": "Get an individual license", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#get-an-individual-license", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2011,10 +2028,10 @@ }, { "parentId": "__FLD_63__", - "_id": "__REQ_1143__", + "_id": "__REQ_1303__", "_type": "request", - "name": "Render an arbitrary Markdown document", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/markdown/#render-an-arbitrary-markdown-document", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2027,10 +2044,10 @@ }, { "parentId": "__FLD_63__", - "_id": "__REQ_1144__", + "_id": "__REQ_1304__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2043,10 +2060,10 @@ }, { "parentId": "__FLD_64__", - "_id": "__REQ_1145__", + "_id": "__REQ_1305__", "_type": "request", - "name": "Get", - "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.17/v3/meta/#meta", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/meta/#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2059,10 +2076,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1146__", + "_id": "__REQ_1306__", "_type": "request", "name": "List public events for a network of repositories", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-for-a-network-of-repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-network-of-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2086,10 +2103,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1147__", + "_id": "__REQ_1307__", "_type": "request", - "name": "List your notifications", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2131,10 +2148,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1148__", + "_id": "__REQ_1308__", "_type": "request", - "name": "Mark as read", - "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-as-read", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2147,10 +2164,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1149__", + "_id": "__REQ_1309__", "_type": "request", - "name": "View a single thread", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#view-a-single-thread", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2163,10 +2180,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1150__", + "_id": "__REQ_1310__", "_type": "request", "name": "Mark a thread as read", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-a-thread-as-read", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-a-thread-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2179,10 +2196,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1151__", + "_id": "__REQ_1311__", "_type": "request", - "name": "Get a thread subscription", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.17/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#get-a-thread-subscription", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2195,10 +2212,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1152__", + "_id": "__REQ_1312__", "_type": "request", "name": "Set a thread subscription", - "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#set-a-thread-subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2211,10 +2228,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1153__", + "_id": "__REQ_1313__", "_type": "request", "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#delete-a-thread-subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2225,12 +2242,33 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_64__", + "_id": "__REQ_1314__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, { "parentId": "__FLD_66__", - "_id": "__REQ_1154__", + "_id": "__REQ_1315__", "_type": "request", - "name": "List all organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-all-organizations", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2248,20 +2286,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { "parentId": "__FLD_66__", - "_id": "__REQ_1155__", + "_id": "__REQ_1316__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#get-an-organization", "headers": [ { "name": "Accept", @@ -2279,10 +2312,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1156__", + "_id": "__REQ_1317__", "_type": "request", - "name": "Edit an organization", - "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#edit-an-organization", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2300,10 +2333,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1157__", + "_id": "__REQ_1318__", "_type": "request", - "name": "List public events for an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-for-an-organization", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-organization-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2327,10 +2360,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1158__", + "_id": "__REQ_1319__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#list-hooks", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2354,10 +2387,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1159__", + "_id": "__REQ_1320__", "_type": "request", - "name": "Create a hook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#create-a-hook", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#create-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2370,10 +2403,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1160__", + "_id": "__REQ_1321__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#get-single-hook", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2386,10 +2419,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1161__", + "_id": "__REQ_1322__", "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#edit-a-hook", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2402,10 +2435,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1162__", + "_id": "__REQ_1323__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#delete-a-hook", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#delete-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2418,10 +2451,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1163__", + "_id": "__REQ_1324__", "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#ping-a-hook", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#ping-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2434,10 +2467,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1164__", + "_id": "__REQ_1325__", "_type": "request", - "name": "Get an organization installation", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-an-organization-installation", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2453,13 +2486,50 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_66__", + "_id": "__REQ_1326__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-app-installations-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, { "parentId": "__FLD_61__", - "_id": "__REQ_1165__", + "_id": "__REQ_1327__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", - "headers": [], + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2510,10 +2580,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1166__", + "_id": "__REQ_1328__", "_type": "request", - "name": "Members list", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#members-list", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2547,10 +2617,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1167__", + "_id": "__REQ_1329__", "_type": "request", - "name": "Check membership", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#check-membership", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2563,10 +2633,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1168__", + "_id": "__REQ_1330__", "_type": "request", - "name": "Remove a member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#remove-a-member", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-an-organization-member", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2579,10 +2649,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1169__", + "_id": "__REQ_1331__", "_type": "request", - "name": "Get organization membership", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#get-organization-membership", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2595,10 +2665,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1170__", + "_id": "__REQ_1332__", "_type": "request", - "name": "Add or update organization membership", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#add-or-update-organization-membership", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2611,10 +2681,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1171__", + "_id": "__REQ_1333__", "_type": "request", - "name": "Remove organization membership", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#remove-organization-membership", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2627,10 +2697,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1172__", + "_id": "__REQ_1334__", "_type": "request", - "name": "List outside collaborators", - "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#list-outside-collaborators", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-outside-collaborators-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2659,43 +2729,48 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1173__", + "_id": "__REQ_1335__", "_type": "request", - "name": "Remove outside collaborator", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#remove-outside-collaborator", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_66__", - "_id": "__REQ_1174__", + "_id": "__REQ_1336__", "_type": "request", - "name": "Convert member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-outside-collaborator-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_57__", - "_id": "__REQ_1175__", + "_id": "__REQ_1337__", "_type": "request", - "name": "List pre-receive hooks for organization", - "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2718,11 +2793,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1176__", + "_id": "__REQ_1338__", "_type": "request", - "name": "Get a single pre-receive hook for organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2734,11 +2814,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1177__", + "_id": "__REQ_1339__", "_type": "request", - "name": "Update pre-receive hook enforcement for organization", - "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2750,11 +2835,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1178__", + "_id": "__REQ_1340__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for organization", - "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2766,10 +2856,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1179__", + "_id": "__REQ_1341__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\ns\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-organization-projects", "headers": [ { "name": "Accept", @@ -2803,10 +2893,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1180__", + "_id": "__REQ_1342__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2824,10 +2914,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1181__", + "_id": "__REQ_1343__", "_type": "request", - "name": "Public members list", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#public-members-list", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-public-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2851,10 +2941,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1182__", + "_id": "__REQ_1344__", "_type": "request", - "name": "Check public membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#check-public-membership", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-public-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2867,10 +2957,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1183__", + "_id": "__REQ_1345__", "_type": "request", - "name": "Publicize a user's membership", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#publicize-a-users-membership", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2883,10 +2973,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1184__", + "_id": "__REQ_1346__", "_type": "request", - "name": "Conceal a user's membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#conceal-a-users-membership", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2899,11 +2989,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1185__", + "_id": "__REQ_1347__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-organization-repositories", - "headers": [], + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2914,7 +3009,6 @@ "parameters": [ { "name": "type", - "value": "all", "disabled": false }, { @@ -2940,11 +3034,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1186__", + "_id": "__REQ_1348__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create", - "headers": [], + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2956,16 +3055,11 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1187__", + "_id": "__REQ_1349__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2988,16 +3082,11 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1188__", + "_id": "__REQ_1350__", "_type": "request", - "name": "Create team", - "description": "To create a team, the authenticated user must be a member or owner of `:org`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#create-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3009,10 +3098,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1189__", + "_id": "__REQ_1351__", "_type": "request", - "name": "Get team by name", - "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#get-team-by-name", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3025,10 +3114,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1190__", + "_id": "__REQ_1352__", "_type": "request", "name": "Get a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#get-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-card", "headers": [ { "name": "Accept", @@ -3046,10 +3135,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1191__", + "_id": "__REQ_1353__", "_type": "request", - "name": "Update a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#update-a-project-card", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-card", "headers": [ { "name": "Accept", @@ -3067,10 +3156,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1192__", + "_id": "__REQ_1354__", "_type": "request", "name": "Delete a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#delete-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-card", "headers": [ { "name": "Accept", @@ -3088,10 +3177,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1193__", + "_id": "__REQ_1355__", "_type": "request", "name": "Move a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#move-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-card", "headers": [ { "name": "Accept", @@ -3109,10 +3198,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1194__", + "_id": "__REQ_1356__", "_type": "request", "name": "Get a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#get-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-column", "headers": [ { "name": "Accept", @@ -3130,10 +3219,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1195__", + "_id": "__REQ_1357__", "_type": "request", - "name": "Update a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#update-a-project-column", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-column", "headers": [ { "name": "Accept", @@ -3151,10 +3240,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1196__", + "_id": "__REQ_1358__", "_type": "request", "name": "Delete a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#delete-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-column", "headers": [ { "name": "Accept", @@ -3172,10 +3261,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1197__", + "_id": "__REQ_1359__", "_type": "request", "name": "List project cards", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#list-project-cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-cards", "headers": [ { "name": "Accept", @@ -3209,10 +3298,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1198__", + "_id": "__REQ_1360__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#create-a-project-card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3230,10 +3319,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1199__", + "_id": "__REQ_1361__", "_type": "request", "name": "Move a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#move-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-column", "headers": [ { "name": "Accept", @@ -3251,10 +3340,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1200__", + "_id": "__REQ_1362__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#get-a-project", "headers": [ { "name": "Accept", @@ -3268,25 +3357,14 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_67__", - "_id": "__REQ_1201__", + "_id": "__REQ_1363__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#update-a-project", "headers": [ { "name": "Accept", @@ -3304,10 +3382,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1202__", + "_id": "__REQ_1364__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#delete-a-project", "headers": [ { "name": "Accept", @@ -3325,10 +3403,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1203__", + "_id": "__REQ_1365__", "_type": "request", - "name": "List collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#list-collaborators", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-collaborators", "headers": [ { "name": "Accept", @@ -3362,10 +3440,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1204__", + "_id": "__REQ_1366__", "_type": "request", - "name": "Add user as a collaborator", - "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#add-user-as-a-collaborator", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#add-project-collaborator", "headers": [ { "name": "Accept", @@ -3383,10 +3461,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1205__", + "_id": "__REQ_1367__", "_type": "request", "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#remove-user-as-a-collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#remove-project-collaborator", "headers": [ { "name": "Accept", @@ -3404,10 +3482,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1206__", + "_id": "__REQ_1368__", "_type": "request", - "name": "Review a user's permission level", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#review-a-users-permission-level", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-project-permission-for-a-user", "headers": [ { "name": "Accept", @@ -3425,10 +3503,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1207__", + "_id": "__REQ_1369__", "_type": "request", "name": "List project columns", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#list-project-columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-columns", "headers": [ { "name": "Accept", @@ -3457,10 +3535,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1208__", + "_id": "__REQ_1370__", "_type": "request", "name": "Create a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#create-a-project-column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-column", "headers": [ { "name": "Accept", @@ -3478,10 +3556,10 @@ }, { "parentId": "__FLD_69__", - "_id": "__REQ_1209__", + "_id": "__REQ_1371__", "_type": "request", - "name": "Get your current rate limit status", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.17/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.17/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.17/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.17/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.17/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.17/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.17/v3/rate_limit/#get-your-current-rate-limit-status", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3494,14 +3572,14 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1210__", + "_id": "__REQ_1372__", "_type": "request", "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#delete-a-reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#delete-a-reaction", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -3515,11 +3593,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1211__", + "_id": "__REQ_1373__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3531,14 +3614,14 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1212__", + "_id": "__REQ_1374__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.17/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.x-ray-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -3552,10 +3635,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1213__", + "_id": "__REQ_1375__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3568,10 +3651,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1214__", + "_id": "__REQ_1376__", "_type": "request", "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#list-assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3595,10 +3678,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1215__", + "_id": "__REQ_1377__", "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#check-assignee", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#check-if-a-user-can-be-assigned", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3611,10 +3694,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1216__", + "_id": "__REQ_1378__", "_type": "request", "name": "List branches", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3642,10 +3725,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1217__", + "_id": "__REQ_1379__", "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-branch", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3658,10 +3741,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1218__", + "_id": "__REQ_1380__", "_type": "request", "name": "Get branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-branch-protection", "headers": [ { "name": "Accept", @@ -3679,10 +3762,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1219__", + "_id": "__REQ_1381__", "_type": "request", "name": "Update branch protection", - "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-branch-protection", "headers": [ { "name": "Accept", @@ -3700,10 +3783,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1220__", + "_id": "__REQ_1382__", "_type": "request", - "name": "Remove branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-branch-protection", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3716,10 +3799,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1221__", + "_id": "__REQ_1383__", "_type": "request", - "name": "Get admin enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-admin-enforcement-of-protected-branch", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3732,10 +3815,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1222__", + "_id": "__REQ_1384__", "_type": "request", - "name": "Add admin enforcement of protected branch", - "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-admin-enforcement-of-protected-branch", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3748,10 +3831,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1223__", + "_id": "__REQ_1385__", "_type": "request", - "name": "Remove admin enforcement of protected branch", - "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3764,10 +3847,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1224__", + "_id": "__REQ_1386__", "_type": "request", - "name": "Get pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3785,10 +3868,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1225__", + "_id": "__REQ_1387__", "_type": "request", - "name": "Update pull request review enforcement of protected branch", - "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3806,10 +3889,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1226__", + "_id": "__REQ_1388__", "_type": "request", - "name": "Remove pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-pull-request-review-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3822,10 +3905,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1227__", + "_id": "__REQ_1389__", "_type": "request", - "name": "Get required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-required-signatures-of-protected-branch", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3843,10 +3926,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1228__", + "_id": "__REQ_1390__", "_type": "request", - "name": "Add required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-required-signatures-of-protected-branch", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3864,10 +3947,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1229__", + "_id": "__REQ_1391__", "_type": "request", - "name": "Remove required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-signatures-of-protected-branch", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3885,10 +3968,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1230__", + "_id": "__REQ_1392__", "_type": "request", - "name": "Get required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-required-status-checks-of-protected-branch", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3901,10 +3984,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1231__", + "_id": "__REQ_1393__", "_type": "request", - "name": "Update required status checks of protected branch", - "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-required-status-checks-of-protected-branch", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-status-check-potection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3917,10 +4000,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1232__", + "_id": "__REQ_1394__", "_type": "request", - "name": "Remove required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-status-checks-of-protected-branch", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3933,10 +4016,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1233__", + "_id": "__REQ_1395__", "_type": "request", - "name": "List required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3949,42 +4032,42 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1234__", + "_id": "__REQ_1396__", "_type": "request", - "name": "Replace required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1235__", + "_id": "__REQ_1397__", "_type": "request", - "name": "Add required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1236__", + "_id": "__REQ_1398__", "_type": "request", - "name": "Remove required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3997,10 +4080,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1237__", + "_id": "__REQ_1399__", "_type": "request", - "name": "Get restrictions of protected branch", - "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-restrictions-of-protected-branch", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4013,10 +4096,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1238__", + "_id": "__REQ_1400__", "_type": "request", - "name": "Remove restrictions of protected branch", - "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-restrictions-of-protected-branch", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4029,58 +4112,91 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1239__", + "_id": "__REQ_1401__", "_type": "request", - "name": "Get teams with access to protected branch", - "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-teams-with-access-to-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1240__", + "_id": "__REQ_1402__", "_type": "request", - "name": "Replace team restrictions of protected branch", - "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1403__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-app-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1404__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1405__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1241__", + "_id": "__REQ_1406__", "_type": "request", - "name": "Add team restrictions of protected branch", - "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4092,16 +4208,27 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1242__", + "_id": "__REQ_1407__", "_type": "request", - "name": "Remove team restrictions of protected branch", - "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1408__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4113,10 +4240,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1243__", + "_id": "__REQ_1409__", "_type": "request", - "name": "Get users with access to protected branch", - "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-users-with-access-to-protected-branch", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-users-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4129,42 +4256,42 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1244__", + "_id": "__REQ_1410__", "_type": "request", - "name": "Replace user restrictions of protected branch", - "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-user-restrictions-of-protected-branch", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1245__", + "_id": "__REQ_1411__", "_type": "request", - "name": "Add user restrictions of protected branch", - "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-user-restrictions-of-protected-branch", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1246__", + "_id": "__REQ_1412__", "_type": "request", - "name": "Remove user restrictions of protected branch", - "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-user-restrictions-of-protected-branch", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4177,10 +4304,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1247__", + "_id": "__REQ_1413__", "_type": "request", "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#create-a-check-run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-run", "headers": [ { "name": "Accept", @@ -4198,10 +4325,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1248__", + "_id": "__REQ_1414__", "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#update-a-check-run", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-run", "headers": [ { "name": "Accept", @@ -4212,17 +4339,17 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_54__", - "_id": "__REQ_1249__", + "_id": "__REQ_1415__", "_type": "request", - "name": "Get a single check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#get-a-single-check-run", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-a-check-run", "headers": [ { "name": "Accept", @@ -4233,17 +4360,17 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_54__", - "_id": "__REQ_1250__", + "_id": "__REQ_1416__", "_type": "request", - "name": "List annotations for a check run", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-annotations-for-a-check-run", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-run-annotations", "headers": [ { "name": "Accept", @@ -4272,10 +4399,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1251__", + "_id": "__REQ_1417__", "_type": "request", "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.17/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.17/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#create-a-check-suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite", "headers": [ { "name": "Accept", @@ -4293,10 +4420,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1252__", + "_id": "__REQ_1418__", "_type": "request", - "name": "Set preferences for check suites on a repository", - "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.17/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites", "headers": [ { "name": "Accept", @@ -4314,10 +4441,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1253__", + "_id": "__REQ_1419__", "_type": "request", - "name": "Get a single check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#get-a-single-check-suite", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-suite", "headers": [ { "name": "Accept", @@ -4335,10 +4462,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1254__", + "_id": "__REQ_1420__", "_type": "request", "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-check-runs-in-a-check-suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-in-a-check-suite", "headers": [ { "name": "Accept", @@ -4380,10 +4507,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1255__", + "_id": "__REQ_1421__", "_type": "request", - "name": "Rerequest check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#rerequest-check-suite", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#rerequest-a-check-suite", "headers": [ { "name": "Accept", @@ -4401,16 +4528,11 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1256__", + "_id": "__REQ_1422__", "_type": "request", - "name": "List collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#list-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-collaborators", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4438,16 +4560,11 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1257__", + "_id": "__REQ_1423__", "_type": "request", - "name": "Check if a user is a collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4459,10 +4576,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1258__", + "_id": "__REQ_1424__", "_type": "request", - "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#add-user-as-a-collaborator", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4475,10 +4592,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1259__", + "_id": "__REQ_1425__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#remove-user-as-a-collaborator", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4491,10 +4608,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1260__", + "_id": "__REQ_1426__", "_type": "request", - "name": "Review a user's permission level", - "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#review-a-users-permission-level", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-permissions-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4507,11 +4624,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1261__", + "_id": "__REQ_1427__", "_type": "request", "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.17/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.17/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#list-commit-comments-for-a-repository", - "headers": [], + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4534,11 +4656,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1262__", + "_id": "__REQ_1428__", "_type": "request", - "name": "Get a single commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#get-a-single-commit-comment", - "headers": [], + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4550,10 +4677,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1263__", + "_id": "__REQ_1429__", "_type": "request", "name": "Update a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#update-a-commit-comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4566,10 +4693,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1264__", + "_id": "__REQ_1430__", "_type": "request", "name": "Delete a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#delete-a-commit-comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4582,10 +4709,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1265__", + "_id": "__REQ_1431__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.17/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4618,10 +4745,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1266__", + "_id": "__REQ_1432__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.17/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4639,10 +4766,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1267__", + "_id": "__REQ_1433__", "_type": "request", - "name": "List commits on a repository", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4686,10 +4813,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1268__", + "_id": "__REQ_1434__", "_type": "request", "name": "List branches for HEAD commit", - "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-branches-for-head-commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches-for-head-commit", "headers": [ { "name": "Accept", @@ -4707,11 +4834,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1269__", + "_id": "__REQ_1435__", "_type": "request", - "name": "List comments for a single commit", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#list-comments-for-a-single-commit", - "headers": [], + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4734,10 +4866,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1270__", + "_id": "__REQ_1436__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4750,10 +4882,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1271__", + "_id": "__REQ_1437__", "_type": "request", - "name": "List pull requests associated with commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-pull-requests-associated-with-commit", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4782,10 +4914,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1272__", + "_id": "__REQ_1438__", "_type": "request", - "name": "Get a single commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#get-a-single-commit", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4798,10 +4930,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1273__", + "_id": "__REQ_1439__", "_type": "request", - "name": "List check runs for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-check-runs-for-a-specific-ref", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-for-a-git-reference", "headers": [ { "name": "Accept", @@ -4843,10 +4975,10 @@ }, { "parentId": "__FLD_54__", - "_id": "__REQ_1274__", + "_id": "__REQ_1440__", "_type": "request", - "name": "List check suites for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#list-check-suites-for-a-specific-ref", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-suites-for-a-git-reference", "headers": [ { "name": "Accept", @@ -4883,10 +5015,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1275__", + "_id": "__REQ_1441__", "_type": "request", - "name": "Get the combined status for a specific ref", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.17/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4899,10 +5031,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1276__", + "_id": "__REQ_1442__", "_type": "request", - "name": "List statuses for a specific ref", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#list-statuses-for-a-specific-ref", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-statuses-for-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4926,10 +5058,10 @@ }, { "parentId": "__FLD_55__", - "_id": "__REQ_1277__", + "_id": "__REQ_1443__", "_type": "request", - "name": "Get the contents of a repository's code of conduct", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", "headers": [ { "name": "Accept", @@ -4947,10 +5079,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1278__", + "_id": "__REQ_1444__", "_type": "request", "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#compare-two-commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#compare-two-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4963,10 +5095,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1279__", + "_id": "__REQ_1445__", "_type": "request", - "name": "Get contents", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.17/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.17/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.17/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-contents", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.19/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4984,10 +5116,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1280__", + "_id": "__REQ_1446__", "_type": "request", - "name": "Create or update a file", - "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#create-or-update-a-file", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-or-update-file-contents", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5000,10 +5132,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1281__", + "_id": "__REQ_1447__", "_type": "request", "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#delete-a-file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-file", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5016,10 +5148,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1282__", + "_id": "__REQ_1448__", "_type": "request", - "name": "List contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-contributors", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5047,10 +5179,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1283__", + "_id": "__REQ_1449__", "_type": "request", "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#list-deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployments", "headers": [ { "name": "Accept", @@ -5099,10 +5231,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1284__", + "_id": "__REQ_1450__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.17/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment", "headers": [ { "name": "Accept", @@ -5120,14 +5252,14 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1285__", + "_id": "__REQ_1451__", "_type": "request", - "name": "Get a single deployment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#get-a-single-deployment", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -5141,10 +5273,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1286__", + "_id": "__REQ_1452__", "_type": "request", "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#list-deployment-statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployment-statuses", "headers": [ { "name": "Accept", @@ -5173,10 +5305,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1287__", + "_id": "__REQ_1453__", "_type": "request", "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#create-a-deployment-status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment-status", "headers": [ { "name": "Accept", @@ -5194,14 +5326,14 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1288__", + "_id": "__REQ_1454__", "_type": "request", - "name": "Get a single deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#get-a-single-deployment-status", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment-status", "headers": [ { "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -5213,71 +5345,12 @@ "body": {}, "parameters": [] }, - { - "parentId": "__FLD_71__", - "_id": "__REQ_1289__", - "_type": "request", - "name": "List downloads for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#list-downloads-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_71__", - "_id": "__REQ_1290__", - "_type": "request", - "name": "Get a single download", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#get-a-single-download", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_71__", - "_id": "__REQ_1291__", - "_type": "request", - "name": "Delete a download", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#delete-a-download", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", - "body": {}, - "parameters": [] - }, { "parentId": "__FLD_52__", - "_id": "__REQ_1292__", + "_id": "__REQ_1455__", "_type": "request", "name": "List repository events", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-repository-events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5301,10 +5374,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1293__", + "_id": "__REQ_1456__", "_type": "request", "name": "List forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/forks/#list-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5333,10 +5406,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1294__", + "_id": "__REQ_1457__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/forks/#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5349,10 +5422,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1295__", + "_id": "__REQ_1458__", "_type": "request", "name": "Create a blob", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/git/blobs/#create-a-blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5365,10 +5438,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1296__", + "_id": "__REQ_1459__", "_type": "request", "name": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/blobs/#get-a-blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5381,10 +5454,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1297__", + "_id": "__REQ_1460__", "_type": "request", "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/commits/#create-a-commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5397,10 +5470,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1298__", + "_id": "__REQ_1461__", "_type": "request", "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/commits/#get-a-commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5413,42 +5486,69 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1299__", + "_id": "__REQ_1462__", "_type": "request", - "name": "Create a reference", - "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#list-matching-references", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { "parentId": "__FLD_59__", - "_id": "__REQ_1300__", + "_id": "__REQ_1463__", "_type": "request", "name": "Get a reference", - "description": "Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/enterprise/2.17/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#get-a-reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_59__", - "_id": "__REQ_1301__", + "_id": "__REQ_1464__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_59__", + "_id": "__REQ_1465__", "_type": "request", "name": "Update a reference", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#update-a-reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5461,10 +5561,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1302__", + "_id": "__REQ_1466__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5477,10 +5577,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1303__", + "_id": "__REQ_1467__", "_type": "request", "name": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/tags/#create-a-tag-object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tag-object", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5493,10 +5593,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1304__", + "_id": "__REQ_1468__", "_type": "request", "name": "Get a tag", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/tags/#get-a-tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tag", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5509,10 +5609,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1305__", + "_id": "__REQ_1469__", "_type": "request", "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.17/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.17/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/git/trees/#create-a-tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5525,10 +5625,10 @@ }, { "parentId": "__FLD_59__", - "_id": "__REQ_1306__", + "_id": "__REQ_1470__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5546,10 +5646,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1307__", + "_id": "__REQ_1471__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#list-hooks", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5573,10 +5673,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1308__", + "_id": "__REQ_1472__", "_type": "request", - "name": "Create a hook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#create-a-hook", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5589,10 +5689,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1309__", + "_id": "__REQ_1473__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#get-single-hook", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5605,10 +5705,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1310__", + "_id": "__REQ_1474__", "_type": "request", - "name": "Edit a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#edit-a-hook", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5621,10 +5721,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1311__", + "_id": "__REQ_1475__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#delete-a-hook", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5637,10 +5737,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1312__", + "_id": "__REQ_1476__", "_type": "request", - "name": "Ping a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#ping-a-hook", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5653,10 +5753,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1313__", + "_id": "__REQ_1477__", "_type": "request", - "name": "Test a push hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#test-a-push-hook", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5669,10 +5769,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1314__", + "_id": "__REQ_1478__", "_type": "request", - "name": "Get a repository installation", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-repository-installation", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -5690,10 +5790,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1315__", + "_id": "__REQ_1479__", "_type": "request", - "name": "List invitations for a repository", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#list-invitations-for-a-repository", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5717,43 +5817,48 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1316__", + "_id": "__REQ_1480__", "_type": "request", - "name": "Delete a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#delete-a-repository-invitation", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1317__", + "_id": "__REQ_1481__", "_type": "request", - "name": "Update a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#update-a-repository-invitation", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_61__", - "_id": "__REQ_1318__", + "_id": "__REQ_1482__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues-for-a-repository", - "headers": [], + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5815,10 +5920,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1319__", + "_id": "__REQ_1483__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5831,11 +5936,16 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1320__", + "_id": "__REQ_1484__", "_type": "request", - "name": "List comments in a repository", - "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5856,16 +5966,31 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { "parentId": "__FLD_61__", - "_id": "__REQ_1321__", + "_id": "__REQ_1485__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#get-a-single-comment", - "headers": [], + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5873,25 +5998,14 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_61__", - "_id": "__REQ_1322__", + "_id": "__REQ_1486__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#edit-a-comment", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5904,10 +6018,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1323__", + "_id": "__REQ_1487__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#delete-a-comment", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5920,10 +6034,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1324__", + "_id": "__REQ_1488__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.17/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5956,10 +6070,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1325__", + "_id": "__REQ_1489__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.17/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5977,10 +6091,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1326__", + "_id": "__REQ_1490__", "_type": "request", - "name": "List events for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#list-events-for-a-repository", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events-for-a-repository", "headers": [ { "name": "Accept", @@ -6009,14 +6123,14 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1327__", + "_id": "__REQ_1491__", "_type": "request", - "name": "Get a single event", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#get-a-single-event", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-event", "headers": [ { "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json,application/vnd.github.machine-man-preview+json" } ], "authentication": { @@ -6030,11 +6144,16 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1328__", + "_id": "__REQ_1492__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.17/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#get-a-single-issue", - "headers": [], + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6046,10 +6165,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1329__", + "_id": "__REQ_1493__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6062,10 +6181,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1330__", + "_id": "__REQ_1494__", "_type": "request", "name": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#add-assignees-to-an-issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-assignees-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6078,10 +6197,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1331__", + "_id": "__REQ_1495__", "_type": "request", "name": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#remove-assignees-from-an-issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-assignees-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6094,11 +6213,16 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1332__", + "_id": "__REQ_1496__", "_type": "request", - "name": "List comments on an issue", - "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#list-comments-on-an-issue", - "headers": [], + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6125,10 +6249,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1333__", + "_id": "__REQ_1497__", "_type": "request", - "name": "Create a comment", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#create-a-comment", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6141,10 +6265,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1334__", + "_id": "__REQ_1498__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#list-events-for-an-issue", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events", "headers": [ { "name": "Accept", @@ -6173,10 +6297,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1335__", + "_id": "__REQ_1499__", "_type": "request", - "name": "List labels on an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#list-labels-on-an-issue", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6200,10 +6324,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1336__", + "_id": "__REQ_1500__", "_type": "request", "name": "Add labels to an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#add-labels-to-an-issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-labels-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6216,10 +6340,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1337__", + "_id": "__REQ_1501__", "_type": "request", - "name": "Replace all labels for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#replace-all-labels-for-an-issue", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#set-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6232,10 +6356,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1338__", + "_id": "__REQ_1502__", "_type": "request", "name": "Remove all labels from an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#remove-all-labels-from-an-issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-all-labels-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6248,10 +6372,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1339__", + "_id": "__REQ_1503__", "_type": "request", "name": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#remove-a-label-from-an-issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-a-label-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6264,10 +6388,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1340__", + "_id": "__REQ_1504__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#lock-an-issue", "headers": [ { "name": "Accept", @@ -6285,10 +6409,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1341__", + "_id": "__REQ_1505__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6301,10 +6425,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1342__", + "_id": "__REQ_1506__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.17/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6337,10 +6461,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1343__", + "_id": "__REQ_1507__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.17/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6358,10 +6482,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1344__", + "_id": "__REQ_1508__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/timeline/#list-events-for-an-issue", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", @@ -6390,10 +6514,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1345__", + "_id": "__REQ_1509__", "_type": "request", "name": "List deploy keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#list-deploy-keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deploy-keys", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6417,10 +6541,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1346__", + "_id": "__REQ_1510__", "_type": "request", - "name": "Add a new deploy key", - "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#add-a-new-deploy-key", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6433,10 +6557,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1347__", + "_id": "__REQ_1511__", "_type": "request", "name": "Get a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#get-a-deploy-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6449,10 +6573,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1348__", + "_id": "__REQ_1512__", "_type": "request", - "name": "Remove a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#remove-a-deploy-key", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6465,10 +6589,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1349__", + "_id": "__REQ_1513__", "_type": "request", - "name": "List all labels for this repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#list-all-labels-for-this-repository", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6492,10 +6616,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1350__", + "_id": "__REQ_1514__", "_type": "request", "name": "Create a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#create-a-label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6508,42 +6632,42 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1351__", + "_id": "__REQ_1515__", "_type": "request", - "name": "Update a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#update-a-label", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ current_name }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_61__", - "_id": "__REQ_1352__", + "_id": "__REQ_1516__", "_type": "request", - "name": "Get a single label", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#get-a-single-label", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_61__", - "_id": "__REQ_1353__", + "_id": "__REQ_1517__", "_type": "request", "name": "Delete a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#delete-a-label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6556,10 +6680,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1354__", + "_id": "__REQ_1518__", "_type": "request", - "name": "List languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-languages", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6572,10 +6696,10 @@ }, { "parentId": "__FLD_62__", - "_id": "__REQ_1355__", + "_id": "__REQ_1519__", "_type": "request", - "name": "Get the contents of a repository's license", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.17/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#get-the-contents-of-a-repositorys-license", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6588,10 +6712,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1356__", + "_id": "__REQ_1520__", "_type": "request", - "name": "Perform a merge", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/merging/#perform-a-merge", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#merge-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6604,10 +6728,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1357__", + "_id": "__REQ_1521__", "_type": "request", - "name": "List milestones for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#list-milestones-for-a-repository", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-milestones", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6646,10 +6770,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1358__", + "_id": "__REQ_1522__", "_type": "request", "name": "Create a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#create-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6662,10 +6786,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1359__", + "_id": "__REQ_1523__", "_type": "request", - "name": "Get a single milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#get-a-single-milestone", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6678,10 +6802,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1360__", + "_id": "__REQ_1524__", "_type": "request", "name": "Update a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#update-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6694,10 +6818,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1361__", + "_id": "__REQ_1525__", "_type": "request", "name": "Delete a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#delete-a-milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6710,10 +6834,10 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1362__", + "_id": "__REQ_1526__", "_type": "request", - "name": "Get labels for every issue in a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-issues-in-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6737,10 +6861,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1363__", + "_id": "__REQ_1527__", "_type": "request", - "name": "List your notifications in a repository", - "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications-in-a-repository", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6782,10 +6906,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1364__", + "_id": "__REQ_1528__", "_type": "request", - "name": "Mark notifications as read in a repository", - "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-repository-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6798,16 +6922,11 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1365__", + "_id": "__REQ_1529__", "_type": "request", - "name": "Get information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6819,31 +6938,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1366__", - "_type": "request", - "name": "Enable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#enable-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json,application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_71__", - "_id": "__REQ_1367__", + "_id": "__REQ_1530__", "_type": "request", - "name": "Disable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#disable-a-pages-site", + "name": "Create a GitHub Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-github-pages-site", "headers": [ { "name": "Accept", @@ -6854,23 +6952,18 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1368__", + "_id": "__REQ_1531__", "_type": "request", - "name": "Update information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#update-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], + "name": "Update information about a GitHub Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6882,31 +6975,31 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1369__", + "_id": "__REQ_1532__", "_type": "request", - "name": "Request a page build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#request-a-page-build", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-github-pages-site", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" + "value": "application/vnd.github.switcheroo-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1370__", + "_id": "__REQ_1533__", "_type": "request", - "name": "List Pages builds", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#list-pages-builds", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6930,10 +7023,26 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1371__", + "_id": "__REQ_1534__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1535__", "_type": "request", "name": "Get latest Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-latest-pages-build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6946,10 +7055,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1372__", + "_id": "__REQ_1536__", "_type": "request", - "name": "Get a specific Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-a-specific-pages-build", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6962,11 +7071,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1373__", + "_id": "__REQ_1537__", "_type": "request", - "name": "List pre-receive hooks for repository", - "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", - "headers": [], + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6989,11 +7103,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1374__", + "_id": "__REQ_1538__", "_type": "request", - "name": "Get a single pre-receive hook for repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", - "headers": [], + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7005,11 +7124,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1375__", + "_id": "__REQ_1539__", "_type": "request", - "name": "Update pre-receive hook enforcement for repository", - "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", - "headers": [], + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7021,11 +7145,16 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1376__", + "_id": "__REQ_1540__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for repository", - "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", - "headers": [], + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7037,10 +7166,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1377__", + "_id": "__REQ_1541__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-repository-projects", "headers": [ { "name": "Accept", @@ -7074,10 +7203,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1378__", + "_id": "__REQ_1542__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7095,10 +7224,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1379__", + "_id": "__REQ_1543__", "_type": "request", "name": "List pull requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests", "headers": [ { "name": "Accept", @@ -7149,10 +7278,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1380__", + "_id": "__REQ_1544__", "_type": "request", "name": "Create a pull request", - "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#create-a-pull-request", "headers": [ { "name": "Accept", @@ -7170,11 +7299,16 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1381__", + "_id": "__REQ_1545__", "_type": "request", - "name": "List comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7210,11 +7344,16 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1382__", + "_id": "__REQ_1546__", "_type": "request", - "name": "Get a single comment", - "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#get-a-single-comment", - "headers": [], + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7226,11 +7365,16 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1383__", + "_id": "__REQ_1547__", "_type": "request", - "name": "Edit a comment", - "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#edit-a-comment", - "headers": [], + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7242,10 +7386,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1384__", + "_id": "__REQ_1548__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#delete-a-comment", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7258,10 +7402,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1385__", + "_id": "__REQ_1549__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.17/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7294,10 +7438,10 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1386__", + "_id": "__REQ_1550__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.17/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7315,16 +7459,11 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1387__", + "_id": "__REQ_1551__", "_type": "request", - "name": "Get a single pull request", - "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.17/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.17/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.17/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#get-a-single-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#get-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7336,10 +7475,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1388__", + "_id": "__REQ_1552__", "_type": "request", "name": "Update a pull request", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -7357,11 +7496,16 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1389__", + "_id": "__REQ_1553__", "_type": "request", - "name": "List comments on a pull request", - "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#list-comments-on-a-pull-request", - "headers": [], + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7397,10 +7541,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1390__", + "_id": "__REQ_1554__", "_type": "request", - "name": "Create a comment reply", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.17/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#create-a-comment", + "name": "Create a review comment for a pull request (alternative)", + "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7413,10 +7557,26 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1391__", + "_id": "__REQ_1555__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_68__", + "_id": "__REQ_1556__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7440,10 +7600,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1392__", + "_id": "__REQ_1557__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7467,10 +7627,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1393__", + "_id": "__REQ_1558__", "_type": "request", - "name": "Get if a pull request has been merged", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#get-if-a-pull-request-has-been-merged", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7483,10 +7643,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1394__", + "_id": "__REQ_1559__", "_type": "request", - "name": "Merge a pull request (Merge Button)", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#merge-a-pull-request-merge-button", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7499,10 +7659,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1395__", + "_id": "__REQ_1560__", "_type": "request", - "name": "List review requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#list-review-requests", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7526,10 +7686,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1396__", + "_id": "__REQ_1561__", "_type": "request", - "name": "Create a review request", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#create-a-review-request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7542,10 +7702,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1397__", + "_id": "__REQ_1562__", "_type": "request", - "name": "Delete a review request", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#delete-a-review-request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7558,10 +7718,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1398__", + "_id": "__REQ_1563__", "_type": "request", - "name": "List reviews on a pull request", - "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#list-reviews-on-a-pull-request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-reviews-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7585,10 +7745,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1399__", + "_id": "__REQ_1564__", "_type": "request", - "name": "Create a pull request review", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.17/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#create-a-pull-request-review", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7601,10 +7761,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1400__", + "_id": "__REQ_1565__", "_type": "request", - "name": "Get a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#get-a-single-review", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7617,42 +7777,42 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1401__", + "_id": "__REQ_1566__", "_type": "request", - "name": "Delete a pending review", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#delete-a-pending-review", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_68__", - "_id": "__REQ_1402__", + "_id": "__REQ_1567__", "_type": "request", - "name": "Update a pull request review", - "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#update-a-pull-request-review", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_68__", - "_id": "__REQ_1403__", + "_id": "__REQ_1568__", "_type": "request", - "name": "Get comments for a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#get-comments-for-a-single-review", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-comments-for-a-pull-request-review", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7676,10 +7836,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1404__", + "_id": "__REQ_1569__", "_type": "request", - "name": "Dismiss a pull request review", - "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.17/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#dismiss-a-pull-request-review", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#dismiss-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7692,10 +7852,10 @@ }, { "parentId": "__FLD_68__", - "_id": "__REQ_1405__", + "_id": "__REQ_1570__", "_type": "request", - "name": "Submit a pull request review", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#submit-a-pull-request-review", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#submit-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7706,12 +7866,33 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_68__", + "_id": "__REQ_1571__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, { "parentId": "__FLD_71__", - "_id": "__REQ_1406__", + "_id": "__REQ_1572__", "_type": "request", - "name": "Get the README", - "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-the-readme", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-readme", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7729,10 +7910,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1407__", + "_id": "__REQ_1573__", "_type": "request", - "name": "List releases for a repository", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.17/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#list-releases-for-a-repository", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-releases", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7756,10 +7937,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1408__", + "_id": "__REQ_1574__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7772,10 +7953,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1409__", + "_id": "__REQ_1575__", "_type": "request", - "name": "Get a single release asset", - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.17/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.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-single-release-asset", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7788,10 +7969,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1410__", + "_id": "__REQ_1576__", "_type": "request", - "name": "Edit a release asset", - "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#edit-a-release-asset", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7804,10 +7985,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1411__", + "_id": "__REQ_1577__", "_type": "request", "name": "Delete a release asset", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#delete-a-release-asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7820,10 +8001,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1412__", + "_id": "__REQ_1578__", "_type": "request", "name": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-the-latest-release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-latest-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7836,10 +8017,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1413__", + "_id": "__REQ_1579__", "_type": "request", "name": "Get a release by tag name", - "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-release-by-tag-name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-by-tag-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7852,10 +8033,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1414__", + "_id": "__REQ_1580__", "_type": "request", - "name": "Get a single release", - "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/enterprise/2.17/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-single-release", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7868,10 +8049,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1415__", + "_id": "__REQ_1581__", "_type": "request", - "name": "Edit a release", - "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#edit-a-release", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7884,10 +8065,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1416__", + "_id": "__REQ_1582__", "_type": "request", "name": "Delete a release", - "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#delete-a-release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7900,10 +8081,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1417__", + "_id": "__REQ_1583__", "_type": "request", - "name": "List assets for a release", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#list-assets-for-a-release", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-release-assets", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7925,12 +8106,37 @@ } ] }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1584__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, { "parentId": "__FLD_52__", - "_id": "__REQ_1418__", + "_id": "__REQ_1585__", "_type": "request", - "name": "List Stargazers", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-stargazers", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-stargazers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7954,10 +8160,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1419__", + "_id": "__REQ_1586__", "_type": "request", - "name": "Get the number of additions and deletions per week", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7970,10 +8176,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1420__", + "_id": "__REQ_1587__", "_type": "request", - "name": "Get the last year of commit activity data", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7986,10 +8192,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1421__", + "_id": "__REQ_1588__", "_type": "request", - "name": "Get contributors list with additions, deletions, and commit counts", - "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8002,10 +8208,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1422__", + "_id": "__REQ_1589__", "_type": "request", - "name": "Get the weekly commit count for the repository owner and everyone else", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8018,10 +8224,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1423__", + "_id": "__REQ_1590__", "_type": "request", - "name": "Get the number of commits per hour in each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-hourly-commit-count-for-each-day", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8034,10 +8240,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1424__", + "_id": "__REQ_1591__", "_type": "request", - "name": "Create a status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#create-a-status", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8050,10 +8256,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1425__", + "_id": "__REQ_1592__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8077,10 +8283,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1426__", + "_id": "__REQ_1593__", "_type": "request", - "name": "Get a Repository Subscription", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#get-a-repository-subscription", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8093,10 +8299,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1427__", + "_id": "__REQ_1594__", "_type": "request", - "name": "Set a Repository Subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.17/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#set-a-repository-subscription", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8109,10 +8315,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1428__", + "_id": "__REQ_1595__", "_type": "request", - "name": "Delete a Repository Subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.17/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#delete-a-repository-subscription", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8125,10 +8331,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1429__", + "_id": "__REQ_1596__", "_type": "request", - "name": "List tags", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-tags", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8152,10 +8358,26 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1430__", + "_id": "__REQ_1597__", "_type": "request", - "name": "List teams", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-teams", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1598__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8179,10 +8401,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1431__", + "_id": "__REQ_1599__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8200,10 +8422,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1432__", + "_id": "__REQ_1600__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8221,47 +8443,105 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1433__", + "_id": "__REQ_1601__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1602__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#enable-vulnerability-alerts", "headers": [ { "name": "Accept", - "value": "application/vnd.github.nightshade-preview+json" + "value": "application/vnd.github.dorian-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1434__", + "_id": "__REQ_1603__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1604__", "_type": "request", - "name": "Get archive link", - "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-archive-link", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1435__", + "_id": "__REQ_1605__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_71__", + "_id": "__REQ_1606__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8272,32 +8552,22 @@ "body": {}, "parameters": [ { - "name": "since", - "disabled": false - }, - { - "name": "visibility", - "value": "public", - "disabled": false - }, - { - "name": "per_page", - "value": 30, + "name": "since", "disabled": false }, { - "name": "page", - "value": 1, + "name": "visibility", + "value": "public", "disabled": false } ] }, { "parentId": "__FLD_72__", - "_id": "__REQ_1436__", + "_id": "__REQ_1607__", "_type": "request", "name": "Search code", - "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8334,10 +8604,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1437__", + "_id": "__REQ_1608__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-commits", "headers": [ { "name": "Accept", @@ -8379,10 +8649,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1438__", + "_id": "__REQ_1609__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8419,10 +8689,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1439__", + "_id": "__REQ_1610__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8453,10 +8723,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1440__", + "_id": "__REQ_1611__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-repositories", "headers": [ { "name": "Accept", @@ -8498,10 +8768,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1441__", + "_id": "__REQ_1612__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-topics", "headers": [ { "name": "Accept", @@ -8524,10 +8794,10 @@ }, { "parentId": "__FLD_72__", - "_id": "__REQ_1442__", + "_id": "__REQ_1613__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8564,10 +8834,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1443__", + "_id": "__REQ_1614__", "_type": "request", - "name": "Check configuration status", - "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#check-configuration-status", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-configuration-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8580,10 +8850,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1444__", + "_id": "__REQ_1615__", "_type": "request", "name": "Start a configuration process", - "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#start-a-configuration-process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8596,10 +8866,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1445__", + "_id": "__REQ_1616__", "_type": "request", - "name": "Check maintenance status", - "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#check-maintenance-status", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-maintenance-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8612,10 +8882,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1446__", + "_id": "__REQ_1617__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8628,10 +8898,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1447__", + "_id": "__REQ_1618__", "_type": "request", - "name": "Retrieve settings", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8644,10 +8914,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1448__", + "_id": "__REQ_1619__", "_type": "request", - "name": "Modify settings", - "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#modify-settings", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8660,10 +8930,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1449__", + "_id": "__REQ_1620__", "_type": "request", - "name": "Retrieve authorized SSH keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8676,10 +8946,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1450__", + "_id": "__REQ_1621__", "_type": "request", - "name": "Add a new authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8692,10 +8962,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1451__", + "_id": "__REQ_1622__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8708,10 +8978,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1452__", + "_id": "__REQ_1623__", "_type": "request", - "name": "Upload a license for the first time", - "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8724,10 +8994,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1453__", + "_id": "__REQ_1624__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8738,28 +9008,12 @@ "body": {}, "parameters": [] }, - { - "parentId": "__FLD_57__", - "_id": "__REQ_1454__", - "_type": "request", - "name": "Queue an indexing job", - "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/staff/indexing_jobs", - "body": {}, - "parameters": [] - }, { "parentId": "__FLD_73__", - "_id": "__REQ_1455__", + "_id": "__REQ_1625__", "_type": "request", - "name": "Get team", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#get-team", + "name": "Get a team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team", "headers": [ { "name": "Accept", @@ -8777,10 +9031,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1456__", + "_id": "__REQ_1626__", "_type": "request", - "name": "Edit team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#edit-team", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#update-a-team", "headers": [ { "name": "Accept", @@ -8798,10 +9052,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1457__", + "_id": "__REQ_1627__", "_type": "request", - "name": "Delete team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#delete-team", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#delete-a-team", "headers": [ { "name": "Accept", @@ -8819,14 +9073,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1458__", + "_id": "__REQ_1628__", "_type": "request", "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#list-discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussions", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8856,14 +9110,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1459__", + "_id": "__REQ_1629__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8877,14 +9131,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1460__", + "_id": "__REQ_1630__", "_type": "request", - "name": "Get a single discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#get-a-single-discussion", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8898,14 +9152,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1461__", + "_id": "__REQ_1631__", "_type": "request", - "name": "Edit a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#edit-a-discussion", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8919,16 +9173,11 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1462__", + "_id": "__REQ_1632__", "_type": "request", "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#delete-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8940,14 +9189,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1463__", + "_id": "__REQ_1633__", "_type": "request", - "name": "List comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#list-comments", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussion-comments", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8977,14 +9226,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1464__", + "_id": "__REQ_1634__", "_type": "request", - "name": "Create a comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#create-a-comment", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8998,14 +9247,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1465__", + "_id": "__REQ_1635__", "_type": "request", - "name": "Get a single comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#get-a-single-comment", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9019,14 +9268,14 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1466__", + "_id": "__REQ_1636__", "_type": "request", - "name": "Edit a comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#edit-a-comment", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9040,16 +9289,11 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1467__", + "_id": "__REQ_1637__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#delete-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9061,14 +9305,14 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1468__", + "_id": "__REQ_1638__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9097,14 +9341,14 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1469__", + "_id": "__REQ_1639__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9118,14 +9362,14 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1470__", + "_id": "__REQ_1640__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9154,14 +9398,14 @@ }, { "parentId": "__FLD_70__", - "_id": "__REQ_1471__", + "_id": "__REQ_1641__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9175,10 +9419,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1472__", + "_id": "__REQ_1642__", "_type": "request", "name": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#list-team-members", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-team-members", "headers": [ { "name": "Accept", @@ -9212,10 +9456,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1473__", + "_id": "__REQ_1643__", "_type": "request", "name": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-member-legacy", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9228,10 +9472,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1474__", + "_id": "__REQ_1644__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that 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/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9244,10 +9488,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1475__", + "_id": "__REQ_1645__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9260,10 +9504,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1476__", + "_id": "__REQ_1646__", "_type": "request", - "name": "Get team membership", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.17/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-membership", + "name": "Get team membership for a user", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user", "headers": [ { "name": "Accept", @@ -9281,10 +9525,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1477__", + "_id": "__REQ_1647__", "_type": "request", - "name": "Add or update team membership", - "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#add-or-update-team-membership", + "name": "Add or update team membership for a user", + "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9297,10 +9541,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1478__", + "_id": "__REQ_1648__", "_type": "request", - "name": "Remove team membership", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-membership", + "name": "Remove team membership for a user", + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9313,10 +9557,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1479__", + "_id": "__REQ_1649__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-projects", "headers": [ { "name": "Accept", @@ -9345,10 +9589,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1480__", + "_id": "__REQ_1650__", "_type": "request", - "name": "Review a team project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#review-a-team-project", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -9366,10 +9610,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1481__", + "_id": "__REQ_1651__", "_type": "request", - "name": "Add or update team project", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#add-or-update-team-project", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -9387,10 +9631,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1482__", + "_id": "__REQ_1652__", "_type": "request", - "name": "Remove team project", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#remove-team-project", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9403,10 +9647,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1483__", + "_id": "__REQ_1653__", "_type": "request", - "name": "List team repos", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-team-repos", + "name": "List team repositories", + "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-repositories", "headers": [ { "name": "Accept", @@ -9435,10 +9679,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1484__", + "_id": "__REQ_1654__", "_type": "request", - "name": "Check if a team manages a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#check-if-a-team-manages-a-repository", + "name": "Check team permissions for a repository", + "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-repository", "headers": [ { "name": "Accept", @@ -9456,10 +9700,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1485__", + "_id": "__REQ_1655__", "_type": "request", - "name": "Add or update team repository", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#add-or-update-team-repository", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-repository-permissions", "headers": [ { "name": "Accept", @@ -9477,10 +9721,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1486__", + "_id": "__REQ_1656__", "_type": "request", - "name": "Remove team repository", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#remove-team-repository", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9493,10 +9737,10 @@ }, { "parentId": "__FLD_73__", - "_id": "__REQ_1487__", + "_id": "__REQ_1657__", "_type": "request", "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-child-teams", + "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-child-teams", "headers": [ { "name": "Accept", @@ -9525,10 +9769,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1488__", + "_id": "__REQ_1658__", "_type": "request", "name": "Get the authenticated user", - "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9541,10 +9785,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1489__", + "_id": "__REQ_1659__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9557,10 +9801,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1490__", + "_id": "__REQ_1660__", "_type": "request", - "name": "List email addresses for a user", - "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#list-email-addresses-for-a-user", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-email-addresses-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9584,10 +9828,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1491__", + "_id": "__REQ_1661__", "_type": "request", - "name": "Add email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#add-email-addresses", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#add-an-email-address-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9600,10 +9844,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1492__", + "_id": "__REQ_1662__", "_type": "request", - "name": "Delete email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#delete-email-addresses", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-an-email-address-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9616,10 +9860,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1493__", + "_id": "__REQ_1663__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9643,10 +9887,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1494__", + "_id": "__REQ_1664__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-the-authenticated-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9670,10 +9914,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1495__", + "_id": "__REQ_1665__", "_type": "request", - "name": "Check if you are following a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#check-if-you-are-following-a-user", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9686,10 +9930,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1496__", + "_id": "__REQ_1666__", "_type": "request", "name": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#follow-a-user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#follow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9702,10 +9946,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1497__", + "_id": "__REQ_1667__", "_type": "request", "name": "Unfollow a user", - "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#unfollow-a-user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#unfollow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9718,10 +9962,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1498__", + "_id": "__REQ_1668__", "_type": "request", - "name": "List your GPG keys", - "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#list-your-gpg-keys", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9745,10 +9989,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1499__", + "_id": "__REQ_1669__", "_type": "request", - "name": "Create a GPG key", - "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#create-a-gpg-key", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9761,10 +10005,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1500__", + "_id": "__REQ_1670__", "_type": "request", - "name": "Get a single GPG key", - "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#get-a-single-gpg-key", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9777,10 +10021,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1501__", + "_id": "__REQ_1671__", "_type": "request", - "name": "Delete a GPG key", - "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#delete-a-gpg-key", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9793,10 +10037,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1502__", + "_id": "__REQ_1672__", "_type": "request", - "name": "List installations for a user", - "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-installations-for-a-user", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", "headers": [ { "name": "Accept", @@ -9825,10 +10069,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1503__", + "_id": "__REQ_1673__", "_type": "request", - "name": "List repositories accessible to the user for an installation", - "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", "headers": [ { "name": "Accept", @@ -9857,10 +10101,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1504__", + "_id": "__REQ_1674__", "_type": "request", - "name": "Add repository to installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#add-repository-to-installation", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#add-a-repository-to-an-app-installation", "headers": [ { "name": "Accept", @@ -9878,10 +10122,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1505__", + "_id": "__REQ_1675__", "_type": "request", - "name": "Remove repository from installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#remove-repository-from-installation", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#remove-a-repository-from-an-app-installation", "headers": [ { "name": "Accept", @@ -9899,11 +10143,16 @@ }, { "parentId": "__FLD_61__", - "_id": "__REQ_1506__", + "_id": "__REQ_1676__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", - "headers": [], + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9954,10 +10203,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1507__", + "_id": "__REQ_1677__", "_type": "request", - "name": "List your public keys", - "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#list-your-public-keys", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9981,10 +10230,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1508__", + "_id": "__REQ_1678__", "_type": "request", - "name": "Create a public key", - "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#create-a-public-key", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9997,10 +10246,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1509__", + "_id": "__REQ_1679__", "_type": "request", - "name": "Get a single public key", - "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#get-a-single-public-key", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10013,10 +10262,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1510__", + "_id": "__REQ_1680__", "_type": "request", - "name": "Delete a public key", - "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#delete-a-public-key", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10029,10 +10278,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1511__", + "_id": "__REQ_1681__", "_type": "request", - "name": "List your organization memberships", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#list-your-organization-memberships", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10060,10 +10309,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1512__", + "_id": "__REQ_1682__", "_type": "request", - "name": "Get your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#get-your-organization-membership", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10076,10 +10325,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1513__", + "_id": "__REQ_1683__", "_type": "request", - "name": "Edit your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#edit-your-organization-membership", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10092,10 +10341,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1514__", + "_id": "__REQ_1684__", "_type": "request", - "name": "List your organizations", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-your-organizations", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10119,10 +10368,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1515__", + "_id": "__REQ_1685__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-user-project", "headers": [ { "name": "Accept", @@ -10140,10 +10389,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1516__", + "_id": "__REQ_1686__", "_type": "request", - "name": "List public email addresses for a user", - "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#list-public-email-addresses-for-a-user", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10167,10 +10416,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1517__", + "_id": "__REQ_1687__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10213,16 +10462,29 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false } ] }, { "parentId": "__FLD_71__", - "_id": "__REQ_1518__", + "_id": "__REQ_1688__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create", - "headers": [], + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10234,10 +10496,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1519__", + "_id": "__REQ_1689__", "_type": "request", - "name": "List a user's repository invitations", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#list-a-users-repository-invitations", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10261,10 +10523,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1520__", + "_id": "__REQ_1690__", "_type": "request", "name": "Accept a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#accept-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#accept-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10277,10 +10539,10 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1521__", + "_id": "__REQ_1691__", "_type": "request", "name": "Decline a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#decline-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#decline-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10293,10 +10555,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1522__", + "_id": "__REQ_1692__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10330,10 +10592,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1523__", + "_id": "__REQ_1693__", "_type": "request", - "name": "Check if you are starring a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#check-if-you-are-starring-a-repository", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10346,10 +10608,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1524__", + "_id": "__REQ_1694__", "_type": "request", - "name": "Star a repository", - "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#star-a-repository", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#star-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10362,10 +10624,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1525__", + "_id": "__REQ_1695__", "_type": "request", - "name": "Unstar a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#unstar-a-repository", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10378,10 +10640,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1526__", + "_id": "__REQ_1696__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10403,66 +10665,13 @@ } ] }, - { - "parentId": "__FLD_52__", - "_id": "__REQ_1527__", - "_type": "request", - "name": "Check if you are watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_52__", - "_id": "__REQ_1528__", - "_type": "request", - "name": "Watch a repository (LEGACY)", - "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#watch-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_52__", - "_id": "__REQ_1529__", - "_type": "request", - "name": "Stop watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#stop-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, { "parentId": "__FLD_73__", - "_id": "__REQ_1530__", + "_id": "__REQ_1697__", "_type": "request", - "name": "List user teams", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-user-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10485,10 +10694,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1531__", + "_id": "__REQ_1698__", "_type": "request", - "name": "Get all users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-all-users", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10506,20 +10715,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { "parentId": "__FLD_74__", - "_id": "__REQ_1532__", + "_id": "__REQ_1699__", "_type": "request", - "name": "Get a single user", - "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.17/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.17/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-a-single-user", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.19/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10532,10 +10736,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1533__", + "_id": "__REQ_1700__", "_type": "request", - "name": "List events performed by a user", - "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-performed-by-a-user", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10559,10 +10763,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1534__", + "_id": "__REQ_1701__", "_type": "request", - "name": "List events for an organization", - "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-for-an-organization", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-organization-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10586,10 +10790,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1535__", + "_id": "__REQ_1702__", "_type": "request", - "name": "List public events performed by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-performed-by-a-user", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10613,10 +10817,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1536__", + "_id": "__REQ_1703__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10640,10 +10844,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1537__", + "_id": "__REQ_1704__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-a-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10667,10 +10871,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1538__", + "_id": "__REQ_1705__", "_type": "request", - "name": "Check if one user follows another", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#check-if-one-user-follows-another", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-user-follows-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10683,10 +10887,10 @@ }, { "parentId": "__FLD_58__", - "_id": "__REQ_1539__", + "_id": "__REQ_1706__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10714,10 +10918,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1540__", + "_id": "__REQ_1707__", "_type": "request", "name": "List GPG keys for a user", - "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10741,16 +10945,11 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1541__", + "_id": "__REQ_1708__", "_type": "request", - "name": "Get contextual information about a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-contextual-information-about-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hagar-preview+json" - } - ], + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-contextual-information-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10771,10 +10970,10 @@ }, { "parentId": "__FLD_53__", - "_id": "__REQ_1542__", + "_id": "__REQ_1709__", "_type": "request", - "name": "Get a user installation", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-user-installation", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -10792,10 +10991,10 @@ }, { "parentId": "__FLD_74__", - "_id": "__REQ_1543__", + "_id": "__REQ_1710__", "_type": "request", "name": "List public keys for a user", - "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#list-public-keys-for-a-user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10819,10 +11018,10 @@ }, { "parentId": "__FLD_66__", - "_id": "__REQ_1544__", + "_id": "__REQ_1711__", "_type": "request", - "name": "List user organizations", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.17/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-user-organizations", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10846,10 +11045,10 @@ }, { "parentId": "__FLD_67__", - "_id": "__REQ_1545__", + "_id": "__REQ_1712__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-user-projects", "headers": [ { "name": "Accept", @@ -10883,10 +11082,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1546__", + "_id": "__REQ_1713__", "_type": "request", - "name": "List events that a user has received", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-that-a-user-has-received", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-received-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10910,10 +11109,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1547__", + "_id": "__REQ_1714__", "_type": "request", - "name": "List public events that a user has received", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-that-a-user-has-received", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-received-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10937,11 +11136,16 @@ }, { "parentId": "__FLD_71__", - "_id": "__REQ_1548__", + "_id": "__REQ_1715__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-user-repositories", - "headers": [], + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10978,10 +11182,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1549__", + "_id": "__REQ_1716__", "_type": "request", - "name": "Promote an ordinary user to a site administrator", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10994,10 +11198,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1550__", + "_id": "__REQ_1717__", "_type": "request", - "name": "Demote a site administrator to an ordinary user", - "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#demote-a-site-administrator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11010,10 +11214,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1551__", + "_id": "__REQ_1718__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11047,10 +11251,10 @@ }, { "parentId": "__FLD_52__", - "_id": "__REQ_1552__", + "_id": "__REQ_1719__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11074,10 +11278,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1553__", + "_id": "__REQ_1720__", "_type": "request", "name": "Suspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#suspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11090,10 +11294,10 @@ }, { "parentId": "__FLD_57__", - "_id": "__REQ_1554__", + "_id": "__REQ_1721__", "_type": "request", "name": "Unsuspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#unsuspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#unsuspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11103,6 +11307,22 @@ "url": "{{ github_api_root }}/users/{{ username }}/suspended", "body": {}, "parameters": [] + }, + { + "parentId": "__FLD_64__", + "_id": "__REQ_1722__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] } ] } \ No newline at end of file diff --git a/routes/ghes-2.20.json b/routes/ghes-2.20.json new file mode 100644 index 0000000..a20972b --- /dev/null +++ b/routes/ghes-2.20.json @@ -0,0 +1,9071 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2021-02-18T02:52:38.299Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_122__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}", + "access_token": "", + "app_slug": "", + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "base": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "discussion_number": 0, + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "head": "", + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "type": "", + "username": "" + } + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_123__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_124__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_125__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_126__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_127__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_128__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_129__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_130__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_131__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_132__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_133__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_134__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_135__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_136__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_137__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_138__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_139__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_140__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_141__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_142__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_143__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_144__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_122__", + "_id": "__FLD_145__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_135__", + "_id": "__REQ_2741__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2742__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2743__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2744__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2745__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2746__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2747__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2748__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2749__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2750__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2751__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2752__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2753__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2754__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2755__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2756__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2757__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2758__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2759__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2760__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2761__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2762__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2763__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2764__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2765__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2766__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2767__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2768__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2769__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2770__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2771__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2772__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2773__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2774__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2775__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2776__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2777__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#list-installations-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2778__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2779__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2780__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2781__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2782__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2783__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2784__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2785__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2786__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2787__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2788__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2789__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2790__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2791__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2792__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2793__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2794__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2795__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2796__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2797__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2798__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_136__", + "_id": "__REQ_2799__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2800__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2801__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-a-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2802__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.20/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2803__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/emojis/#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2804__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2805__", + "_type": "request", + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2806__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2807__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2808__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2809__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2810__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2811__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2812__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2813__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2814__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2815__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2816__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2817__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2818__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2819__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2820__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2821__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2822__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2823__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2824__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2825__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2826__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2827__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2828__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2829__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2830__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_2831__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_2832__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_2833__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_134__", + "_id": "__REQ_2834__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_134__", + "_id": "__REQ_2835__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_135__", + "_id": "__REQ_2836__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/meta/#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2837__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2838__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2839__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2840__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2841__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2842__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2843__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2844__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_135__", + "_id": "__REQ_2845__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2846__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2847__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2848__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2849__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2850__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2851__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2852__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2853__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2854__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2855__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_2856__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2857__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-app-installations-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_2858__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2859__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2860__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2861__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2862__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2863__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2864__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2865__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2866__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2867__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2868__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2869__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2870__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2871__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2872__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2873__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2874__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2875__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2876__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_137__", + "_id": "__REQ_2877__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2878__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2879__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_144__", + "_id": "__REQ_2880__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_144__", + "_id": "__REQ_2881__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_144__", + "_id": "__REQ_2882__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2883__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2884__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2885__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2886__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2887__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2888__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2889__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2890__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2891__", + "_type": "request", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2892__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2893__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2894__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2895__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2896__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2897__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2898__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2899__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2900__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_2901__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_140__", + "_id": "__REQ_2902__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_2903__", + "_type": "request", + "name": "Delete a reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#delete-a-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2904__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2905__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2906__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_2907__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_2908__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2909__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2910__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2911__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2912__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2913__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2914__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2915__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2916__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2917__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2918__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2919__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2920__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2921__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2922__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2923__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2924__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-status-check-potection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2925__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2926__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2927__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2928__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2929__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2930__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2931__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2932__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2933__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2934__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2935__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2936__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2937__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2938__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2939__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2940__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2941__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2942__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2943__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2944__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2945__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2946__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2947__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-run-annotations", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2948__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2949__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2950__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2951__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2952__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#rerequest-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2953__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2954__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2955__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2956__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2957__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2958__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2959__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2960__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2961__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_2962__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_2963__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2964__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2965__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2966__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2967__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2968__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2969__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2970__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2971__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2972__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2973__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2974__", + "_type": "request", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2975__", + "_type": "request", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2976__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.20/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2977__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2978__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2979__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2980__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2981__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2982__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2983__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2984__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2985__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2986__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2987__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_2988__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2989__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2990__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2991__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2992__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2993__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2994__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2995__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2996__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2997__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2998__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_2999__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_3000__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_130__", + "_id": "__REQ_3001__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3002__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3003__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3004__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3005__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3006__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3007__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3008__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_124__", + "_id": "__REQ_3009__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3010__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3011__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3012__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3013__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3014__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3015__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3016__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3017__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3018__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3019__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3020__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3021__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3022__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json,application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3023__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3024__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3025__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3026__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3027__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3028__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3029__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3030__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3031__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3032__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3033__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3034__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3035__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#lock-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3036__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3037__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3038__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3039__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3040__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3041__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3042__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3043__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3044__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3045__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3046__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3047__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3048__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3049__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3050__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3051__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3052__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3053__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3054__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3055__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3056__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3057__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3058__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3059__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3060__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3061__", + "_type": "request", + "name": "Create a GitHub Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3062__", + "_type": "request", + "name": "Update information about a GitHub Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3063__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3064__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3065__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3066__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3067__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3068__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3069__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3070__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3071__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3072__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3073__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3074__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3075__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#create-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3076__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3077__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3078__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3079__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3080__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_141__", + "_id": "__REQ_3081__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3082__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3083__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3084__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3085__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3086__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3087__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3088__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3089__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3090__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3091__", + "_type": "request", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3092__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3093__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3094__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3095__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3096__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3097__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3098__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3099__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3100__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3101__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3102__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3103__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3104__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3105__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3106__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3107__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3108__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3109__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3110__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3111__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3112__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3113__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3114__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3115__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3116__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3117__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3118__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3119__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3120__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3121__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3122__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3123__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3124__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3125__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_3126__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3127__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3128__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3129__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3130__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3131__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3132__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3133__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3134__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3135__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3136__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3137__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3138__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3139__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3140__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3141__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3142__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3143__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_143__", + "_id": "__REQ_3144__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3145__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3146__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3147__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3148__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3149__", + "_type": "request", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3150__", + "_type": "request", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3151__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3152__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3153__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_3154__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api \ No newline at end of file diff --git a/routes/ghes-2.21.json b/routes/ghes-2.21.json new file mode 100644 index 0000000..ebea4b8 --- /dev/null +++ b/routes/ghes-2.21.json @@ -0,0 +1,9330 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2021-02-18T02:52:38.229Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_1__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}", + "access_token": "", + "app_slug": "", + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "base": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "discussion_number": 0, + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "head": "", + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "type": "", + "username": "" + } + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_2__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_3__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_4__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_5__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_6__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_7__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_8__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_9__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_10__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_11__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_12__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_13__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_14__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_15__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_16__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_17__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_18__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_19__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_20__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_21__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_22__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_23__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_24__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_14__", + "_id": "__REQ_1__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_2__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_3__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_4__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_5__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_6__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_7__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_8__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_9__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_10__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_11__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_12__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_13__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_14__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_15__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_16__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_17__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_18__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_19__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_20__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_21__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_22__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_23__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_24__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_25__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_26__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_27__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_28__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_29__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_30__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_31__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_32__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_33__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_34__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_35__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_36__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_37__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#list-installations-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_38__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_39__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_40__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_41__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_42__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_43__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_44__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_45__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_46__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_47__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_48__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_49__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_50__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_51__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_52__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_53__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_54__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_55__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_56__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_57__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_58__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_15__", + "_id": "__REQ_59__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_5__", + "_id": "__REQ_60__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_5__", + "_id": "__REQ_61__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-a-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_62__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.21/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_6__", + "_id": "__REQ_63__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/emojis/#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_64__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_65__", + "_type": "request", + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_66__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_67__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_68__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_69__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_70__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_71__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_72__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_73__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_74__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_75__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_76__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_77__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_78__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_79__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_80__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_81__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_82__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_83__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_84__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_85__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_8__", + "_id": "__REQ_86__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_10__", + "_id": "__REQ_87__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_10__", + "_id": "__REQ_88__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_89__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_90__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_91__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_92__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_93__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_13__", + "_id": "__REQ_94__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_13__", + "_id": "__REQ_95__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_14__", + "_id": "__REQ_96__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/meta/#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_97__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_98__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_99__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_100__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_101__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_102__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_103__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_104__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_14__", + "_id": "__REQ_105__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_106__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_107__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_108__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_109__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_110__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_111__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_112__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_113__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_114__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_115__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_116__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_117__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-app-installations-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_118__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_119__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_120__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_121__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_122__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_123__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_124__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_125__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_126__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_127__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_128__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_129__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_130__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_131__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_132__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_133__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_134__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_135__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_136__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_16__", + "_id": "__REQ_137__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_138__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_139__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_140__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_141__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_142__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_143__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_144__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_145__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_146__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_147__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_148__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_149__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_150__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_151__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_152__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_153__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_154__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_155__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_156__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_157__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_158__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_159__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_160__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_161__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_162__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_163__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_164__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_165__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_166__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_167__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_168__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_169__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_170__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_171__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_172__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_173__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_174__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_175__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_176__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_177__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_178__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_179__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_180__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_181__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_182__", + "_type": "request", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_183__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_184__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_185__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_186__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_187__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_188__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_189__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_190__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_191__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_192__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_19__", + "_id": "__REQ_193__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_194__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-reaction-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_195__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_196__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_197__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_198__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_199__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_200__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_201__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_202__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_203__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_204__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_205__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_206__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_207__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_208__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_209__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_210__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_211__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_212__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_213__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_214__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_215__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-status-check-potection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_216__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_217__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_218__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_219__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_220__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_221__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_222__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_223__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_224__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_225__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_226__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_227__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_228__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_229__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_230__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_231__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_232__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_233__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_234__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_235__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_236__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_237__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_238__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-run-annotations", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_239__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_240__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_241__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_242__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_243__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#rerequest-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_244__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_245__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_246__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_247__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_248__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_249__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_250__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_251__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_252__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_253__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_254__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_255__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_256__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_257__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_258__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_259__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_260__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_261__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_262__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_4__", + "_id": "__REQ_263__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_264__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_265__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_5__", + "_id": "__REQ_266__", + "_type": "request", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_267__", + "_type": "request", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_268__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.21/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_269__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_270__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_271__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_272__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_273__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_274__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_275__", + "_type": "request", + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_276__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_277__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_278__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_279__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_280__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_281__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_282__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_283__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_284__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_285__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_286__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_287__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_288__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_289__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_290__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_291__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_292__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_293__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_294__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_9__", + "_id": "__REQ_295__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_296__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_297__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_298__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_299__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_300__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_301__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_302__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_303__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_304__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_305__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_306__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_307__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_308__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_309__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_310__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_311__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_312__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_313__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_314__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_315__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_316__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_317__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json,application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_318__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_319__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_320__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_321__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_322__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_323__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_324__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_325__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_326__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_327__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_328__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_329__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_330__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#lock-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_331__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_332__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_333__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_334__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_335__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_336__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_337__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_338__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_339__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_340__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_341__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_342__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_343__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_344__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_345__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_346__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_347__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_348__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_349__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_350__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_351__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_352__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_11__", + "_id": "__REQ_353__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_354__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_355__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_356__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_357__", + "_type": "request", + "name": "Create a GitHub Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_358__", + "_type": "request", + "name": "Update information about a GitHub Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_359__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_360__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_361__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_362__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_363__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_364__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_365__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_366__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_367__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_368__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_17__", + "_id": "__REQ_369__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_370__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_371__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#create-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_372__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_373__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_374__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_375__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_376__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_377__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_378__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_379__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_380__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_381__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_382__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_383__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_384__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_385__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_386__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_387__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_388__", + "_type": "request", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_389__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_390__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_391__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_392__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_393__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_394__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_395__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_396__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_397__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_398__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_18__", + "_id": "__REQ_399__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_400__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_401__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_402__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_403__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_404__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_405__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_406__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_407__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_408__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_409__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_410__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_411__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_412__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_413__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_414__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_415__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_416__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_417__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_418__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_419__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_420__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_421__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_422__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_423__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_424__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_425__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_426__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_427__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_428__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + \ No newline at end of file diff --git a/routes/ghes-2.22.json b/routes/ghes-2.22.json new file mode 100644 index 0000000..a8b5b28 --- /dev/null +++ b/routes/ghes-2.22.json @@ -0,0 +1,10471 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2021-02-18T02:52:38.329Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_178__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}", + "access_token": "", + "alert_number": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "base": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "discussion_number": 0, + "enterprise": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "head": "", + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "type": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_179__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_180__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_181__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_182__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_183__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_184__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_185__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_186__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_187__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_188__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_189__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_190__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_191__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_192__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_193__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_194__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_195__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_196__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_197__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_198__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_199__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_200__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_201__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_202__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_178__", + "_id": "__FLD_203__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_3964__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3965__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3966__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3967__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3968__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3969__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3970__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3971__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3972__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3973__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.hellcat-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3974__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3975__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3976__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3977__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3978__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3979__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3980__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3981__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3982__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3983__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3984__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3985__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3986__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3987__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3988__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3989__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3990__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3991__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3992__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3993__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3994__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3995__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3996__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_3997__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_3998__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_3999__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4000__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4001__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4002__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@2.22/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4003__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4004__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4005__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4006__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4007__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4008__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4009__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4010__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4011__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4012__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4013__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4014__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4015__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4016__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4017__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4018__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4019__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4020__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4021__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4022__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4023__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4024__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-a-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4025__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.22/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_185__", + "_id": "__REQ_4026__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/emojis/#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4027__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4028__", + "_type": "request", + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4029__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4030__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4031__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4032__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4033__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4034__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4035__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4036__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4037__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4038__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4039__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4040__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4041__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4042__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4043__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4044__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4045__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4046__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4047__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4048__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4049__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4050__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4051__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4052__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4053__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4054__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4055__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4056__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4057__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4058__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4059__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4060__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4061__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4062__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4063__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4064__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4065__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4066__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4067__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4068__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_189__", + "_id": "__REQ_4069__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_189__", + "_id": "__REQ_4070__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4071__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4072__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4073__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_191__", + "_id": "__REQ_4074__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_191__", + "_id": "__REQ_4075__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4076__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4077__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4078__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/meta/#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4079__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4080__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4081__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4082__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4083__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4084__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4085__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4086__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4087__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4088__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4089__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4090__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4091__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4092__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4093__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4094__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4095__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4096__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4097__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4098__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4099__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4100__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4101__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4102__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4103__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4104__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4105__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4106__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4107__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4108__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4109__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4110__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4111__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4112__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4113__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4114__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4115__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4116__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4117__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4118__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4119__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4120__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4121__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4122__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4123__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4124__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4125__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4126__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4127__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4128__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4129__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4130__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4131__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4132__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4133__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4134__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4135__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4136__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4137__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4138__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4139__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4140__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4141__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4142__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4143__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4144__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4145__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4146__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4147__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4148__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4149__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4150__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4151__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4152__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4153__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4154__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4155__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4156__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4157__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4158__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4159__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4160__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4161__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4162__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4163__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4164__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4165__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4166__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4167__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4168__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4169__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4170__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4171__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4172__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4173__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4174__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4175__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4176__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4177__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4178__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4179__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4180__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4181__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4182__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4183__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4184__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4185__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4186__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4187__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4188__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4189__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4190__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4191__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4192__", + "_type": "request", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4193__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4194__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4195__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4196__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4197__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4198__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4199__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4200__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4201__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4202__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4203__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4204__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-reaction-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4205__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4206__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4207__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4208__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4209__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4210__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4211__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4212__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4213__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4214__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4215__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4216__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4217__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4218__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4219__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4220__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4221__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4222__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4223__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4224__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4225__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4226__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4227__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4228__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4229__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4230__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4231__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4232__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4233__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4234__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4235__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4236__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4237__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4238__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4239__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4240__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4241__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4242__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4243__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4244__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4245__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4246__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4247__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4248__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4249__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4250__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4251__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4252__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4253__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4254__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4255__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-status-check-potection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4256__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4257__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4258__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4259__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4260__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4261__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4262__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4263__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4264__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4265__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4266__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4267__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4268__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4269__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4270__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4271__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4272__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4273__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4274__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4275__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4276__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4277__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4278__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-run-annotations", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4279__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4280__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4281__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4282__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4283__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#rerequest-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_183__", + "_id": "__REQ_4284__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_183__", + "_id": "__REQ_4285__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_183__", + "_id": "__REQ_4286__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_183__", + "_id": "__REQ_4287__", + "_type": "request", + "name": "List recent code scanning analyses for a repository", + "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-recent-analyses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + }, + { + "name": "tool_name", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_183__", + "_id": "__REQ_4288__", + "_type": "request", + "name": "Upload a SARIF file", + "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-sarif-analysis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4289__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4290__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4291__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4292__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4293__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4294__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4295__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4296__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4297__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4298__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4299__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4300__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4301__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4302__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4303__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4304__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4305__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4306__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4307__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4308__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4309__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4310__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4311__", + "_type": "request", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4312__", + "_type": "request", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4313__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.22/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4314__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4315__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4316__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4317__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4318__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4319__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4320__", + "_type": "request", + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4321__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4322__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4323__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4324__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4325__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4326__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4327__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4328__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4329__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4330__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4331__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4332__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4333__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4334__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4335__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4336__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4337__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4338__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4339__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4340__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4341__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4342__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4343__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4344__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4345__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4346__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4347__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4348__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4349__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4350__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4351__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4352__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4353__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4354__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4355__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4356__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4357__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4358__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4359__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4360__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4361__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4362__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4363__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4364__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4365__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4366__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4367__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4368__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4369__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4370__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4371__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4372__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4373__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4374__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4375__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4376__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4377__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4378__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4379__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4380__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4381__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4382__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4383__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4384__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4385__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4386__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4387__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4388__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4389__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4390__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_191__", + "_id": "__REQ_4391__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4392__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4393__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4394__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4395__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4396__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4397__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4398__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4399__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4400__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4401__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4402__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4403__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4404__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4405__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4406__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4407__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4408__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4409__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4410__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4411__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4412__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4413__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4414__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4415__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4416__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4417__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4418__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4419__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4420__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4421__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4422__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4423__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4424__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4425__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4426__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4427__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4428__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4429__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4430__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4431__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4432__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4433__", + "_type": "request", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4434__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4435__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4436__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4437__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4438__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4439__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4440__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4441__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4442__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4443__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4444__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4445__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4446__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4447__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4448__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4449__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4450__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4451__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4452__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4453__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4454__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4455__", + "_type": " \ No newline at end of file diff --git a/routes/ghes-3.0.json b/routes/ghes-3.0.json new file mode 100644 index 0000000..5ca879e --- /dev/null +++ b/routes/ghes-3.0.json @@ -0,0 +1,7243 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2021-02-18T02:52:38.246Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_25__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}", + "access_token": "", + "alert_number": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "base": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "discussion_number": 0, + "enterprise": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "head": "", + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "type": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_26__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_27__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_28__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_29__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_30__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_31__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_32__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_33__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_34__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_35__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_36__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_37__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_38__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_39__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_40__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_41__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_42__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_43__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_44__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_45__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_46__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_47__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_48__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_49__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_25__", + "_id": "__FLD_50__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_40__", + "_id": "__REQ_551__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_552__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_553__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_554__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_555__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_556__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_557__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_558__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_559__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_560__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.hellcat-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_561__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_562__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_563__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_564__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_565__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_566__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_567__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_568__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_569__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_570__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_571__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_572__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_573__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_574__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_575__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_576__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_577__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_578__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_579__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_580__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_581__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_582__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_583__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_584__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_585__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_586__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_587__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_588__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_589__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_590__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_591__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.0/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_592__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_593__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_594__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_595__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_596__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_597__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_598__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_599__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_600__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_601__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_602__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_603__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_604__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_605__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_606__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_607__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_608__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_609__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_610__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_611__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_41__", + "_id": "__REQ_612__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_613__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_614__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-a-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_615__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.0/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_32__", + "_id": "__REQ_616__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/emojis/#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_617__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#get-the-current-announcement", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_618__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#set-the-current-announcement", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_619__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#clear-the-current-announcement", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_620__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_621__", + "_type": "request", + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_622__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_623__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_624__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_625__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_626__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_627__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_628__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_629__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_630__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_631__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_632__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_633__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_634__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_635__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_636__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_637__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_638__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_639__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_640__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_641__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_642__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_643__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_644__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_645__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_646__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_647__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_648__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_649__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_650__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_651__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_652__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_653__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_654__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_655__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_656__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_657__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_658__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_659__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_660__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_661__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_662__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_663__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_664__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_665__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_666__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_667__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_668__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_34__", + "_id": "__REQ_669__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_36__", + "_id": "__REQ_670__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_36__", + "_id": "__REQ_671__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_672__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_673__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_37__", + "_id": "__REQ_674__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_38__", + "_id": "__REQ_675__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_38__", + "_id": "__REQ_676__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_39__", + "_id": "__REQ_677__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_39__", + "_id": "__REQ_678__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_40__", + "_id": "__REQ_679__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/meta/#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_680__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_681__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_682__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_683__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_684__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_685__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_686__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_687__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_40__", + "_id": "__REQ_688__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_689__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_690__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_691__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_692__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_693__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_694__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_695__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_696__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_697__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_698__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_699__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_700__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_701__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_702__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_703__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_704__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_705__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_706__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_707__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_708__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_709__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_710__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_711__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_712__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_713__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_714__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_715__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_716__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_717__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_718__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_719__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_720__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_721__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_722__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_723__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_724__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_725__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_726__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_727__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_27__", + "_id": "__REQ_728__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_729__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_730__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_731__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_732__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_733__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_734__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_735__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_736__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_28__", + "_id": "__REQ_737__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_738__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_37__", + "_id": "__REQ_739__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_740__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_741__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_742__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_743__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_744__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_745__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_746__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_747__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_748__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_749__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_750__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_751__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_33__", + "_id": "__REQ_752__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_753__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_754__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_755__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_756__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_757__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_42__", + "_id": "__REQ_758__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_759__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_760__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_761__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_762__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_763__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_764__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_765__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_766__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_767__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_768__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_769__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_770__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_771__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_772__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_773__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_774__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_775__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_776__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_777__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_778__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_779__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_780__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_781__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_782__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_783__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_784__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_785__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_786__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_787__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_788__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_789__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_790__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_791__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_792__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_793__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_49__", + "_id": "__REQ_794__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_795__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_796__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_797__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_798__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_799__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_800__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_801__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_802__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_803__", + "_type": "request", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_804__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_805__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_806__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_807__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_808__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_809__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_810__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_811__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_812__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_43__", + "_id": "__REQ_813__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_45__", + "_id": "__REQ_814__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_46__", + "_id": "__REQ_815__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-reaction-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_816__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_817__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_818__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_819__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_820__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_821__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_822__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_823__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_824__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_825__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_826__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_827__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_828__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_829__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_830__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_831__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_832__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_833__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_834__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_835__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_836__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_837__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_838__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_839__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_840__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_841__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_842__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_843__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_844__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_845__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_846__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_847__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_848__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_849__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_850__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_851__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_852__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_853__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_854__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_37__", + "_id": "__REQ_855__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_37__", + "_id": "__REQ_856__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_857__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_858__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_859__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_860__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_861__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_862__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_863__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_864__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_865__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_866__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_867__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_868__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_869__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_870__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_871__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_872__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-potection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_873__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_874__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_875__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_876__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_877__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_878__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_879__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_880__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_881__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_882__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_883__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_884__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_885__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_886__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_887__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_888__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_889__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_890__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_47__", + "_id": "__REQ_891__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_892__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_893__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_894__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_895__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_896__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_897__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_898__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_899__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_900__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_30__", + "_id": "__REQ_901__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_30__", + "_id": "__REQ_902__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_30__", + "_id": "__REQ_903__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#upload-a-code-scanning-alert", + "headers": [], + "authentication": { + "t \ No newline at end of file diff --git a/routes/ghe-2.18.json b/routes/github.ae.json similarity index 53% rename from routes/ghe-2.18.json rename to routes/github.ae.json index a53213e..1efe39a 100644 --- a/routes/ghe-2.18.json +++ b/routes/github.ae.json @@ -1,22 +1,20 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.701Z", + "__export_date": "2021-02-18T02:52:38.277Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", "_id": "__FLD_75__", "_type": "request_group", - "name": "GitHub Enterprise REST API v3", + "name": "GitHub v3 REST API", "environment": { - "github_api_root": "http://{hostname}", + "github_api_root": "{protocol}://{hostname}", "access_token": "", "app_slug": "", - "archive_format": "", "asset_id": 0, "assignee": "", - "authorization_id": 0, "base": "", "branch": "", "build_id": 0, @@ -30,17 +28,12 @@ "comment_number": 0, "commit_sha": "", "content_reference_id": 0, - "current_name": "", "deployment_id": 0, "discussion_number": 0, - "download_id": 0, - "email": "", "event_id": 0, "file_sha": "", - "fingerprint": "", "gist_id": "", "gpg_key_id": 0, - "grant_id": 0, "head": "", "hook_id": 0, "installation_id": 0, @@ -49,7 +42,6 @@ "key": "", "key_id": 0, "key_ids": "", - "keyword": "", "license": "", "milestone_number": 0, "name": "", @@ -57,18 +49,16 @@ "owner": "", "path": "", "pre_receive_environment_id": 0, - "pre_receive_hook_id": 0, "project_id": 0, "pull_number": 0, "reaction_id": 0, "ref": "", "release_id": 0, "repo": "", - "repository": "", "repository_id": 0, + "request_id": "", "review_id": 0, "sha": "", - "state": "", "status_id": 0, "tag": "", "tag_sha": "", @@ -166,68 +156,78 @@ "parentId": "__FLD_75__", "_id": "__FLD_89__", "_type": "request_group", - "name": "oauth-authorizations" + "name": "orgs" }, { "parentId": "__FLD_75__", "_id": "__FLD_90__", "_type": "request_group", - "name": "orgs" + "name": "projects" }, { "parentId": "__FLD_75__", "_id": "__FLD_91__", "_type": "request_group", - "name": "projects" + "name": "pulls" }, { "parentId": "__FLD_75__", "_id": "__FLD_92__", "_type": "request_group", - "name": "pulls" + "name": "rate-limit" }, { "parentId": "__FLD_75__", "_id": "__FLD_93__", "_type": "request_group", - "name": "rate-limit" + "name": "reactions" }, { "parentId": "__FLD_75__", "_id": "__FLD_94__", "_type": "request_group", - "name": "reactions" + "name": "repos" }, { "parentId": "__FLD_75__", "_id": "__FLD_95__", "_type": "request_group", - "name": "repos" + "name": "search" }, { "parentId": "__FLD_75__", "_id": "__FLD_96__", "_type": "request_group", - "name": "search" + "name": "teams" }, { "parentId": "__FLD_75__", "_id": "__FLD_97__", "_type": "request_group", - "name": "teams" + "name": "users" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_98__", - "_type": "request_group", - "name": "users" + "parentId": "__FLD_88__", + "_id": "__REQ_1723__", + "_type": "request", + "name": "GitHub API Root", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1555__", + "_id": "__REQ_1724__", "_type": "request", - "name": "List global hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#list-global-hooks", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-global-webhooks", "headers": [ { "name": "Accept", @@ -256,10 +256,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1556__", + "_id": "__REQ_1725__", "_type": "request", - "name": "Create a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#create-a-global-hook", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-global-webhook", "headers": [ { "name": "Accept", @@ -277,10 +277,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1557__", + "_id": "__REQ_1726__", "_type": "request", - "name": "Get single global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#get-single-global-hook", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-global-webhook", "headers": [ { "name": "Accept", @@ -298,10 +298,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1558__", + "_id": "__REQ_1727__", "_type": "request", - "name": "Edit a global hook", - "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-global-webhook", "headers": [ { "name": "Accept", @@ -319,10 +319,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1559__", + "_id": "__REQ_1728__", "_type": "request", - "name": "Delete a global hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-global-webhook", "headers": [ { "name": "Accept", @@ -340,10 +340,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1560__", + "_id": "__REQ_1729__", "_type": "request", - "name": "Ping a global hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#ping-a-global-webhook", "headers": [ { "name": "Accept", @@ -361,95 +361,53 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1561__", + "_id": "__REQ_1730__", "_type": "request", - "name": "Delete a public key", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-public-key", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-public-keys", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1562__", - "_type": "request", - "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.18/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", - "headers": [ + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1563__", - "_type": "request", - "name": "Sync LDAP mapping for a team", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1564__", - "_type": "request", - "name": "Update LDAP mapping for a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", - "body": {}, - "parameters": [] + ] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1565__", + "_id": "__REQ_1731__", "_type": "request", - "name": "Sync LDAP mapping for a user", - "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1566__", + "_id": "__REQ_1732__", "_type": "request", "name": "Create an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/orgs/#create-an-organization", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -462,10 +420,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1567__", + "_id": "__REQ_1733__", "_type": "request", - "name": "Rename an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/orgs/#rename-an-organization", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-organization-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -478,11 +436,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1568__", + "_id": "__REQ_1734__", "_type": "request", "name": "List pre-receive environments", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", - "headers": [], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -505,11 +468,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1569__", + "_id": "__REQ_1735__", "_type": "request", "name": "Create a pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", - "headers": [], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -521,11 +489,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1570__", + "_id": "__REQ_1736__", "_type": "request", - "name": "Get a single pre-receive environment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", - "headers": [], + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -537,11 +510,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1571__", + "_id": "__REQ_1737__", "_type": "request", - "name": "Edit a pre-receive environment", - "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", - "headers": [], + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -553,11 +531,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1572__", + "_id": "__REQ_1738__", "_type": "request", "name": "Delete a pre-receive environment", - "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", - "headers": [], + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -569,11 +552,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1573__", + "_id": "__REQ_1739__", "_type": "request", - "name": "Trigger a pre-receive environment download", - "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", - "headers": [], + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -585,11 +573,16 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1574__", + "_id": "__REQ_1740__", "_type": "request", - "name": "Get a pre-receive environment's download status", - "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", - "headers": [], + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -597,34 +590,21 @@ "method": "GET", "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "downloaded_at", - "disabled": false - }, - { - "name": "message", - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1575__", + "_id": "__REQ_1741__", "_type": "request", - "name": "List pre-receive hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-personal-access-tokens", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "url": "{{ github_api_root }}/admin/tokens", "body": {}, "parameters": [ { @@ -641,719 +621,595 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_1576__", + "_id": "__REQ_1742__", "_type": "request", - "name": "Create a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-personal-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1577__", + "_id": "__REQ_1743__", "_type": "request", - "name": "Get a single pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1578__", + "_id": "__REQ_1744__", "_type": "request", - "name": "Edit a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", "body": {}, "parameters": [] }, { "parentId": "__FLD_81__", - "_id": "__REQ_1579__", + "_id": "__REQ_1745__", "_type": "request", - "name": "Delete a pre-receive hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1580__", + "parentId": "__FLD_77__", + "_id": "__REQ_1746__", "_type": "request", - "name": "List personal access tokens", - "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#list-personal-access-tokens", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/admin/tokens", + "url": "{{ github_api_root }}/app", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1581__", + "parentId": "__FLD_77__", + "_id": "__REQ_1747__", "_type": "request", - "name": "Delete a personal access token", - "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-personal-access-token", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/github-ae@latest/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1582__", + "parentId": "__FLD_77__", + "_id": "__REQ_1748__", "_type": "request", - "name": "Create a new user", - "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#create-a-new-user", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#get-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/admin/users", + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1583__", + "parentId": "__FLD_77__", + "_id": "__REQ_1749__", "_type": "request", - "name": "Rename an existing user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#rename-an-existing-user", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#update-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/admin/users/{{ username }}", + "url": "{{ github_api_root }}/app/hook/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1584__", + "parentId": "__FLD_77__", + "_id": "__REQ_1750__", "_type": "request", - "name": "Delete a user", - "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-user", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#list-installations-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/users/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/app/installations", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1585__", + "parentId": "__FLD_77__", + "_id": "__REQ_1751__", "_type": "request", - "name": "Create an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1586__", - "_type": "request", - "name": "Delete an impersonation OAuth token", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1587__", + "_id": "__REQ_1752__", "_type": "request", - "name": "Get the authenticated GitHub App", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.18/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-the-authenticated-github-app", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/github-ae@latest/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#delete-an-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/app", + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1588__", + "_id": "__REQ_1753__", "_type": "request", - "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.fury-preview+json" - } - ], + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-an-installation-access-token-for-an-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1589__", + "_id": "__REQ_1754__", "_type": "request", - "name": "List installations", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#list-installations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-authorization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/app/installations", + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1590__", + "_id": "__REQ_1755__", "_type": "request", - "name": "Get an installation", - "description": "You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub AE](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1591__", + "_id": "__REQ_1756__", "_type": "request", - "name": "Delete an installation", - "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" - } - ], + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-a-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1592__", + "_id": "__REQ_1757__", "_type": "request", - "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#create-a-new-installation-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-a-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1593__", + "parentId": "__FLD_77__", + "_id": "__REQ_1758__", "_type": "request", - "name": "List your grants", - "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-grants", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/applications/grants", + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1594__", + "parentId": "__FLD_77__", + "_id": "__REQ_1759__", "_type": "request", - "name": "Get a single grant", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-a-single-grant", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1595__", + "parentId": "__FLD_77__", + "_id": "__REQ_1760__", "_type": "request", - "name": "Delete a grant", - "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#delete-a-grant", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1596__", + "parentId": "__FLD_77__", + "_id": "__REQ_1761__", "_type": "request", - "name": "Revoke a grant for an application", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#revoke-a-grant-for-an-application", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-authorization-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1597__", + "parentId": "__FLD_77__", + "_id": "__REQ_1762__", "_type": "request", - "name": "Check an authorization", - "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#check-an-authorization", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1598__", + "parentId": "__FLD_79__", + "_id": "__REQ_1763__", "_type": "request", - "name": "Reset an authorization", - "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#reset-an-authorization", - "headers": [], + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1599__", + "parentId": "__FLD_79__", + "_id": "__REQ_1764__", "_type": "request", - "name": "Revoke an authorization for an application", - "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", - "headers": [], + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-a-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_77__", - "_id": "__REQ_1600__", + "_id": "__REQ_1765__", "_type": "request", - "name": "Get a single GitHub App", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-single-github-app", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/github-ae@latest/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#create-a-content-attachment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" + "value": "application/vnd.github.corsair-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1601__", + "parentId": "__FLD_80__", + "_id": "__REQ_1766__", "_type": "request", - "name": "List your authorizations", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-authorizations", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub AE.\n\nhttps://docs.github.com/github-ae@latest/v3/emojis/#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/authorizations", + "url": "{{ github_api_root }}/emojis", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1602__", + "parentId": "__FLD_81__", + "_id": "__REQ_1767__", "_type": "request", - "name": "Create a new authorization", - "description": "Creates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization", + "name": "Get the global announcement banner", + "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#get-the-current-announcement", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/authorizations", + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1603__", + "parentId": "__FLD_81__", + "_id": "__REQ_1768__", "_type": "request", - "name": "Get-or-create an authorization for a specific app", - "description": "Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "name": "Set the global announcement banner", + "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#set-the-current-announcement", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1604__", + "parentId": "__FLD_81__", + "_id": "__REQ_1769__", "_type": "request", - "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "name": "Remove the global announcement banner", + "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#clear-the-current-announcement", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1605__", + "parentId": "__FLD_81__", + "_id": "__REQ_1770__", "_type": "request", - "name": "Get a single authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-a-single-authorization", + "name": "Get an encryption key", + "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nGets information about the current key used for encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/#encryption-at-rest#get-encryption-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "url": "{{ github_api_root }}/enterprise/encryption", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1606__", + "parentId": "__FLD_81__", + "_id": "__REQ_1771__", "_type": "request", - "name": "Update an existing authorization", - "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#update-an-existing-authorization", + "name": "Update an encryption key", + "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nUpdates the current encryption at rest key with a new private key.\n\nYou can add a new encryption key as often as you need. When you add a new key, the old key is discarded.\n\nYour enterprise won't experience downtime when you update the key, because the key vault that GitHub manages uses the \"envelope\" technique. For more information, see [Encryption and decryption via the envelope technique](https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side-encryption#encryption-and-decryption-via-the-envelope-technique) in the Azure documentation.\n\nYour 2048 bit RSA private key should be in PEM format. For more information, see \"[Configuring data encryption for your enterprise](/admin/configuration/configuring-data-encryption-for-your-enterprise#adding-or-updating-an-encryption-key).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#update-encryption-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "url": "{{ github_api_root }}/enterprise/encryption", "body": {}, "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1607__", + "parentId": "__FLD_81__", + "_id": "__REQ_1772__", "_type": "request", - "name": "Delete an authorization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#delete-an-authorization", + "name": "Disable encryption at rest", + "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nMarks your encryption key as disabled and disables encryption at rest. This will freeze your enterprise. For example, you can use this operation to freeze your enterprise in case of a breach. Note: This operation does not delete the key permanently.\n\nIt takes approximately ten minutes to disable encryption at rest. To check the status, use the \"[Get an encryption status](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-an-encryption-status)\" REST API.\n\nTo unfreeze your enterprise after you've disabled encryption at rest, you must contact Support. For more information, see \"[Receiving enterprise support](/admin/enterprise-support/receiving-help-from-github-support).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#delete-encryption-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "url": "{{ github_api_root }}/enterprise/encryption", "body": {}, "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1608__", + "parentId": "__FLD_81__", + "_id": "__REQ_1773__", "_type": "request", - "name": "List all codes of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#list-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Get an encryption status", + "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nChecks the status of updating an encryption key or disabling encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-#get-encryption-status", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct", + "url": "{{ github_api_root }}/enterprise/encryption/status/{{ request_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1609__", + "parentId": "__FLD_81__", + "_id": "__REQ_1774__", "_type": "request", - "name": "Get an individual code of conduct", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#get-an-individual-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-license-information", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1610__", + "parentId": "__FLD_81__", + "_id": "__REQ_1775__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-statistics", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_80__", - "_id": "__REQ_1611__", + "parentId": "__FLD_76__", + "_id": "__REQ_1776__", "_type": "request", - "name": "Get", - "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/emojis/#emojis", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1612__", - "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/license/#get-license-information", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1613__", - "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/admin_stats/#get-statistics", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_76__", - "_id": "__REQ_1614__", - "_type": "request", - "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/events", + "url": "{{ github_api_root }}/events", "body": {}, "parameters": [ { @@ -1370,10 +1226,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1615__", + "_id": "__REQ_1777__", "_type": "request", - "name": "List feeds", - "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.18/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.18/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/feeds/#list-feeds", + "name": "Get feeds", + "description": "GitHub AE provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub AE global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub AE.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-feeds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1386,10 +1242,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1616__", + "_id": "__REQ_1778__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1417,10 +1273,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1617__", + "_id": "__REQ_1779__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1433,10 +1289,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1618__", + "_id": "__REQ_1780__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.18/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1464,10 +1320,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1619__", + "_id": "__REQ_1781__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1495,10 +1351,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1620__", + "_id": "__REQ_1782__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1511,10 +1367,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1621__", + "_id": "__REQ_1783__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1527,10 +1383,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1622__", + "_id": "__REQ_1784__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1543,10 +1399,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1623__", + "_id": "__REQ_1785__", "_type": "request", - "name": "List comments on a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#list-comments-on-a-gist", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-comments", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1570,10 +1426,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1624__", + "_id": "__REQ_1786__", "_type": "request", - "name": "Create a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#create-a-comment", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#create-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1586,10 +1442,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1625__", + "_id": "__REQ_1787__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#get-a-single-comment", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1602,10 +1458,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1626__", + "_id": "__REQ_1788__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#edit-a-comment", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#update-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1618,10 +1474,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1627__", + "_id": "__REQ_1789__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#delete-a-comment", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#delete-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1634,10 +1490,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1628__", + "_id": "__REQ_1790__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1661,26 +1517,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1629__", - "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#fork-a-gist", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_82__", - "_id": "__REQ_1630__", + "_id": "__REQ_1791__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1704,58 +1544,74 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_1631__", + "_id": "__REQ_1792__", "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#star-a-gist", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_82__", + "_id": "__REQ_1793__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_82__", - "_id": "__REQ_1632__", + "_id": "__REQ_1794__", "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#unstar-a-gist", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_82__", - "_id": "__REQ_1633__", + "_id": "__REQ_1795__", "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#check-if-a-gist-is-starred", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "DELETE", "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { "parentId": "__FLD_82__", - "_id": "__REQ_1634__", + "_id": "__REQ_1796__", "_type": "request", - "name": "Get a specific revision of a gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#get-a-specific-revision-of-a-gist", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1768,10 +1624,10 @@ }, { "parentId": "__FLD_84__", - "_id": "__REQ_1635__", + "_id": "__REQ_1797__", "_type": "request", - "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.18/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.18/v3/gitignore/#listing-available-templates", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1784,10 +1640,10 @@ }, { "parentId": "__FLD_84__", - "_id": "__REQ_1636__", + "_id": "__REQ_1798__", "_type": "request", - "name": "Get a single template", - "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.18/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/gitignore/#get-a-single-template", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1800,14 +1656,14 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_1637__", + "_id": "__REQ_1799__", "_type": "request", - "name": "List repositories", - "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-app-installation", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + "value": "application/vnd.github.mercy-preview+json" } ], "authentication": { @@ -1831,16 +1687,37 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1638__", + "parentId": "__FLD_77__", + "_id": "__REQ_1800__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/github-ae@latest/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-installation-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_85__", + "_id": "__REQ_1801__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", "url": "{{ github_api_root }}/issues", "body": {}, @@ -1874,133 +1751,65 @@ "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "collab", "disabled": false }, { - "name": "page", - "value": 1, + "name": "orgs", "disabled": false - } - ] - }, - { - "parentId": "__FLD_96__", - "_id": "__REQ_1639__", - "_type": "request", - "name": "Search issues", - "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-issues", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_96__", - "_id": "__REQ_1640__", - "_type": "request", - "name": "Search repositories", - "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-repositories", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", - "body": {}, - "parameters": [ + }, { - "name": "language", + "name": "owned", "disabled": false }, { - "name": "start_page", + "name": "pulls", "disabled": false }, { - "name": "sort", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "order", + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1641__", - "_type": "request", - "name": "Email search", - "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#email-search", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_96__", - "_id": "__REQ_1642__", + "parentId": "__FLD_86__", + "_id": "__REQ_1802__", "_type": "request", - "name": "Search users", - "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-users", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", + "url": "{{ github_api_root }}/licenses", "body": {}, "parameters": [ { - "name": "start_page", - "disabled": false - }, - { - "name": "sort", + "name": "featured", "disabled": false }, { - "name": "order", + "name": "per_page", + "value": 30, "disabled": false } ] }, { "parentId": "__FLD_86__", - "_id": "__REQ_1643__", - "_type": "request", - "name": "List commonly used licenses", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#list-commonly-used-licenses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/licenses", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_86__", - "_id": "__REQ_1644__", + "_id": "__REQ_1803__", "_type": "request", - "name": "Get an individual license", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#get-an-individual-license", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2013,10 +1822,10 @@ }, { "parentId": "__FLD_87__", - "_id": "__REQ_1645__", + "_id": "__REQ_1804__", "_type": "request", - "name": "Render an arbitrary Markdown document", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/markdown/#render-an-arbitrary-markdown-document", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2029,10 +1838,10 @@ }, { "parentId": "__FLD_87__", - "_id": "__REQ_1646__", + "_id": "__REQ_1805__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2045,10 +1854,10 @@ }, { "parentId": "__FLD_88__", - "_id": "__REQ_1647__", + "_id": "__REQ_1806__", "_type": "request", - "name": "Get", - "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.18/v3/meta/#meta", + "name": "Get GitHub AE meta information", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/github-ae@latest/v3/meta/#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2061,10 +1870,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1648__", + "_id": "__REQ_1807__", "_type": "request", "name": "List public events for a network of repositories", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-for-a-network-of-repositories", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-network-of-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2088,10 +1897,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1649__", + "_id": "__REQ_1808__", "_type": "request", - "name": "List your notifications", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2133,10 +1942,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1650__", + "_id": "__REQ_1809__", "_type": "request", - "name": "Mark as read", - "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-as-read", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2149,10 +1958,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1651__", + "_id": "__REQ_1810__", "_type": "request", - "name": "View a single thread", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#view-a-single-thread", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2165,10 +1974,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1652__", + "_id": "__REQ_1811__", "_type": "request", "name": "Mark a thread as read", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-a-thread-as-read", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-a-thread-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2181,10 +1990,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1653__", + "_id": "__REQ_1812__", "_type": "request", - "name": "Get a thread subscription", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.18/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#get-a-thread-subscription", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2197,10 +2006,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1654__", + "_id": "__REQ_1813__", "_type": "request", "name": "Set a thread subscription", - "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#set-a-thread-subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2213,10 +2022,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1655__", + "_id": "__REQ_1814__", "_type": "request", "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#delete-a-thread-subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2228,11 +2037,32 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1656__", + "parentId": "__FLD_88__", + "_id": "__REQ_1815__", + "_type": "request", + "name": "Get Octocat", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_89__", + "_id": "__REQ_1816__", "_type": "request", - "name": "List all organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-all-organizations", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub AE.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2250,20 +2080,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1657__", + "parentId": "__FLD_89__", + "_id": "__REQ_1817__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub AE plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub AE plan information' below.\"\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#get-an-organization", "headers": [ { "name": "Accept", @@ -2280,11 +2105,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1658__", + "parentId": "__FLD_89__", + "_id": "__REQ_1818__", "_type": "request", - "name": "Edit an organization", - "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#edit-an-organization", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub AE will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2302,10 +2127,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1659__", + "_id": "__REQ_1819__", "_type": "request", - "name": "List public events for an organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-for-an-organization", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-organization-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2328,11 +2153,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1660__", + "parentId": "__FLD_89__", + "_id": "__REQ_1820__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#list-hooks", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2355,11 +2180,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1661__", + "parentId": "__FLD_89__", + "_id": "__REQ_1821__", "_type": "request", - "name": "Create a hook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#create-a-hook", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#create-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2371,11 +2196,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1662__", + "parentId": "__FLD_89__", + "_id": "__REQ_1822__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#get-single-hook", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2387,11 +2212,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1663__", - "_type": "request", - "name": "Edit a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#edit-a-hook", + "parentId": "__FLD_89__", + "_id": "__REQ_1823__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2403,11 +2228,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1664__", + "parentId": "__FLD_89__", + "_id": "__REQ_1824__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#delete-a-hook", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#delete-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2419,11 +2244,43 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1665__", + "parentId": "__FLD_89__", + "_id": "__REQ_1825__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_89__", + "_id": "__REQ_1826__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_89__", + "_id": "__REQ_1827__", "_type": "request", - "name": "Ping a hook", - "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#ping-a-hook", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#ping-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2436,16 +2293,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_1666__", + "_id": "__REQ_1828__", "_type": "request", - "name": "Get an organization installation", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2456,17 +2308,49 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1667__", + "parentId": "__FLD_89__", + "_id": "__REQ_1829__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-app-installations-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_85__", + "_id": "__REQ_1830__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/issues", "body": {}, "parameters": [ @@ -2511,11 +2395,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1668__", + "parentId": "__FLD_89__", + "_id": "__REQ_1831__", "_type": "request", - "name": "Members list", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#members-list", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2548,11 +2432,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1669__", + "parentId": "__FLD_89__", + "_id": "__REQ_1832__", "_type": "request", - "name": "Check membership", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#check-membership", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2564,11 +2448,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1670__", + "parentId": "__FLD_89__", + "_id": "__REQ_1833__", "_type": "request", - "name": "Remove a member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#remove-a-member", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-an-organization-member", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2580,11 +2464,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1671__", + "parentId": "__FLD_89__", + "_id": "__REQ_1834__", "_type": "request", - "name": "Get organization membership", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#get-organization-membership", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2596,11 +2480,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1672__", + "parentId": "__FLD_89__", + "_id": "__REQ_1835__", "_type": "request", - "name": "Add or update organization membership", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#add-or-update-organization-membership", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2612,11 +2496,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1673__", + "parentId": "__FLD_89__", + "_id": "__REQ_1836__", "_type": "request", - "name": "Remove organization membership", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#remove-organization-membership", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2628,11 +2512,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1674__", + "parentId": "__FLD_89__", + "_id": "__REQ_1837__", "_type": "request", - "name": "List outside collaborators", - "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#list-outside-collaborators", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-outside-collaborators-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2660,50 +2544,108 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1675__", + "parentId": "__FLD_89__", + "_id": "__REQ_1838__", "_type": "request", - "name": "Remove outside collaborator", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#remove-outside-collaborator", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1676__", + "parentId": "__FLD_89__", + "_id": "__REQ_1839__", "_type": "request", - "name": "Convert member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-outside-collaborator-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1677__", + "parentId": "__FLD_90__", + "_id": "__REQ_1840__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_90__", + "_id": "__REQ_1841__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_89__", + "_id": "__REQ_1842__", "_type": "request", - "name": "List pre-receive hooks for organization", - "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-public-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", "body": {}, "parameters": [ { @@ -2719,63 +2661,63 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1678__", + "parentId": "__FLD_89__", + "_id": "__REQ_1843__", "_type": "request", - "name": "Get a single pre-receive hook for organization", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-public-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1679__", + "parentId": "__FLD_89__", + "_id": "__REQ_1844__", "_type": "request", - "name": "Update pre-receive hook enforcement for organization", - "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1680__", + "parentId": "__FLD_89__", + "_id": "__REQ_1845__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for organization", - "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1681__", + "parentId": "__FLD_94__", + "_id": "__REQ_1846__", "_type": "request", - "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\ns\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-organization-projects", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-organization-repositories", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -2783,12 +2725,20 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [ { - "name": "state", - "value": "open", + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", "disabled": false }, { @@ -2804,41 +2754,525 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1682__", + "parentId": "__FLD_94__", + "_id": "__REQ_1847__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1848__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1849__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1850__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub AE generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1851__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1852__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1853__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1854__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1855__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1856__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1857__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1858__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1859__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1860__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1861__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1862__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1863__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1864__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1865__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1866__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1867__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1868__", "_type": "request", - "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-an-organization-project", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-reaction", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1683__", + "parentId": "__FLD_96__", + "_id": "__REQ_1869__", "_type": "request", - "name": "Public members list", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#public-members-list", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", "body": {}, "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -2852,63 +3286,63 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1684__", + "parentId": "__FLD_96__", + "_id": "__REQ_1870__", "_type": "request", - "name": "Check public membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#check-public-membership", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1685__", + "parentId": "__FLD_96__", + "_id": "__REQ_1871__", "_type": "request", - "name": "Publicize a user's membership", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#publicize-a-users-membership", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1686__", + "parentId": "__FLD_96__", + "_id": "__REQ_1872__", "_type": "request", - "name": "Conceal a user's membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#conceal-a-users-membership", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1687__", + "parentId": "__FLD_96__", + "_id": "__REQ_1873__", "_type": "request", - "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-organization-repositories", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -2916,23 +3350,9 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", "body": {}, "parameters": [ - { - "name": "type", - "value": "all", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -2946,44 +3366,76 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1688__", + "parentId": "__FLD_96__", + "_id": "__REQ_1874__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1689__", + "parentId": "__FLD_96__", + "_id": "__REQ_1875__", "_type": "request", - "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-teams", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1876__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1877__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", "body": {}, "parameters": [ { @@ -2999,48 +3451,86 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1690__", + "parentId": "__FLD_96__", + "_id": "__REQ_1878__", "_type": "request", - "name": "Create team", - "description": "To create a team, the authenticated user must be a member or owner of `:org`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#create-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1691__", + "parentId": "__FLD_96__", + "_id": "__REQ_1879__", "_type": "request", - "name": "Get team by name", - "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#get-team-by-name", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1692__", + "parentId": "__FLD_96__", + "_id": "__REQ_1880__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_96__", + "_id": "__REQ_1881__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_90__", + "_id": "__REQ_1882__", "_type": "request", "name": "Get a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#get-a-project-card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-card", "headers": [ { "name": "Accept", @@ -3057,11 +3547,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1693__", + "parentId": "__FLD_90__", + "_id": "__REQ_1883__", "_type": "request", - "name": "Update a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#update-a-project-card", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-card", "headers": [ { "name": "Accept", @@ -3078,11 +3568,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1694__", + "parentId": "__FLD_90__", + "_id": "__REQ_1884__", "_type": "request", "name": "Delete a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#delete-a-project-card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-card", "headers": [ { "name": "Accept", @@ -3099,11 +3589,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1695__", + "parentId": "__FLD_90__", + "_id": "__REQ_1885__", "_type": "request", "name": "Move a project card", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#move-a-project-card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-card", "headers": [ { "name": "Accept", @@ -3120,11 +3610,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1696__", + "parentId": "__FLD_90__", + "_id": "__REQ_1886__", "_type": "request", "name": "Get a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#get-a-project-column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-column", "headers": [ { "name": "Accept", @@ -3141,11 +3631,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1697__", + "parentId": "__FLD_90__", + "_id": "__REQ_1887__", "_type": "request", - "name": "Update a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#update-a-project-column", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-column", "headers": [ { "name": "Accept", @@ -3162,11 +3652,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1698__", + "parentId": "__FLD_90__", + "_id": "__REQ_1888__", "_type": "request", "name": "Delete a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#delete-a-project-column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-column", "headers": [ { "name": "Accept", @@ -3183,11 +3673,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1699__", + "parentId": "__FLD_90__", + "_id": "__REQ_1889__", "_type": "request", "name": "List project cards", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#list-project-cards", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-cards", "headers": [ { "name": "Accept", @@ -3220,11 +3710,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1700__", + "parentId": "__FLD_90__", + "_id": "__REQ_1890__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#create-a-project-card", + "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3241,11 +3731,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1701__", + "parentId": "__FLD_90__", + "_id": "__REQ_1891__", "_type": "request", "name": "Move a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#move-a-project-column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-column", "headers": [ { "name": "Accept", @@ -3262,11 +3752,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1702__", + "parentId": "__FLD_90__", + "_id": "__REQ_1892__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#get-a-project", "headers": [ { "name": "Accept", @@ -3280,25 +3770,14 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1703__", + "parentId": "__FLD_90__", + "_id": "__REQ_1893__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#update-a-project", "headers": [ { "name": "Accept", @@ -3315,11 +3794,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1704__", + "parentId": "__FLD_90__", + "_id": "__REQ_1894__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#delete-a-project", "headers": [ { "name": "Accept", @@ -3336,11 +3815,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1705__", + "parentId": "__FLD_90__", + "_id": "__REQ_1895__", "_type": "request", - "name": "List collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#list-collaborators", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-collaborators", "headers": [ { "name": "Accept", @@ -3373,11 +3852,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1706__", + "parentId": "__FLD_90__", + "_id": "__REQ_1896__", "_type": "request", - "name": "Add user as a collaborator", - "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#add-user-as-a-collaborator", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#add-project-collaborator", "headers": [ { "name": "Accept", @@ -3394,11 +3873,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1707__", + "parentId": "__FLD_90__", + "_id": "__REQ_1897__", "_type": "request", "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#remove-user-as-a-collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#remove-project-collaborator", "headers": [ { "name": "Accept", @@ -3415,11 +3894,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1708__", + "parentId": "__FLD_90__", + "_id": "__REQ_1898__", "_type": "request", - "name": "Review a user's permission level", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#review-a-users-permission-level", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-project-permission-for-a-user", "headers": [ { "name": "Accept", @@ -3436,11 +3915,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1709__", + "parentId": "__FLD_90__", + "_id": "__REQ_1899__", "_type": "request", "name": "List project columns", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#list-project-columns", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-columns", "headers": [ { "name": "Accept", @@ -3468,11 +3947,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1710__", + "parentId": "__FLD_90__", + "_id": "__REQ_1900__", "_type": "request", "name": "Create a project column", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#create-a-project-column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-column", "headers": [ { "name": "Accept", @@ -3489,11 +3968,11 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1711__", + "parentId": "__FLD_92__", + "_id": "__REQ_1901__", "_type": "request", - "name": "Get your current rate limit status", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.18/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.18/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.18/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.18/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.18/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.18/v3/rate_limit/#get-your-current-rate-limit-status", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/github-ae@latest/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3505,15 +3984,15 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1712__", + "parentId": "__FLD_93__", + "_id": "__REQ_1902__", "_type": "request", - "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#delete-a-reaction", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-reaction-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -3526,12 +4005,17 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1713__", + "parentId": "__FLD_94__", + "_id": "__REQ_1903__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3542,15 +4026,15 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1714__", + "parentId": "__FLD_94__", + "_id": "__REQ_1904__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.18/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.x-ray-preview+json,application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -3563,11 +4047,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1715__", + "parentId": "__FLD_94__", + "_id": "__REQ_1905__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3580,10 +4064,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1716__", + "_id": "__REQ_1906__", "_type": "request", "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#list-assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3607,10 +4091,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1717__", + "_id": "__REQ_1907__", "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#check-assignee", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#check-if-a-user-can-be-assigned", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3622,11 +4106,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1718__", + "parentId": "__FLD_94__", + "_id": "__REQ_1908__", "_type": "request", "name": "List branches", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-branches", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3653,11 +4137,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1719__", + "parentId": "__FLD_94__", + "_id": "__REQ_1909__", "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-branch", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3669,11 +4153,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1720__", + "parentId": "__FLD_94__", + "_id": "__REQ_1910__", "_type": "request", "name": "Get branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-branch-protection", "headers": [ { "name": "Accept", @@ -3690,11 +4174,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1721__", + "parentId": "__FLD_94__", + "_id": "__REQ_1911__", "_type": "request", "name": "Update branch protection", - "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-branch-protection", "headers": [ { "name": "Accept", @@ -3711,11 +4195,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1722__", + "parentId": "__FLD_94__", + "_id": "__REQ_1912__", "_type": "request", - "name": "Remove branch protection", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-branch-protection", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3727,11 +4211,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1723__", + "parentId": "__FLD_94__", + "_id": "__REQ_1913__", "_type": "request", - "name": "Get admin enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-admin-enforcement-of-protected-branch", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3743,11 +4227,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1724__", + "parentId": "__FLD_94__", + "_id": "__REQ_1914__", "_type": "request", - "name": "Add admin enforcement of protected branch", - "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-admin-enforcement-of-protected-branch", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3759,11 +4243,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1725__", + "parentId": "__FLD_94__", + "_id": "__REQ_1915__", "_type": "request", - "name": "Remove admin enforcement of protected branch", - "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3775,11 +4259,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1726__", + "parentId": "__FLD_94__", + "_id": "__REQ_1916__", "_type": "request", - "name": "Get pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3796,11 +4280,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1727__", + "parentId": "__FLD_94__", + "_id": "__REQ_1917__", "_type": "request", - "name": "Update pull request review enforcement of protected branch", - "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -3817,11 +4301,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1728__", + "parentId": "__FLD_94__", + "_id": "__REQ_1918__", "_type": "request", - "name": "Remove pull request review enforcement of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-pull-request-review-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3833,11 +4317,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1729__", + "parentId": "__FLD_94__", + "_id": "__REQ_1919__", "_type": "request", - "name": "Get required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-required-signatures-of-protected-branch", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3854,11 +4338,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1730__", + "parentId": "__FLD_94__", + "_id": "__REQ_1920__", "_type": "request", - "name": "Add required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-required-signatures-of-protected-branch", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3875,11 +4359,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1731__", + "parentId": "__FLD_94__", + "_id": "__REQ_1921__", "_type": "request", - "name": "Remove required signatures of protected branch", - "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-signatures-of-protected-branch", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-commit-signature-protection", "headers": [ { "name": "Accept", @@ -3896,11 +4380,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1732__", + "parentId": "__FLD_94__", + "_id": "__REQ_1922__", "_type": "request", - "name": "Get required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-required-status-checks-of-protected-branch", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3912,11 +4396,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1733__", + "parentId": "__FLD_94__", + "_id": "__REQ_1923__", "_type": "request", - "name": "Update required status checks of protected branch", - "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-required-status-checks-of-protected-branch", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-potection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3928,11 +4412,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1734__", + "parentId": "__FLD_94__", + "_id": "__REQ_1924__", "_type": "request", - "name": "Remove required status checks of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-status-checks-of-protected-branch", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3944,11 +4428,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1735__", + "parentId": "__FLD_94__", + "_id": "__REQ_1925__", "_type": "request", - "name": "List required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3960,43 +4444,43 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1736__", + "parentId": "__FLD_94__", + "_id": "__REQ_1926__", "_type": "request", - "name": "Replace required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1737__", + "parentId": "__FLD_94__", + "_id": "__REQ_1927__", "_type": "request", - "name": "Add required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1738__", + "parentId": "__FLD_94__", + "_id": "__REQ_1928__", "_type": "request", - "name": "Remove required status checks contexts of protected branch", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4008,11 +4492,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1739__", + "parentId": "__FLD_94__", + "_id": "__REQ_1929__", "_type": "request", - "name": "Get restrictions of protected branch", - "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-restrictions-of-protected-branch", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4024,11 +4508,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1740__", + "parentId": "__FLD_94__", + "_id": "__REQ_1930__", "_type": "request", - "name": "Remove restrictions of protected branch", - "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-restrictions-of-protected-branch", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4040,59 +4524,92 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1741__", + "parentId": "__FLD_94__", + "_id": "__REQ_1931__", "_type": "request", - "name": "Get teams with access to protected branch", - "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-teams-with-access-to-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1742__", + "parentId": "__FLD_94__", + "_id": "__REQ_1932__", "_type": "request", - "name": "Replace team restrictions of protected branch", - "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1933__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-app-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1934__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1935__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1743__", + "parentId": "__FLD_94__", + "_id": "__REQ_1936__", "_type": "request", - "name": "Add team restrictions of protected branch", - "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4103,17 +4620,28 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1744__", + "parentId": "__FLD_94__", + "_id": "__REQ_1937__", "_type": "request", - "name": "Remove team restrictions of protected branch", - "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-team-restrictions-of-protected-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1938__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-team-access-restrictions", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4124,11 +4652,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1745__", + "parentId": "__FLD_94__", + "_id": "__REQ_1939__", "_type": "request", - "name": "Get users with access to protected branch", - "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-users-with-access-to-protected-branch", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-users-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4140,43 +4668,43 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1746__", + "parentId": "__FLD_94__", + "_id": "__REQ_1940__", "_type": "request", - "name": "Replace user restrictions of protected branch", - "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-user-restrictions-of-protected-branch", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1747__", + "parentId": "__FLD_94__", + "_id": "__REQ_1941__", "_type": "request", - "name": "Add user restrictions of protected branch", - "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-user-restrictions-of-protected-branch", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1748__", + "parentId": "__FLD_94__", + "_id": "__REQ_1942__", "_type": "request", - "name": "Remove user restrictions of protected branch", - "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-user-restrictions-of-protected-branch", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4187,18 +4715,29 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1943__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github-ae@latest/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, { "parentId": "__FLD_78__", - "_id": "__REQ_1749__", + "_id": "__REQ_1944__", "_type": "request", "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#create-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4210,58 +4749,43 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1750__", + "_id": "__REQ_1945__", "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#update-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_78__", - "_id": "__REQ_1751__", + "_id": "__REQ_1946__", "_type": "request", - "name": "Get a single check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#get-a-single-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-a-check-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_78__", - "_id": "__REQ_1752__", + "_id": "__REQ_1947__", "_type": "request", - "name": "List annotations for a check run", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-annotations-for-a-check-run", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-run-annotations", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4284,16 +4808,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1753__", + "_id": "__REQ_1948__", "_type": "request", "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.18/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.18/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#create-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/github-ae@latest/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4305,16 +4824,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1754__", + "_id": "__REQ_1949__", "_type": "request", - "name": "Set preferences for check suites on a repository", - "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.18/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4326,16 +4840,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1755__", + "_id": "__REQ_1950__", "_type": "request", - "name": "Get a single check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#get-a-single-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4347,16 +4856,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1756__", + "_id": "__REQ_1951__", "_type": "request", "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-check-runs-in-a-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4392,16 +4896,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1757__", + "_id": "__REQ_1952__", "_type": "request", - "name": "Rerequest check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#rerequest-check-suite", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#rerequest-a-check-suite", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4412,17 +4911,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1758__", + "parentId": "__FLD_94__", + "_id": "__REQ_1953__", "_type": "request", - "name": "List collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#list-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-collaborators", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4449,17 +4943,12 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1759__", + "parentId": "__FLD_94__", + "_id": "__REQ_1954__", "_type": "request", - "name": "Check if a user is a collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4470,11 +4959,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1760__", + "parentId": "__FLD_94__", + "_id": "__REQ_1955__", "_type": "request", - "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#add-user-as-a-collaborator", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/github-ae@latest/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4486,11 +4975,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1761__", + "parentId": "__FLD_94__", + "_id": "__REQ_1956__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#remove-user-as-a-collaborator", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4502,11 +4991,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1762__", + "parentId": "__FLD_94__", + "_id": "__REQ_1957__", "_type": "request", - "name": "Review a user's permission level", - "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#review-a-users-permission-level", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-permissions-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4518,12 +5007,17 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1763__", + "parentId": "__FLD_94__", + "_id": "__REQ_1958__", "_type": "request", "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.18/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.18/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#list-commit-comments-for-a-repository", - "headers": [], + "description": "Commit Comments use [these custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/github-ae@latest/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4545,12 +5039,17 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1764__", + "parentId": "__FLD_94__", + "_id": "__REQ_1959__", "_type": "request", - "name": "Get a single commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#get-a-single-commit-comment", - "headers": [], + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4561,11 +5060,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1765__", + "parentId": "__FLD_94__", + "_id": "__REQ_1960__", "_type": "request", "name": "Update a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#update-a-commit-comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4577,11 +5076,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1766__", + "parentId": "__FLD_94__", + "_id": "__REQ_1961__", "_type": "request", "name": "Delete a commit comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#delete-a-commit-comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4593,11 +5092,11 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1767__", + "parentId": "__FLD_93__", + "_id": "__REQ_1962__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.18/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4629,11 +5128,11 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1768__", + "parentId": "__FLD_93__", + "_id": "__REQ_1963__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.18/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4650,11 +5149,32 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1769__", + "parentId": "__FLD_93__", + "_id": "__REQ_1964__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_1965__", "_type": "request", - "name": "List commits on a repository", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4697,11 +5217,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1770__", + "parentId": "__FLD_94__", + "_id": "__REQ_1966__", "_type": "request", "name": "List branches for HEAD commit", - "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-branches-for-head-commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches-for-head-commit", "headers": [ { "name": "Accept", @@ -4718,12 +5238,17 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1771__", + "parentId": "__FLD_94__", + "_id": "__REQ_1967__", "_type": "request", - "name": "List comments for a single commit", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#list-comments-for-a-single-commit", - "headers": [], + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4745,11 +5270,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1772__", + "parentId": "__FLD_94__", + "_id": "__REQ_1968__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4761,11 +5286,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1773__", + "parentId": "__FLD_94__", + "_id": "__REQ_1969__", "_type": "request", - "name": "List pull requests associated with commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-pull-requests-associated-with-commit", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4793,11 +5318,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1774__", + "parentId": "__FLD_94__", + "_id": "__REQ_1970__", "_type": "request", - "name": "Get a single commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#get-a-single-commit", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4810,16 +5335,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1775__", + "_id": "__REQ_1971__", "_type": "request", - "name": "List check runs for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-check-runs-for-a-specific-ref", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4855,16 +5375,11 @@ }, { "parentId": "__FLD_78__", - "_id": "__REQ_1776__", + "_id": "__REQ_1972__", "_type": "request", - "name": "List check suites for a specific ref", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#list-check-suites-for-a-specific-ref", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.antiope-preview+json" - } - ], + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4894,11 +5409,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1777__", + "parentId": "__FLD_94__", + "_id": "__REQ_1973__", "_type": "request", - "name": "Get the combined status for a specific ref", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.18/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4910,11 +5425,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1778__", + "parentId": "__FLD_94__", + "_id": "__REQ_1974__", "_type": "request", - "name": "List statuses for a specific ref", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#list-statuses-for-a-specific-ref", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-statuses-for-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4938,10 +5453,10 @@ }, { "parentId": "__FLD_79__", - "_id": "__REQ_1779__", + "_id": "__REQ_1975__", "_type": "request", - "name": "Get the contents of a repository's code of conduct", - "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", "headers": [ { "name": "Accept", @@ -4958,11 +5473,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1780__", + "parentId": "__FLD_94__", + "_id": "__REQ_1976__", "_type": "request", "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#compare-two-commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#compare-two-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4974,11 +5489,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1781__", + "parentId": "__FLD_94__", + "_id": "__REQ_1977__", "_type": "request", - "name": "Get contents", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.18/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.18/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.18/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-contents", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/github-ae@latest/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4995,11 +5510,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1782__", + "parentId": "__FLD_94__", + "_id": "__REQ_1978__", "_type": "request", - "name": "Create or update a file", - "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#create-or-update-a-file", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-or-update-file-contents", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5011,11 +5526,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1783__", + "parentId": "__FLD_94__", + "_id": "__REQ_1979__", "_type": "request", "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#delete-a-file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-file", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5027,11 +5542,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1784__", + "parentId": "__FLD_94__", + "_id": "__REQ_1980__", "_type": "request", - "name": "List contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-contributors", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5058,11 +5573,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1785__", + "parentId": "__FLD_94__", + "_id": "__REQ_1981__", "_type": "request", "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#list-deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployments", "headers": [ { "name": "Accept", @@ -5110,11 +5625,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1786__", + "parentId": "__FLD_94__", + "_id": "__REQ_1982__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.18/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub AE we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/github-ae@latest/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment", "headers": [ { "name": "Accept", @@ -5131,11 +5646,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1787__", + "parentId": "__FLD_94__", + "_id": "__REQ_1983__", "_type": "request", - "name": "Get a single deployment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#get-a-single-deployment", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", @@ -5152,64 +5667,27 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1788__", - "_type": "request", - "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1789__", + "parentId": "__FLD_94__", + "_id": "__REQ_1984__", "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/github-ae@latest/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deployment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1790__", + "parentId": "__FLD_94__", + "_id": "__REQ_1985__", "_type": "request", - "name": "Get a single deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#get-a-single-deployment-status", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployment-statuses", "headers": [ { "name": "Accept", @@ -5221,23 +5699,7 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1791__", - "_type": "request", - "name": "List downloads for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#list-downloads-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [ { @@ -5253,43 +5715,53 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1792__", + "parentId": "__FLD_94__", + "_id": "__REQ_1986__", "_type": "request", - "name": "Get a single download", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#get-a-single-download", - "headers": [], + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1793__", + "parentId": "__FLD_94__", + "_id": "__REQ_1987__", "_type": "request", - "name": "Delete a download", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#delete-a-download", - "headers": [], + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_76__", - "_id": "__REQ_1794__", + "_id": "__REQ_1988__", "_type": "request", "name": "List repository events", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-repository-events", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-events", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5312,11 +5784,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1795__", + "parentId": "__FLD_94__", + "_id": "__REQ_1989__", "_type": "request", "name": "List forks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/forks/#list-forks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5344,11 +5816,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1796__", + "parentId": "__FLD_94__", + "_id": "__REQ_1990__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/forks/#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub AE Support](https://support.github.com/contact) or [GitHub AE Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5361,10 +5833,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1797__", + "_id": "__REQ_1991__", "_type": "request", "name": "Create a blob", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/git/blobs/#create-a-blob", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5377,10 +5849,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1798__", + "_id": "__REQ_1992__", "_type": "request", "name": "Get a blob", - "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/blobs/#get-a-blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-blob", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5393,10 +5865,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1799__", + "_id": "__REQ_1993__", "_type": "request", "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/commits/#create-a-commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5409,10 +5881,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1800__", + "_id": "__REQ_1994__", "_type": "request", "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/commits/#get-a-commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5425,42 +5897,69 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1801__", + "_id": "__REQ_1995__", "_type": "request", - "name": "Create a reference", - "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#list-matching-references", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { "parentId": "__FLD_83__", - "_id": "__REQ_1802__", + "_id": "__REQ_1996__", "_type": "request", "name": "Get a reference", - "description": "Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/enterprise/2.18/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#get-a-reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_83__", - "_id": "__REQ_1803__", + "_id": "__REQ_1997__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_83__", + "_id": "__REQ_1998__", "_type": "request", "name": "Update a reference", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#update-a-reference", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5473,10 +5972,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1804__", + "_id": "__REQ_1999__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5489,10 +5988,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1805__", + "_id": "__REQ_2000__", "_type": "request", "name": "Create a tag object", - "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/tags/#create-a-tag-object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tag-object", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5505,10 +6004,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1806__", + "_id": "__REQ_2001__", "_type": "request", "name": "Get a tag", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/tags/#get-a-tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tag", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5521,10 +6020,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1807__", + "_id": "__REQ_2002__", "_type": "request", "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.18/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.18/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/git/trees/#create-a-tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5537,10 +6036,10 @@ }, { "parentId": "__FLD_83__", - "_id": "__REQ_1808__", + "_id": "__REQ_2003__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5557,11 +6056,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1809__", + "parentId": "__FLD_94__", + "_id": "__REQ_2004__", "_type": "request", - "name": "List hooks", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#list-hooks", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5584,11 +6083,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1810__", + "parentId": "__FLD_94__", + "_id": "__REQ_2005__", "_type": "request", - "name": "Create a hook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#create-a-hook", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5600,11 +6099,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1811__", + "parentId": "__FLD_94__", + "_id": "__REQ_2006__", "_type": "request", - "name": "Get single hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#get-single-hook", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5616,11 +6115,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1812__", + "parentId": "__FLD_94__", + "_id": "__REQ_2007__", "_type": "request", - "name": "Edit a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#edit-a-hook", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5632,11 +6131,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1813__", + "parentId": "__FLD_94__", + "_id": "__REQ_2008__", "_type": "request", - "name": "Delete a hook", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#delete-a-hook", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5648,11 +6147,43 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1814__", + "parentId": "__FLD_94__", + "_id": "__REQ_2009__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2010__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2011__", "_type": "request", - "name": "Ping a hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#ping-a-hook", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5664,11 +6195,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1815__", + "parentId": "__FLD_94__", + "_id": "__REQ_2012__", "_type": "request", - "name": "Test a push hook", - "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#test-a-push-hook", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5681,16 +6212,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_1816__", + "_id": "__REQ_2013__", "_type": "request", - "name": "Get a repository installation", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5701,11 +6227,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1817__", + "parentId": "__FLD_94__", + "_id": "__REQ_2014__", "_type": "request", - "name": "List invitations for a repository", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#list-invitations-for-a-repository", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5728,44 +6254,49 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1818__", + "parentId": "__FLD_94__", + "_id": "__REQ_2015__", "_type": "request", - "name": "Delete a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#delete-a-repository-invitation", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1819__", + "parentId": "__FLD_94__", + "_id": "__REQ_2016__", "_type": "request", - "name": "Update a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#update-a-repository-invitation", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_85__", - "_id": "__REQ_1820__", + "_id": "__REQ_2017__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues-for-a-repository", - "headers": [], + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5827,10 +6358,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1821__", + "_id": "__REQ_2018__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5843,11 +6374,16 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1822__", + "_id": "__REQ_2019__", "_type": "request", - "name": "List comments in a repository", - "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5868,16 +6404,31 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { "parentId": "__FLD_85__", - "_id": "__REQ_1823__", + "_id": "__REQ_2020__", "_type": "request", - "name": "Get a single comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#get-a-single-comment", - "headers": [], + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5885,25 +6436,14 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { "parentId": "__FLD_85__", - "_id": "__REQ_1824__", + "_id": "__REQ_2021__", "_type": "request", - "name": "Edit a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#edit-a-comment", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5916,10 +6456,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1825__", + "_id": "__REQ_2022__", "_type": "request", - "name": "Delete a comment", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#delete-a-comment", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5931,11 +6471,11 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1826__", + "parentId": "__FLD_93__", + "_id": "__REQ_2023__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.18/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5967,11 +6507,11 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1827__", + "parentId": "__FLD_93__", + "_id": "__REQ_2024__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.18/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5987,16 +6527,37 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2025__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, { "parentId": "__FLD_85__", - "_id": "__REQ_1828__", + "_id": "__REQ_2026__", "_type": "request", - "name": "List events for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#list-events-for-a-repository", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events-for-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.starfox-preview+json" } ], "authentication": { @@ -6021,14 +6582,14 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1829__", + "_id": "__REQ_2027__", "_type": "request", - "name": "Get a single event", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#get-a-single-event", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-event", "headers": [ { "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.starfox-preview+json" } ], "authentication": { @@ -6042,11 +6603,16 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1830__", + "_id": "__REQ_2028__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.18/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#get-a-single-issue", - "headers": [], + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6058,10 +6624,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1831__", + "_id": "__REQ_2029__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6074,10 +6640,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1832__", + "_id": "__REQ_2030__", "_type": "request", "name": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#add-assignees-to-an-issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-assignees-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6090,10 +6656,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1833__", + "_id": "__REQ_2031__", "_type": "request", "name": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#remove-assignees-from-an-issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6106,11 +6672,16 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1834__", + "_id": "__REQ_2032__", "_type": "request", - "name": "List comments on an issue", - "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#list-comments-on-an-issue", - "headers": [], + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6137,10 +6708,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1835__", + "_id": "__REQ_2033__", "_type": "request", - "name": "Create a comment", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#create-a-comment", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6153,14 +6724,14 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1836__", + "_id": "__REQ_2034__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#list-events-for-an-issue", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events", "headers": [ { "name": "Accept", - "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.starfox-preview+json" } ], "authentication": { @@ -6185,10 +6756,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1837__", + "_id": "__REQ_2035__", "_type": "request", - "name": "List labels on an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#list-labels-on-an-issue", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6212,10 +6783,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1838__", + "_id": "__REQ_2036__", "_type": "request", "name": "Add labels to an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#add-labels-to-an-issue", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-labels-to-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6228,10 +6799,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1839__", + "_id": "__REQ_2037__", "_type": "request", - "name": "Replace all labels for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#replace-all-labels-for-an-issue", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#set-labels-for-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6244,10 +6815,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1840__", + "_id": "__REQ_2038__", "_type": "request", "name": "Remove all labels from an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#remove-all-labels-from-an-issue", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-all-labels-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6260,10 +6831,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1841__", + "_id": "__REQ_2039__", "_type": "request", "name": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#remove-a-label-from-an-issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-a-label-from-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6276,16 +6847,11 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1842__", + "_id": "__REQ_2040__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#lock-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.sailor-v-preview+json" - } - ], + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#lock-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6297,10 +6863,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1843__", + "_id": "__REQ_2041__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6312,11 +6878,11 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1844__", + "parentId": "__FLD_93__", + "_id": "__REQ_2042__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.18/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6348,11 +6914,11 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1845__", + "parentId": "__FLD_93__", + "_id": "__REQ_2043__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.18/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6368,12 +6934,33 @@ "body": {}, "parameters": [] }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2044__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, { "parentId": "__FLD_85__", - "_id": "__REQ_1846__", + "_id": "__REQ_2045__", "_type": "request", - "name": "List events for an issue", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/timeline/#list-events-for-an-issue", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", @@ -6401,11 +6988,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1847__", + "parentId": "__FLD_94__", + "_id": "__REQ_2046__", "_type": "request", "name": "List deploy keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#list-deploy-keys", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deploy-keys", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6428,11 +7015,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1848__", + "parentId": "__FLD_94__", + "_id": "__REQ_2047__", "_type": "request", - "name": "Add a new deploy key", - "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#add-a-new-deploy-key", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6444,11 +7031,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1849__", + "parentId": "__FLD_94__", + "_id": "__REQ_2048__", "_type": "request", "name": "Get a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#get-a-deploy-key", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6460,11 +7047,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1850__", + "parentId": "__FLD_94__", + "_id": "__REQ_2049__", "_type": "request", - "name": "Remove a deploy key", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#remove-a-deploy-key", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deploy-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6477,10 +7064,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1851__", + "_id": "__REQ_2050__", "_type": "request", - "name": "List all labels for this repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#list-all-labels-for-this-repository", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6504,10 +7091,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1852__", + "_id": "__REQ_2051__", "_type": "request", "name": "Create a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#create-a-label", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6520,42 +7107,42 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1853__", + "_id": "__REQ_2052__", "_type": "request", - "name": "Update a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#update-a-label", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ current_name }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_85__", - "_id": "__REQ_1854__", + "_id": "__REQ_2053__", "_type": "request", - "name": "Get a single label", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#get-a-single-label", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", + "method": "PATCH", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_85__", - "_id": "__REQ_1855__", + "_id": "__REQ_2054__", "_type": "request", "name": "Delete a label", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#delete-a-label", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-label", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6567,11 +7154,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1856__", + "parentId": "__FLD_94__", + "_id": "__REQ_2055__", "_type": "request", - "name": "List languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-languages", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6584,10 +7171,10 @@ }, { "parentId": "__FLD_86__", - "_id": "__REQ_1857__", + "_id": "__REQ_2056__", "_type": "request", - "name": "Get the contents of a repository's license", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.18/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#get-the-contents-of-a-repositorys-license", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/github-ae@latest/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6599,11 +7186,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1858__", + "parentId": "__FLD_94__", + "_id": "__REQ_2057__", "_type": "request", - "name": "Perform a merge", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/merging/#perform-a-merge", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#merge-a-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6616,10 +7203,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1859__", + "_id": "__REQ_2058__", "_type": "request", - "name": "List milestones for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#list-milestones-for-a-repository", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-milestones", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6658,10 +7245,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1860__", + "_id": "__REQ_2059__", "_type": "request", "name": "Create a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#create-a-milestone", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6674,10 +7261,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1861__", + "_id": "__REQ_2060__", "_type": "request", - "name": "Get a single milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#get-a-single-milestone", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6690,10 +7277,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1862__", + "_id": "__REQ_2061__", "_type": "request", "name": "Update a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#update-a-milestone", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6706,10 +7293,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1863__", + "_id": "__REQ_2062__", "_type": "request", "name": "Delete a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#delete-a-milestone", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6722,10 +7309,10 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_1864__", + "_id": "__REQ_2063__", "_type": "request", - "name": "Get labels for every issue in a milestone", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-issues-in-a-milestone", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6749,10 +7336,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1865__", + "_id": "__REQ_2064__", "_type": "request", - "name": "List your notifications in a repository", - "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications-in-a-repository", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6794,10 +7381,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1866__", + "_id": "__REQ_2065__", "_type": "request", - "name": "Mark notifications as read in a repository", - "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-repository-notifications-as-read", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6809,17 +7396,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1867__", + "parentId": "__FLD_94__", + "_id": "__REQ_2066__", "_type": "request", - "name": "Get information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], + "name": "Get a GitHub AE Pages site", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6830,32 +7412,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1868__", - "_type": "request", - "name": "Enable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#enable-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json,application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1869__", + "parentId": "__FLD_94__", + "_id": "__REQ_2067__", "_type": "request", - "name": "Disable a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#disable-a-pages-site", + "name": "Create a GitHub AE Pages site", + "description": "Configures a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-github-pages-site", "headers": [ { "name": "Accept", @@ -6866,23 +7427,18 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "POST", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1870__", + "parentId": "__FLD_94__", + "_id": "__REQ_2068__", "_type": "request", - "name": "Update information about a Pages site", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#update-information-about-a-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], + "name": "Update information about a GitHub AE Pages site", + "description": "Updates information for a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6893,98 +7449,39 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1871__", + "parentId": "__FLD_94__", + "_id": "__REQ_2069__", "_type": "request", - "name": "Request a page build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#request-a-page-build", + "name": "Delete a GitHub AE Pages site", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-github-pages-site", "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mister-fantastic-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1872__", - "_type": "request", - "name": "List Pages builds", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#list-pages-builds", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1873__", - "_type": "request", - "name": "Get latest Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-latest-pages-build", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_1874__", - "_type": "request", - "name": "Get a specific Pages build", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-a-specific-pages-build", - "headers": [], + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1875__", + "parentId": "__FLD_94__", + "_id": "__REQ_2070__", "_type": "request", - "name": "List pre-receive hooks for repository", - "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", + "name": "List GitHub AE Pages builds", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", "body": {}, "parameters": [ { @@ -7000,59 +7497,59 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1876__", + "parentId": "__FLD_94__", + "_id": "__REQ_2071__", "_type": "request", - "name": "Get a single pre-receive hook for repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", + "name": "Request a GitHub AE Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#request-a-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1877__", + "parentId": "__FLD_94__", + "_id": "__REQ_2072__", "_type": "request", - "name": "Update pre-receive hook enforcement for repository", - "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1878__", + "parentId": "__FLD_94__", + "_id": "__REQ_2073__", "_type": "request", - "name": "Remove enforcement overrides for a pre-receive hook for repository", - "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", + "name": "Get GitHub AE Pages build", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1879__", + "parentId": "__FLD_90__", + "_id": "__REQ_2074__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-repository-projects", "headers": [ { "name": "Accept", @@ -7085,11 +7582,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1880__", + "parentId": "__FLD_90__", + "_id": "__REQ_2075__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7106,17 +7603,12 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1881__", + "parentId": "__FLD_91__", + "_id": "__REQ_2076__", "_type": "request", "name": "List pull requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7160,17 +7652,12 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1882__", + "parentId": "__FLD_91__", + "_id": "__REQ_2077__", "_type": "request", "name": "Create a pull request", - "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#create-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#create-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7181,12 +7668,17 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1883__", + "parentId": "__FLD_91__", + "_id": "__REQ_2078__", "_type": "request", - "name": "List comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#list-comments-in-a-repository", - "headers": [], + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7221,12 +7713,17 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1884__", + "parentId": "__FLD_91__", + "_id": "__REQ_2079__", "_type": "request", - "name": "Get a single comment", - "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#get-a-single-comment", - "headers": [], + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7237,12 +7734,17 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1885__", + "parentId": "__FLD_91__", + "_id": "__REQ_2080__", "_type": "request", - "name": "Edit a comment", - "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#edit-a-comment", - "headers": [], + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7253,11 +7755,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1886__", + "parentId": "__FLD_91__", + "_id": "__REQ_2081__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#delete-a-comment", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7269,11 +7771,11 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1887__", + "parentId": "__FLD_93__", + "_id": "__REQ_2082__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.18/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7305,11 +7807,11 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1888__", + "parentId": "__FLD_93__", + "_id": "__REQ_2083__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.18/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7326,38 +7828,49 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1889__", + "parentId": "__FLD_93__", + "_id": "__REQ_2084__", "_type": "request", - "name": "Get a single pull request", - "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.18/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.18/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#get-a-single-pull-request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-pull-request-comment-reaction", "headers": [ { "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2085__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/github-ae@latest/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-pull-request) a pull request, GitHub AE creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub AE has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1890__", + "parentId": "__FLD_91__", + "_id": "__REQ_2086__", "_type": "request", "name": "Update a pull request", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" - } - ], + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7368,12 +7881,17 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1891__", + "parentId": "__FLD_91__", + "_id": "__REQ_2087__", "_type": "request", - "name": "List comments on a pull request", - "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#list-comments-on-a-pull-request", - "headers": [], + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7408,12 +7926,17 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1892__", + "parentId": "__FLD_91__", + "_id": "__REQ_2088__", "_type": "request", - "name": "Create a comment", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.18/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#create-a-comment", - "headers": [], + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7424,11 +7947,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1893__", + "parentId": "__FLD_91__", + "_id": "__REQ_2089__", "_type": "request", - "name": "Create a review comment reply", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#create-a-review-comment-reply", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7440,11 +7963,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1894__", + "parentId": "__FLD_91__", + "_id": "__REQ_2090__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7467,11 +7990,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1895__", + "parentId": "__FLD_91__", + "_id": "__REQ_2091__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7494,11 +8017,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1896__", + "parentId": "__FLD_91__", + "_id": "__REQ_2092__", "_type": "request", - "name": "Get if a pull request has been merged", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#get-if-a-pull-request-has-been-merged", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7510,11 +8033,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1897__", + "parentId": "__FLD_91__", + "_id": "__REQ_2093__", "_type": "request", - "name": "Merge a pull request (Merge Button)", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#merge-a-pull-request-merge-button", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7526,11 +8049,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1898__", + "parentId": "__FLD_91__", + "_id": "__REQ_2094__", "_type": "request", - "name": "List review requests", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#list-review-requests", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7553,11 +8076,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1899__", + "parentId": "__FLD_91__", + "_id": "__REQ_2095__", "_type": "request", - "name": "Create a review request", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#create-a-review-request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7569,11 +8092,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1900__", + "parentId": "__FLD_91__", + "_id": "__REQ_2096__", "_type": "request", - "name": "Delete a review request", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#delete-a-review-request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7585,11 +8108,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1901__", + "parentId": "__FLD_91__", + "_id": "__REQ_2097__", "_type": "request", - "name": "List reviews on a pull request", - "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#list-reviews-on-a-pull-request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-reviews-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7612,11 +8135,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1902__", + "parentId": "__FLD_91__", + "_id": "__REQ_2098__", "_type": "request", - "name": "Create a pull request review", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.18/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#create-a-pull-request-review", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7628,11 +8151,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1903__", + "parentId": "__FLD_91__", + "_id": "__REQ_2099__", "_type": "request", - "name": "Get a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#get-a-single-review", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7644,43 +8167,43 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1904__", + "parentId": "__FLD_91__", + "_id": "__REQ_2100__", "_type": "request", - "name": "Delete a pending review", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#delete-a-pending-review", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", + "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1905__", + "parentId": "__FLD_91__", + "_id": "__REQ_2101__", "_type": "request", - "name": "Update a pull request review", - "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#update-a-pull-request-review", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", + "method": "DELETE", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1906__", + "parentId": "__FLD_91__", + "_id": "__REQ_2102__", "_type": "request", - "name": "Get comments for a single review", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#get-comments-for-a-single-review", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-comments-for-a-pull-request-review", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7703,11 +8226,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1907__", + "parentId": "__FLD_91__", + "_id": "__REQ_2103__", "_type": "request", - "name": "Dismiss a pull request review", - "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.18/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#dismiss-a-pull-request-review", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/github-ae@latest/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#dismiss-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7719,11 +8242,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1908__", + "parentId": "__FLD_91__", + "_id": "__REQ_2104__", "_type": "request", - "name": "Submit a pull request review", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#submit-a-pull-request-review", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#submit-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7735,11 +8258,11 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1909__", + "parentId": "__FLD_91__", + "_id": "__REQ_2105__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -7756,11 +8279,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1910__", + "parentId": "__FLD_94__", + "_id": "__REQ_2106__", "_type": "request", - "name": "Get the README", - "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-the-readme", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-readme", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7777,11 +8300,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1911__", + "parentId": "__FLD_94__", + "_id": "__REQ_2107__", "_type": "request", - "name": "List releases for a repository", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.18/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#list-releases-for-a-repository", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-releases", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7804,11 +8327,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1912__", + "parentId": "__FLD_94__", + "_id": "__REQ_2108__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7820,11 +8343,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1913__", + "parentId": "__FLD_94__", + "_id": "__REQ_2109__", "_type": "request", - "name": "Get a single release asset", - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.18/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.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-single-release-asset", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/github-ae@latest/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7836,11 +8359,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1914__", + "parentId": "__FLD_94__", + "_id": "__REQ_2110__", "_type": "request", - "name": "Edit a release asset", - "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#edit-a-release-asset", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7852,11 +8375,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1915__", + "parentId": "__FLD_94__", + "_id": "__REQ_2111__", "_type": "request", "name": "Delete a release asset", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#delete-a-release-asset", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7868,11 +8391,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1916__", + "parentId": "__FLD_94__", + "_id": "__REQ_2112__", "_type": "request", "name": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-the-latest-release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-latest-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7884,11 +8407,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1917__", + "parentId": "__FLD_94__", + "_id": "__REQ_2113__", "_type": "request", "name": "Get a release by tag name", - "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-release-by-tag-name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-by-tag-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7900,11 +8423,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1918__", + "parentId": "__FLD_94__", + "_id": "__REQ_2114__", "_type": "request", - "name": "Get a single release", - "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/enterprise/2.18/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-single-release", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7916,11 +8439,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1919__", + "parentId": "__FLD_94__", + "_id": "__REQ_2115__", "_type": "request", - "name": "Edit a release", - "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#edit-a-release", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7932,11 +8455,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1920__", + "parentId": "__FLD_94__", + "_id": "__REQ_2116__", "_type": "request", "name": "Delete a release", - "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#delete-a-release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7948,11 +8471,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1921__", + "parentId": "__FLD_94__", + "_id": "__REQ_2117__", "_type": "request", - "name": "List assets for a release", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#list-assets-for-a-release", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-release-assets", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7974,12 +8497,37 @@ } ] }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2118__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub AE expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub AE renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/github-ae@latest/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub AE Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, { "parentId": "__FLD_76__", - "_id": "__REQ_1922__", + "_id": "__REQ_2119__", "_type": "request", - "name": "List Stargazers", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-stargazers", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-stargazers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8002,11 +8550,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1923__", + "parentId": "__FLD_94__", + "_id": "__REQ_2120__", "_type": "request", - "name": "Get the number of additions and deletions per week", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8018,11 +8566,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1924__", + "parentId": "__FLD_94__", + "_id": "__REQ_2121__", "_type": "request", - "name": "Get the last year of commit activity data", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8034,11 +8582,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1925__", + "parentId": "__FLD_94__", + "_id": "__REQ_2122__", "_type": "request", - "name": "Get contributors list with additions, deletions, and commit counts", - "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8050,11 +8598,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1926__", + "parentId": "__FLD_94__", + "_id": "__REQ_2123__", "_type": "request", - "name": "Get the weekly commit count for the repository owner and everyone else", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8066,11 +8614,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1927__", + "parentId": "__FLD_94__", + "_id": "__REQ_2124__", "_type": "request", - "name": "Get the number of commits per hour in each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-hourly-commit-count-for-each-day", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8082,11 +8630,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1928__", + "parentId": "__FLD_94__", + "_id": "__REQ_2125__", "_type": "request", - "name": "Create a status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#create-a-status", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8099,10 +8647,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1929__", + "_id": "__REQ_2126__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8126,10 +8674,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1930__", + "_id": "__REQ_2127__", "_type": "request", - "name": "Get a Repository Subscription", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#get-a-repository-subscription", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8142,10 +8690,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1931__", + "_id": "__REQ_2128__", "_type": "request", - "name": "Set a Repository Subscription", - "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.18/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#set-a-repository-subscription", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8158,10 +8706,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_1932__", + "_id": "__REQ_2129__", "_type": "request", - "name": "Delete a Repository Subscription", - "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.18/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#delete-a-repository-subscription", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8173,11 +8721,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1933__", + "parentId": "__FLD_94__", + "_id": "__REQ_2130__", "_type": "request", - "name": "List tags", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-tags", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8200,11 +8748,27 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1934__", + "parentId": "__FLD_94__", + "_id": "__REQ_2131__", "_type": "request", - "name": "List teams", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-teams", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2132__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8227,11 +8791,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1935__", + "parentId": "__FLD_94__", + "_id": "__REQ_2133__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8248,11 +8812,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1936__", + "parentId": "__FLD_94__", + "_id": "__REQ_2134__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8269,17 +8833,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1937__", + "parentId": "__FLD_94__", + "_id": "__REQ_2135__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#transfer-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nightshade-preview+json" - } - ], + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#transfer-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8290,11 +8849,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1938__", + "parentId": "__FLD_94__", + "_id": "__REQ_2136__", "_type": "request", "name": "Enable vulnerability alerts", - "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#enable-vulnerability-alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#enable-vulnerability-alerts", "headers": [ { "name": "Accept", @@ -8311,11 +8870,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1939__", + "parentId": "__FLD_94__", + "_id": "__REQ_2137__", "_type": "request", "name": "Disable vulnerability alerts", - "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#disable-vulnerability-alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#disable-vulnerability-alerts", "headers": [ { "name": "Accept", @@ -8332,27 +8891,27 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1940__", + "parentId": "__FLD_94__", + "_id": "__REQ_2138__", "_type": "request", - "name": "Get archive link", - "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-archive-link", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1941__", + "parentId": "__FLD_94__", + "_id": "__REQ_2139__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/enterprise/2.18/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create-repository-using-a-repository-template", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8369,11 +8928,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1942__", + "parentId": "__FLD_94__", + "_id": "__REQ_2140__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8386,30 +8945,15 @@ { "name": "since", "disabled": false - }, - { - "name": "visibility", - "value": "public", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1943__", + "parentId": "__FLD_95__", + "_id": "__REQ_2141__", "_type": "request", "name": "Search code", - "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8445,11 +8989,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1944__", + "parentId": "__FLD_95__", + "_id": "__REQ_2142__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-commits", "headers": [ { "name": "Accept", @@ -8490,11 +9034,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1945__", + "parentId": "__FLD_95__", + "_id": "__REQ_2143__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8530,11 +9074,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1946__", + "parentId": "__FLD_95__", + "_id": "__REQ_2144__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8564,11 +9108,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1947__", + "parentId": "__FLD_95__", + "_id": "__REQ_2145__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-repositories", "headers": [ { "name": "Accept", @@ -8609,11 +9153,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1948__", + "parentId": "__FLD_95__", + "_id": "__REQ_2146__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-topics", "headers": [ { "name": "Accept", @@ -8635,11 +9179,11 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1949__", + "parentId": "__FLD_95__", + "_id": "__REQ_2147__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8670,214 +9214,17 @@ { "name": "page", "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1950__", - "_type": "request", - "name": "Check configuration status", - "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#check-configuration-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/configcheck", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1951__", - "_type": "request", - "name": "Start a configuration process", - "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#start-a-configuration-process", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/configure", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1952__", - "_type": "request", - "name": "Check maintenance status", - "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#check-maintenance-status", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/maintenance", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1953__", - "_type": "request", - "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/maintenance", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1954__", - "_type": "request", - "name": "Retrieve settings", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/settings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1955__", - "_type": "request", - "name": "Modify settings", - "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#modify-settings", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/setup/api/settings", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1956__", - "_type": "request", - "name": "Retrieve authorized SSH keys", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1957__", - "_type": "request", - "name": "Add a new authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1958__", - "_type": "request", - "name": "Remove an authorized SSH key", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1959__", - "_type": "request", - "name": "Upload a license for the first time", - "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/start", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1960__", - "_type": "request", - "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#upgrade-a-license", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/setup/api/upgrade", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_1961__", - "_type": "request", - "name": "Queue an indexing job", - "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/staff/indexing_jobs", - "body": {}, - "parameters": [] + "disabled": false + } + ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1962__", + "parentId": "__FLD_96__", + "_id": "__REQ_2148__", "_type": "request", - "name": "Get team", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#get-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8888,17 +9235,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1963__", + "parentId": "__FLD_96__", + "_id": "__REQ_2149__", "_type": "request", - "name": "Edit team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#edit-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8909,17 +9251,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1964__", + "parentId": "__FLD_96__", + "_id": "__REQ_2150__", "_type": "request", - "name": "Delete team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#delete-team", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8930,15 +9267,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1965__", + "parentId": "__FLD_96__", + "_id": "__REQ_2151__", "_type": "request", - "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#list-discussions", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8967,15 +9304,15 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1966__", + "parentId": "__FLD_96__", + "_id": "__REQ_2152__", "_type": "request", - "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#create-a-discussion", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8988,15 +9325,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1967__", + "parentId": "__FLD_96__", + "_id": "__REQ_2153__", "_type": "request", - "name": "Get a single discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#get-a-single-discussion", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9009,15 +9346,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1968__", + "parentId": "__FLD_96__", + "_id": "__REQ_2154__", "_type": "request", - "name": "Edit a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#edit-a-discussion", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9030,17 +9367,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1969__", + "parentId": "__FLD_96__", + "_id": "__REQ_2155__", "_type": "request", - "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#delete-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9051,15 +9383,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1970__", + "parentId": "__FLD_96__", + "_id": "__REQ_2156__", "_type": "request", - "name": "List comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#list-comments", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9088,15 +9420,15 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1971__", + "parentId": "__FLD_96__", + "_id": "__REQ_2157__", "_type": "request", - "name": "Create a comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#create-a-comment", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9109,15 +9441,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1972__", + "parentId": "__FLD_96__", + "_id": "__REQ_2158__", "_type": "request", - "name": "Get a single comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#get-a-single-comment", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9130,15 +9462,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1973__", + "parentId": "__FLD_96__", + "_id": "__REQ_2159__", "_type": "request", - "name": "Edit a comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#edit-a-comment", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9151,17 +9483,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1974__", + "parentId": "__FLD_96__", + "_id": "__REQ_2160__", "_type": "request", - "name": "Delete a comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#delete-a-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.echo-preview+json" - } - ], + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9172,15 +9499,15 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1975__", + "parentId": "__FLD_93__", + "_id": "__REQ_2161__", "_type": "request", - "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9208,15 +9535,15 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1976__", + "parentId": "__FLD_93__", + "_id": "__REQ_2162__", "_type": "request", - "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9229,15 +9556,15 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1977__", + "parentId": "__FLD_93__", + "_id": "__REQ_2163__", "_type": "request", - "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-team-discussion", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9265,15 +9592,15 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1978__", + "parentId": "__FLD_93__", + "_id": "__REQ_2164__", "_type": "request", - "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-team-discussion", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -9286,17 +9613,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1979__", + "parentId": "__FLD_96__", + "_id": "__REQ_2165__", "_type": "request", - "name": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#list-team-members", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9323,11 +9645,11 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1980__", + "parentId": "__FLD_96__", + "_id": "__REQ_2166__", "_type": "request", "name": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-member-legacy", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9339,11 +9661,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1981__", + "parentId": "__FLD_96__", + "_id": "__REQ_2167__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that 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/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9355,11 +9677,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1982__", + "parentId": "__FLD_96__", + "_id": "__REQ_2168__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9371,17 +9693,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1983__", + "parentId": "__FLD_96__", + "_id": "__REQ_2169__", "_type": "request", - "name": "Get team membership", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.18/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-membership", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9392,11 +9709,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1984__", + "parentId": "__FLD_96__", + "_id": "__REQ_2170__", "_type": "request", - "name": "Add or update team membership", - "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#add-or-update-team-membership", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9408,11 +9725,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1985__", + "parentId": "__FLD_96__", + "_id": "__REQ_2171__", "_type": "request", - "name": "Remove team membership", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-membership", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9424,15 +9741,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1986__", + "parentId": "__FLD_96__", + "_id": "__REQ_2172__", "_type": "request", - "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-team-projects", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -9456,15 +9773,15 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1987__", + "parentId": "__FLD_96__", + "_id": "__REQ_2173__", "_type": "request", - "name": "Review a team project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#review-a-team-project", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -9477,15 +9794,15 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1988__", + "parentId": "__FLD_96__", + "_id": "__REQ_2174__", "_type": "request", - "name": "Add or update team project", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#add-or-update-team-project", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions-legacy", "headers": [ { "name": "Accept", - "value": "application/vnd.github.inertia-preview+json,application/vnd.github.hellcat-preview+json" + "value": "application/vnd.github.inertia-preview+json" } ], "authentication": { @@ -9498,11 +9815,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1989__", + "parentId": "__FLD_96__", + "_id": "__REQ_2175__", "_type": "request", - "name": "Remove team project", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#remove-team-project", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9514,17 +9831,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1990__", + "parentId": "__FLD_96__", + "_id": "__REQ_2176__", "_type": "request", - "name": "List team repos", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-team-repos", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9546,17 +9858,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1991__", + "parentId": "__FLD_96__", + "_id": "__REQ_2177__", "_type": "request", - "name": "Check if a team manages a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#check-if-a-team-manages-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9567,17 +9874,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1992__", + "parentId": "__FLD_96__", + "_id": "__REQ_2178__", "_type": "request", - "name": "Add or update team repository", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#add-or-update-team-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9588,11 +9890,11 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1993__", + "parentId": "__FLD_96__", + "_id": "__REQ_2179__", "_type": "request", - "name": "Remove team repository", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#remove-team-repository", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9604,17 +9906,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1994__", + "parentId": "__FLD_96__", + "_id": "__REQ_2180__", "_type": "request", - "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-child-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9636,11 +9933,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1995__", + "parentId": "__FLD_97__", + "_id": "__REQ_2181__", "_type": "request", "name": "Get the authenticated user", - "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9652,11 +9949,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1996__", + "parentId": "__FLD_97__", + "_id": "__REQ_2182__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9668,70 +9965,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1997__", - "_type": "request", - "name": "List email addresses for a user", - "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#list-email-addresses-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_98__", - "_id": "__REQ_1998__", - "_type": "request", - "name": "Add email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#add-email-addresses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_98__", - "_id": "__REQ_1999__", - "_type": "request", - "name": "Delete email address(es)", - "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#delete-email-addresses", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/emails", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_98__", - "_id": "__REQ_2000__", + "parentId": "__FLD_97__", + "_id": "__REQ_2183__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9754,11 +9992,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2001__", + "parentId": "__FLD_97__", + "_id": "__REQ_2184__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-the-authenticated-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9781,11 +10019,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2002__", + "parentId": "__FLD_97__", + "_id": "__REQ_2185__", "_type": "request", - "name": "Check if you are following a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#check-if-you-are-following-a-user", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9797,11 +10035,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2003__", + "parentId": "__FLD_97__", + "_id": "__REQ_2186__", "_type": "request", "name": "Follow a user", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#follow-a-user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#follow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9813,11 +10051,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2004__", + "parentId": "__FLD_97__", + "_id": "__REQ_2187__", "_type": "request", "name": "Unfollow a user", - "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#unfollow-a-user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#unfollow-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9829,11 +10067,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2005__", + "parentId": "__FLD_97__", + "_id": "__REQ_2188__", "_type": "request", - "name": "List your GPG keys", - "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#list-your-gpg-keys", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9856,11 +10094,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2006__", + "parentId": "__FLD_97__", + "_id": "__REQ_2189__", "_type": "request", - "name": "Create a GPG key", - "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#create-a-gpg-key", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9872,11 +10110,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2007__", + "parentId": "__FLD_97__", + "_id": "__REQ_2190__", "_type": "request", - "name": "Get a single GPG key", - "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#get-a-single-gpg-key", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9888,11 +10126,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2008__", + "parentId": "__FLD_97__", + "_id": "__REQ_2191__", "_type": "request", - "name": "Delete a GPG key", - "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#delete-a-gpg-key", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9905,16 +10143,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_2009__", + "_id": "__REQ_2192__", "_type": "request", - "name": "List installations for a user", - "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-installations-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9937,14 +10170,14 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_2010__", + "_id": "__REQ_2193__", "_type": "request", - "name": "List repositories accessible to the user for an installation", - "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", "headers": [ { "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + "value": "application/vnd.github.mercy-preview+json" } ], "authentication": { @@ -9969,16 +10202,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_2011__", + "_id": "__REQ_2194__", "_type": "request", - "name": "Add repository to installation", - "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#add-repository-to-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9990,16 +10218,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_2012__", + "_id": "__REQ_2195__", "_type": "request", - "name": "Remove repository from installation", - "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#remove-repository-from-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10011,11 +10234,16 @@ }, { "parentId": "__FLD_85__", - "_id": "__REQ_2013__", + "_id": "__REQ_2196__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", - "headers": [], + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10065,11 +10293,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2014__", + "parentId": "__FLD_97__", + "_id": "__REQ_2197__", "_type": "request", - "name": "List your public keys", - "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#list-your-public-keys", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10092,11 +10320,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2015__", + "parentId": "__FLD_97__", + "_id": "__REQ_2198__", "_type": "request", - "name": "Create a public key", - "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#create-a-public-key", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10108,11 +10336,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2016__", + "parentId": "__FLD_97__", + "_id": "__REQ_2199__", "_type": "request", - "name": "Get a single public key", - "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#get-a-single-public-key", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10124,11 +10352,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2017__", + "parentId": "__FLD_97__", + "_id": "__REQ_2200__", "_type": "request", - "name": "Delete a public key", - "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#delete-a-public-key", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10140,11 +10368,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2018__", + "parentId": "__FLD_89__", + "_id": "__REQ_2201__", "_type": "request", - "name": "List your organization memberships", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#list-your-organization-memberships", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10171,11 +10399,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2019__", + "parentId": "__FLD_89__", + "_id": "__REQ_2202__", "_type": "request", - "name": "Get your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#get-your-organization-membership", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10187,11 +10415,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2020__", + "parentId": "__FLD_89__", + "_id": "__REQ_2203__", "_type": "request", - "name": "Edit your organization membership", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#edit-your-organization-membership", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10203,11 +10431,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2021__", + "parentId": "__FLD_89__", + "_id": "__REQ_2204__", "_type": "request", - "name": "List your organizations", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-your-organizations", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10230,11 +10458,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2022__", + "parentId": "__FLD_90__", + "_id": "__REQ_2205__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-user-project", "headers": [ { "name": "Accept", @@ -10251,38 +10479,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2023__", - "_type": "request", - "name": "List public email addresses for a user", - "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#list-public-email-addresses-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/public_emails", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_95__", - "_id": "__REQ_2024__", + "parentId": "__FLD_94__", + "_id": "__REQ_2206__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10325,19 +10526,27 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false } ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2025__", + "parentId": "__FLD_94__", + "_id": "__REQ_2207__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" } ], "authentication": { @@ -10350,11 +10559,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2026__", + "parentId": "__FLD_94__", + "_id": "__REQ_2208__", "_type": "request", - "name": "List a user's repository invitations", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#list-a-users-repository-invitations", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10377,11 +10586,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2027__", + "parentId": "__FLD_94__", + "_id": "__REQ_2209__", "_type": "request", "name": "Accept a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#accept-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#accept-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10393,11 +10602,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2028__", + "parentId": "__FLD_94__", + "_id": "__REQ_2210__", "_type": "request", "name": "Decline a repository invitation", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#decline-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#decline-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10410,10 +10619,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2029__", + "_id": "__REQ_2211__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10447,10 +10656,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2030__", + "_id": "__REQ_2212__", "_type": "request", - "name": "Check if you are starring a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#check-if-you-are-starring-a-repository", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10463,10 +10672,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2031__", + "_id": "__REQ_2213__", "_type": "request", - "name": "Star a repository", - "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#star-a-repository", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#star-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10479,10 +10688,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2032__", + "_id": "__REQ_2214__", "_type": "request", - "name": "Unstar a repository", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#unstar-a-repository", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10495,10 +10704,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2033__", + "_id": "__REQ_2215__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10521,69 +10730,16 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2034__", - "_type": "request", - "name": "Check if you are watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_76__", - "_id": "__REQ_2035__", - "_type": "request", - "name": "Watch a repository (LEGACY)", - "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#watch-a-repository-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_76__", - "_id": "__REQ_2036__", + "parentId": "__FLD_96__", + "_id": "__REQ_2216__", "_type": "request", - "name": "Stop watching a repository (LEGACY)", - "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#stop-watching-a-repository-legacy", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_97__", - "_id": "__REQ_2037__", - "_type": "request", - "name": "List user teams", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-user-teams", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hellcat-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", "url": "{{ github_api_root }}/user/teams", "body": {}, @@ -10601,11 +10757,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2038__", + "parentId": "__FLD_97__", + "_id": "__REQ_2217__", "_type": "request", - "name": "Get all users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-all-users", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10623,20 +10779,15 @@ "name": "per_page", "value": 30, "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false } ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2039__", + "parentId": "__FLD_97__", + "_id": "__REQ_2218__", "_type": "request", - "name": "Get a single user", - "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.18/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.18/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-a-single-user", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub AE plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub AE plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub AE [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub AE. For more information, see [Authentication](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/github-ae@latest/rest/reference/users#emails)\".\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10649,10 +10800,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2040__", + "_id": "__REQ_2219__", "_type": "request", - "name": "List events performed by a user", - "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-performed-by-a-user", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10676,10 +10827,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2041__", + "_id": "__REQ_2220__", "_type": "request", - "name": "List events for an organization", - "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-for-an-organization", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-organization-events-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10703,10 +10854,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2042__", + "_id": "__REQ_2221__", "_type": "request", - "name": "List public events performed by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-performed-by-a-user", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10729,11 +10880,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2043__", + "parentId": "__FLD_97__", + "_id": "__REQ_2222__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10756,11 +10907,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2044__", + "parentId": "__FLD_97__", + "_id": "__REQ_2223__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-another-user", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-a-user-follows", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10783,11 +10934,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2045__", + "parentId": "__FLD_97__", + "_id": "__REQ_2224__", "_type": "request", - "name": "Check if one user follows another", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#check-if-one-user-follows-another", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-user-follows-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10800,10 +10951,10 @@ }, { "parentId": "__FLD_82__", - "_id": "__REQ_2046__", + "_id": "__REQ_2225__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10830,11 +10981,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2047__", + "parentId": "__FLD_97__", + "_id": "__REQ_2226__", "_type": "request", "name": "List GPG keys for a user", - "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10857,17 +11008,12 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2048__", + "parentId": "__FLD_97__", + "_id": "__REQ_2227__", "_type": "request", - "name": "Get contextual information about a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-contextual-information-about-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.hagar-preview+json" - } - ], + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-contextual-information-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10888,16 +11034,11 @@ }, { "parentId": "__FLD_77__", - "_id": "__REQ_2049__", + "_id": "__REQ_2228__", "_type": "request", - "name": "Get a user installation", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.machine-man-preview+json" - } - ], + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10908,11 +11049,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2050__", + "parentId": "__FLD_97__", + "_id": "__REQ_2229__", "_type": "request", "name": "List public keys for a user", - "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#list-public-keys-for-a-user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-keys-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10935,11 +11076,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2051__", + "parentId": "__FLD_89__", + "_id": "__REQ_2230__", "_type": "request", - "name": "List user organizations", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.18/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-user-organizations", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10962,11 +11103,11 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2052__", + "parentId": "__FLD_90__", + "_id": "__REQ_2231__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-user-projects", "headers": [ { "name": "Accept", @@ -11000,10 +11141,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2053__", + "_id": "__REQ_2232__", "_type": "request", - "name": "List events that a user has received", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-that-a-user-has-received", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-received-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11027,10 +11168,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2054__", + "_id": "__REQ_2233__", "_type": "request", - "name": "List public events that a user has received", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-that-a-user-has-received", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-received-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11053,12 +11194,17 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2055__", + "parentId": "__FLD_94__", + "_id": "__REQ_2234__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-user-repositories", - "headers": [], + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11093,44 +11239,12 @@ } ] }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_2056__", - "_type": "request", - "name": "Promote an ordinary user to a site administrator", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/users/{{ username }}/site_admin", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_81__", - "_id": "__REQ_2057__", - "_type": "request", - "name": "Demote a site administrator to an ordinary user", - "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/users/{{ username }}/site_admin", - "body": {}, - "parameters": [] - }, { "parentId": "__FLD_76__", - "_id": "__REQ_2058__", + "_id": "__REQ_2235__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11164,10 +11278,10 @@ }, { "parentId": "__FLD_76__", - "_id": "__REQ_2059__", + "_id": "__REQ_2236__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11191,10 +11305,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_2060__", + "_id": "__REQ_2237__", "_type": "request", "name": "Suspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#suspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11207,10 +11321,10 @@ }, { "parentId": "__FLD_81__", - "_id": "__REQ_2061__", + "_id": "__REQ_2238__", "_type": "request", "name": "Unsuspend a user", - "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#unsuspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#unsuspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11220,6 +11334,22 @@ "url": "{{ github_api_root }}/users/{{ username }}/suspended", "body": {}, "parameters": [] + }, + { + "parentId": "__FLD_88__", + "_id": "__REQ_2239__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] } ] } \ No newline at end of file diff --git a/tests/generate.test.js b/tests/generate.test.js index 144d310..9340d96 100644 --- a/tests/generate.test.js +++ b/tests/generate.test.js @@ -1,4 +1,6 @@ -const generate = require('../lib/generate'); +const { generate, getLatestRoutes } = require('../lib/generate'); +const nock = require('nock'); +const fs = require('fs'); const RealDate = Date; @@ -137,4 +139,48 @@ describe('generate', () => { ] }); }); -}); + + it('should retrieve latest description', async() => { + global.Date = RealDate; + // const appendLogToFile = content => { + // fs.appendFileSync('record.txt', content) + // } + // nock.recorder.rec({ + // logging: appendLogToFile, + // }) + const platform = 'api.github.com'; + const sha = 'abc123' + + nock('https://api.github.com:443', {"encodedQueryParams":true}) + .get('/repos/github/rest-api-description/contents/descriptions') + .reply(200, [ + { + "type": "dir", + "name": `${platform}`, + "path": `descriptions/${platform}`, + "sha": `${sha}` + } + ]) + .get(`/repos/github/rest-api-description/contents/descriptions%2F${platform}%2Fdereferenced`) + .reply(200, [ + { + "type": `file`, + "name": `api.github.com.deref.json`, + "path": `descriptions/${platform}/dereferenced`, + "sha": `${sha}`, + } + ]) + .get(`/repos/github/rest-api-description/git/blobs/${sha}`) + .reply(200, { + "content": "eyJtc2ciOiAiaGV5In0K", + "encoding": "base64", + "url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", + "sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", + "size": 19, + "node_id": "Q29udGVudCBvZiB0aGUgYmxvYg==" + } + ); + + await getLatestRoutes(); + }); +}); \ No newline at end of file From 8d72ac93ac87720eddee547497ee18086edf5d73 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Thu, 18 Feb 2021 11:36:40 -0500 Subject: [PATCH 2/6] refactor: remove commented code --- tests/generate.test.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/generate.test.js b/tests/generate.test.js index 9340d96..345a1a3 100644 --- a/tests/generate.test.js +++ b/tests/generate.test.js @@ -142,12 +142,7 @@ describe('generate', () => { it('should retrieve latest description', async() => { global.Date = RealDate; - // const appendLogToFile = content => { - // fs.appendFileSync('record.txt', content) - // } - // nock.recorder.rec({ - // logging: appendLogToFile, - // }) + const platform = 'api.github.com'; const sha = 'abc123' From 13c3808636b46f2a4250e7e08b29b5d2746d5a14 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Thu, 18 Feb 2021 11:37:22 -0500 Subject: [PATCH 3/6] refactor: run linter --- index.js | 1 - tests/generate.test.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 642327d..1d662a9 100755 --- a/index.js +++ b/index.js @@ -17,5 +17,4 @@ const { generate, getLatestRoutes } = require('./lib/generate'); process.exit(0); }); - })(); diff --git a/tests/generate.test.js b/tests/generate.test.js index 345a1a3..070cabe 100644 --- a/tests/generate.test.js +++ b/tests/generate.test.js @@ -142,7 +142,7 @@ describe('generate', () => { it('should retrieve latest description', async() => { global.Date = RealDate; - + const platform = 'api.github.com'; const sha = 'abc123' @@ -178,4 +178,4 @@ describe('generate', () => { await getLatestRoutes(); }); -}); \ No newline at end of file +}); From a35d0bb7b56d988c4cd0a5d14b68f32ece96c068 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Thu, 18 Feb 2021 12:02:56 -0500 Subject: [PATCH 4/6] fix: remove process exit --- index.js | 3 +- routes/api.github.com.json | 5498 +++++++++++++++++------ routes/ghes-2.18.json | 2100 ++++----- routes/ghes-2.19.json | 2128 ++++----- routes/ghes-2.20.json | 4046 +++++++++++++---- routes/ghes-2.21.json | 4651 ++++++++++++++++---- routes/ghes-2.22.json | 5268 +++++++++++++++++----- routes/ghes-3.0.json | 8419 ++++++++++++++++++++++++++++++++---- routes/github.ae.json | 2160 ++++----- 9 files changed, 26276 insertions(+), 7997 deletions(-) diff --git a/index.js b/index.js index 1d662a9..68b8b7d 100755 --- a/index.js +++ b/index.js @@ -14,7 +14,6 @@ const { generate, getLatestRoutes } = require('./lib/generate'); // Write output straight to file const output = JSON.stringify(data, null, 2); await fs.writeFile(destination, output); - - process.exit(0); }); + })(); diff --git a/routes/api.github.com.json b/routes/api.github.com.json index 362e137..ea77888 100644 --- a/routes/api.github.com.json +++ b/routes/api.github.com.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.312Z", + "__export_date": "2021-02-18T17:02:26.959Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_146__", + "_id": "__FLD_72__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -92,194 +92,194 @@ } }, { - "parentId": "__FLD_146__", - "_id": "__FLD_147__", + "parentId": "__FLD_72__", + "_id": "__FLD_73__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_148__", + "parentId": "__FLD_72__", + "_id": "__FLD_74__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_149__", + "parentId": "__FLD_72__", + "_id": "__FLD_75__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_150__", + "parentId": "__FLD_72__", + "_id": "__FLD_76__", "_type": "request_group", "name": "audit-log" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_151__", + "parentId": "__FLD_72__", + "_id": "__FLD_77__", "_type": "request_group", "name": "billing" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_152__", + "parentId": "__FLD_72__", + "_id": "__FLD_78__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_153__", + "parentId": "__FLD_72__", + "_id": "__FLD_79__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_154__", + "parentId": "__FLD_72__", + "_id": "__FLD_80__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_155__", + "parentId": "__FLD_72__", + "_id": "__FLD_81__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_156__", + "parentId": "__FLD_72__", + "_id": "__FLD_82__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_157__", + "parentId": "__FLD_72__", + "_id": "__FLD_83__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_158__", + "parentId": "__FLD_72__", + "_id": "__FLD_84__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_159__", + "parentId": "__FLD_72__", + "_id": "__FLD_85__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_160__", + "parentId": "__FLD_72__", + "_id": "__FLD_86__", "_type": "request_group", "name": "interactions" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_161__", + "parentId": "__FLD_72__", + "_id": "__FLD_87__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_162__", + "parentId": "__FLD_72__", + "_id": "__FLD_88__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_163__", + "parentId": "__FLD_72__", + "_id": "__FLD_89__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_164__", + "parentId": "__FLD_72__", + "_id": "__FLD_90__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_165__", + "parentId": "__FLD_72__", + "_id": "__FLD_91__", "_type": "request_group", "name": "migrations" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_166__", + "parentId": "__FLD_72__", + "_id": "__FLD_92__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_167__", + "parentId": "__FLD_72__", + "_id": "__FLD_93__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_168__", + "parentId": "__FLD_72__", + "_id": "__FLD_94__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_169__", + "parentId": "__FLD_72__", + "_id": "__FLD_95__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_170__", + "parentId": "__FLD_72__", + "_id": "__FLD_96__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_171__", + "parentId": "__FLD_72__", + "_id": "__FLD_97__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_172__", + "parentId": "__FLD_72__", + "_id": "__FLD_98__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_173__", + "parentId": "__FLD_72__", + "_id": "__FLD_99__", "_type": "request_group", "name": "scim" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_174__", + "parentId": "__FLD_72__", + "_id": "__FLD_100__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_175__", + "parentId": "__FLD_72__", + "_id": "__FLD_101__", "_type": "request_group", "name": "secret-scanning" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_176__", + "parentId": "__FLD_72__", + "_id": "__FLD_102__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_146__", - "_id": "__FLD_177__", + "parentId": "__FLD_72__", + "_id": "__FLD_103__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3254__", + "parentId": "__FLD_90__", + "_id": "__REQ_1527__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -294,8 +294,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3255__", + "parentId": "__FLD_75__", + "_id": "__REQ_1528__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-the-authenticated-app", @@ -310,8 +310,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3256__", + "parentId": "__FLD_75__", + "_id": "__REQ_1529__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/v3/apps/#create-a-github-app-from-a-manifest", @@ -326,8 +326,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3257__", + "parentId": "__FLD_75__", + "_id": "__REQ_1530__", "_type": "request", "name": "Get a webhook configuration for an app", "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#get-a-webhook-configuration-for-an-app", @@ -342,8 +342,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3258__", + "parentId": "__FLD_75__", + "_id": "__REQ_1531__", "_type": "request", "name": "Update a webhook configuration for an app", "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#update-a-webhook-configuration-for-an-app", @@ -358,8 +358,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3259__", + "parentId": "__FLD_75__", + "_id": "__REQ_1532__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/v3/apps/#list-installations-for-the-authenticated-app", @@ -393,8 +393,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3260__", + "parentId": "__FLD_75__", + "_id": "__REQ_1533__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -409,8 +409,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3261__", + "parentId": "__FLD_75__", + "_id": "__REQ_1534__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -425,8 +425,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3262__", + "parentId": "__FLD_75__", + "_id": "__REQ_1535__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#create-an-installation-access-token-for-an-app", @@ -441,8 +441,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3263__", + "parentId": "__FLD_75__", + "_id": "__REQ_1536__", "_type": "request", "name": "Suspend an app installation", "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nSuspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#suspend-an-app-installation", @@ -457,8 +457,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3264__", + "parentId": "__FLD_75__", + "_id": "__REQ_1537__", "_type": "request", "name": "Unsuspend an app installation", "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nRemoves a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#unsuspend-an-app-installation", @@ -473,8 +473,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3265__", + "parentId": "__FLD_92__", + "_id": "__REQ_1538__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-grants", @@ -500,8 +500,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3266__", + "parentId": "__FLD_92__", + "_id": "__REQ_1539__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant", @@ -516,8 +516,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3267__", + "parentId": "__FLD_92__", + "_id": "__REQ_1540__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant", @@ -532,8 +532,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3268__", + "parentId": "__FLD_75__", + "_id": "__REQ_1541__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-authorization", @@ -548,8 +548,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3269__", + "parentId": "__FLD_75__", + "_id": "__REQ_1542__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application", @@ -564,8 +564,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3270__", + "parentId": "__FLD_75__", + "_id": "__REQ_1543__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-a-token", @@ -580,8 +580,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3271__", + "parentId": "__FLD_75__", + "_id": "__REQ_1544__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-a-token", @@ -596,8 +596,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3272__", + "parentId": "__FLD_75__", + "_id": "__REQ_1545__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-token", @@ -612,8 +612,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3273__", + "parentId": "__FLD_75__", + "_id": "__REQ_1546__", "_type": "request", "name": "Create a scoped access token", "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#create-a-scoped-access-token", @@ -628,8 +628,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3274__", + "parentId": "__FLD_75__", + "_id": "__REQ_1547__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-an-authorization", @@ -644,8 +644,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3275__", + "parentId": "__FLD_75__", + "_id": "__REQ_1548__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-an-authorization", @@ -660,8 +660,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3276__", + "parentId": "__FLD_75__", + "_id": "__REQ_1549__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -676,8 +676,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3277__", + "parentId": "__FLD_75__", + "_id": "__REQ_1550__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-app", @@ -692,8 +692,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3278__", + "parentId": "__FLD_92__", + "_id": "__REQ_1551__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations", @@ -719,8 +719,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3279__", + "parentId": "__FLD_92__", + "_id": "__REQ_1552__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -735,8 +735,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3280__", + "parentId": "__FLD_92__", + "_id": "__REQ_1553__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -751,8 +751,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3281__", + "parentId": "__FLD_92__", + "_id": "__REQ_1554__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -767,8 +767,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3282__", + "parentId": "__FLD_92__", + "_id": "__REQ_1555__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -783,8 +783,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3283__", + "parentId": "__FLD_92__", + "_id": "__REQ_1556__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -799,8 +799,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3284__", + "parentId": "__FLD_92__", + "_id": "__REQ_1557__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization", @@ -815,8 +815,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3285__", + "parentId": "__FLD_80__", + "_id": "__REQ_1558__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -836,8 +836,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3286__", + "parentId": "__FLD_80__", + "_id": "__REQ_1559__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -857,8 +857,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3287__", + "parentId": "__FLD_75__", + "_id": "__REQ_1560__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#create-a-content-attachment", @@ -878,8 +878,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3288__", + "parentId": "__FLD_81__", + "_id": "__REQ_1561__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub.\n\nhttps://docs.github.com/v3/emojis/#get-emojis", @@ -894,8 +894,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3289__", + "parentId": "__FLD_82__", + "_id": "__REQ_1562__", "_type": "request", "name": "Get GitHub Actions permissions for an enterprise", "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", @@ -910,8 +910,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3290__", + "parentId": "__FLD_82__", + "_id": "__REQ_1563__", "_type": "request", "name": "Set GitHub Actions permissions for an enterprise", "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", @@ -926,8 +926,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3291__", + "parentId": "__FLD_82__", + "_id": "__REQ_1564__", "_type": "request", "name": "List selected organizations enabled for GitHub Actions in an enterprise", "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", @@ -953,8 +953,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3292__", + "parentId": "__FLD_82__", + "_id": "__REQ_1565__", "_type": "request", "name": "Set selected organizations enabled for GitHub Actions in an enterprise", "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", @@ -969,8 +969,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3293__", + "parentId": "__FLD_82__", + "_id": "__REQ_1566__", "_type": "request", "name": "Enable a selected organization for GitHub Actions in an enterprise", "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", @@ -985,8 +985,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3294__", + "parentId": "__FLD_82__", + "_id": "__REQ_1567__", "_type": "request", "name": "Disable a selected organization for GitHub Actions in an enterprise", "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", @@ -1001,8 +1001,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3295__", + "parentId": "__FLD_82__", + "_id": "__REQ_1568__", "_type": "request", "name": "Get allowed actions for an enterprise", "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", @@ -1017,8 +1017,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3296__", + "parentId": "__FLD_82__", + "_id": "__REQ_1569__", "_type": "request", "name": "Set allowed actions for an enterprise", "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", @@ -1033,8 +1033,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3297__", + "parentId": "__FLD_82__", + "_id": "__REQ_1570__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", @@ -1060,8 +1060,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3298__", + "parentId": "__FLD_82__", + "_id": "__REQ_1571__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", @@ -1076,8 +1076,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3299__", + "parentId": "__FLD_82__", + "_id": "__REQ_1572__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", @@ -1092,8 +1092,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3300__", + "parentId": "__FLD_82__", + "_id": "__REQ_1573__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", @@ -1108,8 +1108,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3301__", + "parentId": "__FLD_82__", + "_id": "__REQ_1574__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", @@ -1124,8 +1124,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3302__", + "parentId": "__FLD_82__", + "_id": "__REQ_1575__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", @@ -1151,8 +1151,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3303__", + "parentId": "__FLD_82__", + "_id": "__REQ_1576__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1167,8 +1167,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3304__", + "parentId": "__FLD_82__", + "_id": "__REQ_1577__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1183,8 +1183,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3305__", + "parentId": "__FLD_82__", + "_id": "__REQ_1578__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1199,8 +1199,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3306__", + "parentId": "__FLD_82__", + "_id": "__REQ_1579__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1226,8 +1226,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3307__", + "parentId": "__FLD_82__", + "_id": "__REQ_1580__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1242,8 +1242,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3308__", + "parentId": "__FLD_82__", + "_id": "__REQ_1581__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", @@ -1258,8 +1258,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3309__", + "parentId": "__FLD_82__", + "_id": "__REQ_1582__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", @@ -1274,8 +1274,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3310__", + "parentId": "__FLD_82__", + "_id": "__REQ_1583__", "_type": "request", "name": "List self-hosted runners for an enterprise", "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", @@ -1301,8 +1301,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3311__", + "parentId": "__FLD_82__", + "_id": "__REQ_1584__", "_type": "request", "name": "List runner applications for an enterprise", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", @@ -1317,8 +1317,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3312__", + "parentId": "__FLD_82__", + "_id": "__REQ_1585__", "_type": "request", "name": "Create a registration token for an enterprise", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", @@ -1333,8 +1333,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3313__", + "parentId": "__FLD_82__", + "_id": "__REQ_1586__", "_type": "request", "name": "Create a remove token for an enterprise", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", @@ -1349,8 +1349,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3314__", + "parentId": "__FLD_82__", + "_id": "__REQ_1587__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", @@ -1365,8 +1365,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3315__", + "parentId": "__FLD_82__", + "_id": "__REQ_1588__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", @@ -1381,8 +1381,8 @@ "parameters": [] }, { - "parentId": "__FLD_150__", - "_id": "__REQ_3316__", + "parentId": "__FLD_76__", + "_id": "__REQ_1589__", "_type": "request", "name": "Get the audit log for an enterprise", "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", @@ -1423,8 +1423,8 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3317__", + "parentId": "__FLD_77__", + "_id": "__REQ_1590__", "_type": "request", "name": "Get GitHub Actions billing for an enterprise", "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise", @@ -1439,8 +1439,8 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3318__", + "parentId": "__FLD_77__", + "_id": "__REQ_1591__", "_type": "request", "name": "Get GitHub Packages billing for an enterprise", "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise", @@ -1455,8 +1455,8 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3319__", + "parentId": "__FLD_77__", + "_id": "__REQ_1592__", "_type": "request", "name": "Get shared storage billing for an enterprise", "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise", @@ -1471,8 +1471,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3320__", + "parentId": "__FLD_74__", + "_id": "__REQ_1593__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/rest/reference/activity#list-public-events", @@ -1498,8 +1498,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3321__", + "parentId": "__FLD_74__", + "_id": "__REQ_1594__", "_type": "request", "name": "Get feeds", "description": "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/rest/reference/activity#get-feeds", @@ -1514,8 +1514,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3322__", + "parentId": "__FLD_83__", + "_id": "__REQ_1595__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/v3/gists/#list-gists-for-the-authenticated-user", @@ -1545,8 +1545,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3323__", + "parentId": "__FLD_83__", + "_id": "__REQ_1596__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/v3/gists/#create-a-gist", @@ -1561,8 +1561,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3324__", + "parentId": "__FLD_83__", + "_id": "__REQ_1597__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/v3/gists/#list-public-gists", @@ -1592,8 +1592,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3325__", + "parentId": "__FLD_83__", + "_id": "__REQ_1598__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/v3/gists/#list-starred-gists", @@ -1623,8 +1623,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3326__", + "parentId": "__FLD_83__", + "_id": "__REQ_1599__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist", @@ -1639,8 +1639,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3327__", + "parentId": "__FLD_83__", + "_id": "__REQ_1600__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/v3/gists/#update-a-gist", @@ -1655,8 +1655,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3328__", + "parentId": "__FLD_83__", + "_id": "__REQ_1601__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/v3/gists/#delete-a-gist", @@ -1671,8 +1671,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3329__", + "parentId": "__FLD_83__", + "_id": "__REQ_1602__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/rest/reference/gists#list-gist-comments", @@ -1698,8 +1698,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3330__", + "parentId": "__FLD_83__", + "_id": "__REQ_1603__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#create-a-gist-comment", @@ -1714,8 +1714,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3331__", + "parentId": "__FLD_83__", + "_id": "__REQ_1604__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#get-a-gist-comment", @@ -1730,8 +1730,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3332__", + "parentId": "__FLD_83__", + "_id": "__REQ_1605__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#update-a-gist-comment", @@ -1746,8 +1746,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3333__", + "parentId": "__FLD_83__", + "_id": "__REQ_1606__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#delete-a-gist-comment", @@ -1762,8 +1762,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3334__", + "parentId": "__FLD_83__", + "_id": "__REQ_1607__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-commits", @@ -1789,8 +1789,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3335__", + "parentId": "__FLD_83__", + "_id": "__REQ_1608__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-forks", @@ -1816,8 +1816,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3336__", + "parentId": "__FLD_83__", + "_id": "__REQ_1609__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/v3/gists/#fork-a-gist", @@ -1832,8 +1832,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3337__", + "parentId": "__FLD_83__", + "_id": "__REQ_1610__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/v3/gists/#check-if-a-gist-is-starred", @@ -1848,8 +1848,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3338__", + "parentId": "__FLD_83__", + "_id": "__REQ_1611__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/gists/#star-a-gist", @@ -1864,8 +1864,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3339__", + "parentId": "__FLD_83__", + "_id": "__REQ_1612__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/v3/gists/#unstar-a-gist", @@ -1880,8 +1880,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3340__", + "parentId": "__FLD_83__", + "_id": "__REQ_1613__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist-revision", @@ -1896,8 +1896,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3341__", + "parentId": "__FLD_85__", + "_id": "__REQ_1614__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/v3/gitignore/#get-all-gitignore-templates", @@ -1912,8 +1912,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3342__", + "parentId": "__FLD_85__", + "_id": "__REQ_1615__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/v3/gitignore/#get-a-gitignore-template", @@ -1928,8 +1928,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3343__", + "parentId": "__FLD_75__", + "_id": "__REQ_1616__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1960,8 +1960,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3344__", + "parentId": "__FLD_75__", + "_id": "__REQ_1617__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-installation-access-token", @@ -1976,8 +1976,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3345__", + "parentId": "__FLD_87__", + "_id": "__REQ_1618__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -2052,8 +2052,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3346__", + "parentId": "__FLD_88__", + "_id": "__REQ_1619__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/v3/licenses/#get-all-commonly-used-licenses", @@ -2078,8 +2078,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3347__", + "parentId": "__FLD_88__", + "_id": "__REQ_1620__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/v3/licenses/#get-a-license", @@ -2094,8 +2094,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3348__", + "parentId": "__FLD_89__", + "_id": "__REQ_1621__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document", @@ -2110,8 +2110,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3349__", + "parentId": "__FLD_89__", + "_id": "__REQ_1622__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2126,8 +2126,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3350__", + "parentId": "__FLD_75__", + "_id": "__REQ_1623__", "_type": "request", "name": "Get a subscription plan for an account", "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account", @@ -2142,8 +2142,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3351__", + "parentId": "__FLD_75__", + "_id": "__REQ_1624__", "_type": "request", "name": "List plans", "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans", @@ -2169,8 +2169,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3352__", + "parentId": "__FLD_75__", + "_id": "__REQ_1625__", "_type": "request", "name": "List accounts for a plan", "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan", @@ -2205,8 +2205,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3353__", + "parentId": "__FLD_75__", + "_id": "__REQ_1626__", "_type": "request", "name": "Get a subscription plan for an account (stubbed)", "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed", @@ -2221,8 +2221,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3354__", + "parentId": "__FLD_75__", + "_id": "__REQ_1627__", "_type": "request", "name": "List plans (stubbed)", "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans-stubbed", @@ -2248,8 +2248,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3355__", + "parentId": "__FLD_75__", + "_id": "__REQ_1628__", "_type": "request", "name": "List accounts for a plan (stubbed)", "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed", @@ -2284,8 +2284,8 @@ ] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3356__", + "parentId": "__FLD_90__", + "_id": "__REQ_1629__", "_type": "request", "name": "Get GitHub meta information", "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/v3/meta/#get-github-meta-information", @@ -2300,8 +2300,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3357__", + "parentId": "__FLD_74__", + "_id": "__REQ_1630__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2327,8 +2327,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3358__", + "parentId": "__FLD_74__", + "_id": "__REQ_1631__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2372,8 +2372,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3359__", + "parentId": "__FLD_74__", + "_id": "__REQ_1632__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-notifications-as-read", @@ -2388,8 +2388,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3360__", + "parentId": "__FLD_74__", + "_id": "__REQ_1633__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread", @@ -2404,8 +2404,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3361__", + "parentId": "__FLD_74__", + "_id": "__REQ_1634__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/rest/reference/activity#mark-a-thread-as-read", @@ -2420,8 +2420,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3362__", + "parentId": "__FLD_74__", + "_id": "__REQ_1635__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2436,8 +2436,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3363__", + "parentId": "__FLD_74__", + "_id": "__REQ_1636__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/rest/reference/activity#set-a-thread-subscription", @@ -2452,8 +2452,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3364__", + "parentId": "__FLD_74__", + "_id": "__REQ_1637__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/rest/reference/activity#delete-a-thread-subscription", @@ -2468,8 +2468,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3365__", + "parentId": "__FLD_90__", + "_id": "__REQ_1638__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2489,8 +2489,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3366__", + "parentId": "__FLD_93__", + "_id": "__REQ_1639__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/v3/orgs/#list-organizations", @@ -2515,8 +2515,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3367__", + "parentId": "__FLD_93__", + "_id": "__REQ_1640__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"\n\nhttps://docs.github.com/v3/orgs/#get-an-organization", @@ -2536,8 +2536,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3368__", + "parentId": "__FLD_93__", + "_id": "__REQ_1641__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/v3/orgs/#update-an-organization", @@ -2557,8 +2557,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3369__", + "parentId": "__FLD_73__", + "_id": "__REQ_1642__", "_type": "request", "name": "Get GitHub Actions permissions for an organization", "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization", @@ -2573,8 +2573,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3370__", + "parentId": "__FLD_73__", + "_id": "__REQ_1643__", "_type": "request", "name": "Set GitHub Actions permissions for an organization", "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization", @@ -2589,8 +2589,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3371__", + "parentId": "__FLD_73__", + "_id": "__REQ_1644__", "_type": "request", "name": "List selected repositories enabled for GitHub Actions in an organization", "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -2616,8 +2616,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3372__", + "parentId": "__FLD_73__", + "_id": "__REQ_1645__", "_type": "request", "name": "Set selected repositories enabled for GitHub Actions in an organization", "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -2632,8 +2632,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3373__", + "parentId": "__FLD_73__", + "_id": "__REQ_1646__", "_type": "request", "name": "Enable a selected repository for GitHub Actions in an organization", "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", @@ -2648,8 +2648,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3374__", + "parentId": "__FLD_73__", + "_id": "__REQ_1647__", "_type": "request", "name": "Disable a selected repository for GitHub Actions in an organization", "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", @@ -2664,8 +2664,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3375__", + "parentId": "__FLD_73__", + "_id": "__REQ_1648__", "_type": "request", "name": "Get allowed actions for an organization", "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization", @@ -2680,8 +2680,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3376__", + "parentId": "__FLD_73__", + "_id": "__REQ_1649__", "_type": "request", "name": "Set allowed actions for an organization", "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization", @@ -2696,8 +2696,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3377__", + "parentId": "__FLD_73__", + "_id": "__REQ_1650__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists all self-hosted runner groups configured in an organization and inherited from an enterprise.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -2723,8 +2723,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3378__", + "parentId": "__FLD_73__", + "_id": "__REQ_1651__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -2739,8 +2739,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3379__", + "parentId": "__FLD_73__", + "_id": "__REQ_1652__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nGets a specific self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -2755,8 +2755,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3380__", + "parentId": "__FLD_73__", + "_id": "__REQ_1653__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -2771,8 +2771,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3381__", + "parentId": "__FLD_73__", + "_id": "__REQ_1654__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nDeletes a self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -2787,8 +2787,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3382__", + "parentId": "__FLD_73__", + "_id": "__REQ_1655__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2803,8 +2803,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3383__", + "parentId": "__FLD_73__", + "_id": "__REQ_1656__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2819,8 +2819,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3384__", + "parentId": "__FLD_73__", + "_id": "__REQ_1657__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -2835,8 +2835,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3385__", + "parentId": "__FLD_73__", + "_id": "__REQ_1658__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2851,8 +2851,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3386__", + "parentId": "__FLD_73__", + "_id": "__REQ_1659__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists self-hosted runners that are in a specific organization group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -2878,8 +2878,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3387__", + "parentId": "__FLD_73__", + "_id": "__REQ_1660__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of self-hosted runners that are part of an organization runner group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -2894,8 +2894,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3388__", + "parentId": "__FLD_73__", + "_id": "__REQ_1661__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a self-hosted runner to a runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -2910,8 +2910,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3389__", + "parentId": "__FLD_73__", + "_id": "__REQ_1662__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -2926,8 +2926,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3390__", + "parentId": "__FLD_73__", + "_id": "__REQ_1663__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -2953,8 +2953,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3391__", + "parentId": "__FLD_73__", + "_id": "__REQ_1664__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization", @@ -2969,8 +2969,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3392__", + "parentId": "__FLD_73__", + "_id": "__REQ_1665__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -2985,8 +2985,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3393__", + "parentId": "__FLD_73__", + "_id": "__REQ_1666__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3001,8 +3001,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3394__", + "parentId": "__FLD_73__", + "_id": "__REQ_1667__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3017,8 +3017,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3395__", + "parentId": "__FLD_73__", + "_id": "__REQ_1668__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3033,8 +3033,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3396__", + "parentId": "__FLD_73__", + "_id": "__REQ_1669__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-organization-secrets", @@ -3060,8 +3060,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3397__", + "parentId": "__FLD_73__", + "_id": "__REQ_1670__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-public-key", @@ -3076,8 +3076,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3398__", + "parentId": "__FLD_73__", + "_id": "__REQ_1671__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-secret", @@ -3092,8 +3092,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3399__", + "parentId": "__FLD_73__", + "_id": "__REQ_1672__", "_type": "request", "name": "Create or update an organization secret", "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret", @@ -3108,8 +3108,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3400__", + "parentId": "__FLD_73__", + "_id": "__REQ_1673__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-organization-secret", @@ -3124,8 +3124,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3401__", + "parentId": "__FLD_73__", + "_id": "__REQ_1674__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3140,8 +3140,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3402__", + "parentId": "__FLD_73__", + "_id": "__REQ_1675__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3156,8 +3156,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3403__", + "parentId": "__FLD_73__", + "_id": "__REQ_1676__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3172,8 +3172,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3404__", + "parentId": "__FLD_73__", + "_id": "__REQ_1677__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3188,8 +3188,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3405__", + "parentId": "__FLD_93__", + "_id": "__REQ_1678__", "_type": "request", "name": "Get the audit log for an organization", "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#get-the-audit-log-for-an-organization", @@ -3230,8 +3230,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3406__", + "parentId": "__FLD_93__", + "_id": "__REQ_1679__", "_type": "request", "name": "List users blocked by an organization", "description": "List the users blocked by an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization", @@ -3246,8 +3246,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3407__", + "parentId": "__FLD_93__", + "_id": "__REQ_1680__", "_type": "request", "name": "Check if a user is blocked by an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization", @@ -3262,8 +3262,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3408__", + "parentId": "__FLD_93__", + "_id": "__REQ_1681__", "_type": "request", "name": "Block a user from an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization", @@ -3278,8 +3278,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3409__", + "parentId": "__FLD_93__", + "_id": "__REQ_1682__", "_type": "request", "name": "Unblock a user from an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization", @@ -3294,8 +3294,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3410__", + "parentId": "__FLD_93__", + "_id": "__REQ_1683__", "_type": "request", "name": "List SAML SSO authorizations for an organization", "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on).\n\nhttps://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization", @@ -3310,8 +3310,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3411__", + "parentId": "__FLD_93__", + "_id": "__REQ_1684__", "_type": "request", "name": "Remove a SAML SSO authorization for an organization", "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nhttps://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization", @@ -3326,8 +3326,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3412__", + "parentId": "__FLD_74__", + "_id": "__REQ_1685__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-organization-events", @@ -3353,8 +3353,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3413__", + "parentId": "__FLD_93__", + "_id": "__REQ_1686__", "_type": "request", "name": "List failed organization invitations", "description": "The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.\n\nhttps://docs.github.com/rest/reference/orgs#list-failed-organization-invitations", @@ -3380,8 +3380,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3414__", + "parentId": "__FLD_93__", + "_id": "__REQ_1687__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-webhooks", @@ -3407,8 +3407,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3415__", + "parentId": "__FLD_93__", + "_id": "__REQ_1688__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-webhook", @@ -3423,8 +3423,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3416__", + "parentId": "__FLD_93__", + "_id": "__REQ_1689__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-webhook", @@ -3439,8 +3439,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3417__", + "parentId": "__FLD_93__", + "_id": "__REQ_1690__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-webhook", @@ -3455,8 +3455,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3418__", + "parentId": "__FLD_93__", + "_id": "__REQ_1691__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#delete-an-organization-webhook", @@ -3471,8 +3471,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3419__", + "parentId": "__FLD_93__", + "_id": "__REQ_1692__", "_type": "request", "name": "Get a webhook configuration for an organization", "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/v3/orgs#get-a-webhook-configuration-for-an-organization", @@ -3487,8 +3487,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3420__", + "parentId": "__FLD_93__", + "_id": "__REQ_1693__", "_type": "request", "name": "Update a webhook configuration for an organization", "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/v3/orgs#update-a-webhook-configuration-for-an-organization", @@ -3503,8 +3503,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3421__", + "parentId": "__FLD_93__", + "_id": "__REQ_1694__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/orgs#ping-an-organization-webhook", @@ -3519,8 +3519,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3422__", + "parentId": "__FLD_75__", + "_id": "__REQ_1695__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -3535,8 +3535,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3423__", + "parentId": "__FLD_93__", + "_id": "__REQ_1696__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/v3/orgs/#list-app-installations-for-an-organization", @@ -3562,8 +3562,8 @@ ] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3424__", + "parentId": "__FLD_86__", + "_id": "__REQ_1697__", "_type": "request", "name": "Get interaction restrictions for an organization", "description": "Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization", @@ -3578,8 +3578,8 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3425__", + "parentId": "__FLD_86__", + "_id": "__REQ_1698__", "_type": "request", "name": "Set interaction restrictions for an organization", "description": "Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization", @@ -3594,8 +3594,8 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3426__", + "parentId": "__FLD_86__", + "_id": "__REQ_1699__", "_type": "request", "name": "Remove interaction restrictions for an organization", "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization", @@ -3610,8 +3610,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3427__", + "parentId": "__FLD_93__", + "_id": "__REQ_1700__", "_type": "request", "name": "List pending organization invitations", "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", @@ -3637,8 +3637,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3428__", + "parentId": "__FLD_93__", + "_id": "__REQ_1701__", "_type": "request", "name": "Create an organization invitation", "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-invitation", @@ -3653,8 +3653,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3429__", + "parentId": "__FLD_93__", + "_id": "__REQ_1702__", "_type": "request", "name": "Cancel an organization invitation", "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nhttps://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation", @@ -3669,8 +3669,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3430__", + "parentId": "__FLD_93__", + "_id": "__REQ_1703__", "_type": "request", "name": "List organization invitation teams", "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-invitation-teams", @@ -3696,8 +3696,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3431__", + "parentId": "__FLD_87__", + "_id": "__REQ_1704__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -3756,8 +3756,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3432__", + "parentId": "__FLD_93__", + "_id": "__REQ_1705__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-members", @@ -3793,8 +3793,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3433__", + "parentId": "__FLD_93__", + "_id": "__REQ_1706__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user", @@ -3809,8 +3809,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3434__", + "parentId": "__FLD_93__", + "_id": "__REQ_1707__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-an-organization-member", @@ -3825,8 +3825,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3435__", + "parentId": "__FLD_93__", + "_id": "__REQ_1708__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user", @@ -3841,8 +3841,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3436__", + "parentId": "__FLD_93__", + "_id": "__REQ_1709__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user", @@ -3857,8 +3857,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3437__", + "parentId": "__FLD_93__", + "_id": "__REQ_1710__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -3873,8 +3873,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3438__", + "parentId": "__FLD_91__", + "_id": "__REQ_1711__", "_type": "request", "name": "List organization migrations", "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/rest/reference/migrations#list-organization-migrations", @@ -3905,8 +3905,8 @@ ] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3439__", + "parentId": "__FLD_91__", + "_id": "__REQ_1712__", "_type": "request", "name": "Start an organization migration", "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-organization-migration", @@ -3921,8 +3921,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3440__", + "parentId": "__FLD_91__", + "_id": "__REQ_1713__", "_type": "request", "name": "Get an organization migration status", "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", @@ -3942,8 +3942,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3441__", + "parentId": "__FLD_91__", + "_id": "__REQ_1714__", "_type": "request", "name": "Download an organization migration archive", "description": "Fetches the URL to a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", @@ -3963,8 +3963,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3442__", + "parentId": "__FLD_91__", + "_id": "__REQ_1715__", "_type": "request", "name": "Delete an organization migration archive", "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.\n\nhttps://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", @@ -3984,8 +3984,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3443__", + "parentId": "__FLD_91__", + "_id": "__REQ_1716__", "_type": "request", "name": "Unlock an organization repository", "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", @@ -4005,8 +4005,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3444__", + "parentId": "__FLD_91__", + "_id": "__REQ_1717__", "_type": "request", "name": "List repositories in an organization migration", "description": "List all the repositories for this organization migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", @@ -4037,8 +4037,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3445__", + "parentId": "__FLD_93__", + "_id": "__REQ_1718__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -4069,8 +4069,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3446__", + "parentId": "__FLD_93__", + "_id": "__REQ_1719__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -4085,8 +4085,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3447__", + "parentId": "__FLD_93__", + "_id": "__REQ_1720__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -4101,8 +4101,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3448__", + "parentId": "__FLD_94__", + "_id": "__REQ_1721__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-organization-projects", @@ -4138,8 +4138,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3449__", + "parentId": "__FLD_94__", + "_id": "__REQ_1722__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-an-organization-project", @@ -4159,8 +4159,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3450__", + "parentId": "__FLD_93__", + "_id": "__REQ_1723__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/rest/reference/orgs#list-public-organization-members", @@ -4186,8 +4186,8 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3451__", + "parentId": "__FLD_93__", + "_id": "__REQ_1724__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -4202,8 +4202,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3452__", + "parentId": "__FLD_93__", + "_id": "__REQ_1725__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -4218,8 +4218,8 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3453__", + "parentId": "__FLD_93__", + "_id": "__REQ_1726__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -4234,8 +4234,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3454__", + "parentId": "__FLD_98__", + "_id": "__REQ_1727__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/v3/repos/#list-organization-repositories", @@ -4279,8 +4279,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3455__", + "parentId": "__FLD_98__", + "_id": "__REQ_1728__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-an-organization-repository", @@ -4300,8 +4300,8 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3456__", + "parentId": "__FLD_77__", + "_id": "__REQ_1729__", "_type": "request", "name": "Get GitHub Actions billing for an organization", "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-organization", @@ -4316,8 +4316,8 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3457__", + "parentId": "__FLD_77__", + "_id": "__REQ_1730__", "_type": "request", "name": "Get GitHub Packages billing for an organization", "description": "Gets the free and paid storage usued for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-organization", @@ -4332,8 +4332,8 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3458__", + "parentId": "__FLD_77__", + "_id": "__REQ_1731__", "_type": "request", "name": "Get shared storage billing for an organization", "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-organization", @@ -4348,8 +4348,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3459__", + "parentId": "__FLD_102__", + "_id": "__REQ_1732__", "_type": "request", "name": "List IdP groups for an organization", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nThe `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this:\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization", @@ -4375,8 +4375,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3460__", + "parentId": "__FLD_102__", + "_id": "__REQ_1733__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/v3/teams/#list-teams", @@ -4402,8 +4402,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3461__", + "parentId": "__FLD_102__", + "_id": "__REQ_1734__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/v3/teams/#create-a-team", @@ -4418,8 +4418,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3462__", + "parentId": "__FLD_102__", + "_id": "__REQ_1735__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#get-a-team-by-name", @@ -4434,8 +4434,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3463__", + "parentId": "__FLD_102__", + "_id": "__REQ_1736__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#update-a-team", @@ -4450,8 +4450,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3464__", + "parentId": "__FLD_102__", + "_id": "__REQ_1737__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#delete-a-team", @@ -4466,8 +4466,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3465__", + "parentId": "__FLD_102__", + "_id": "__REQ_1738__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussions", @@ -4503,8 +4503,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3466__", + "parentId": "__FLD_102__", + "_id": "__REQ_1739__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion", @@ -4524,8 +4524,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3467__", + "parentId": "__FLD_102__", + "_id": "__REQ_1740__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion", @@ -4545,8 +4545,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3468__", + "parentId": "__FLD_102__", + "_id": "__REQ_1741__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion", @@ -4566,8 +4566,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3469__", + "parentId": "__FLD_102__", + "_id": "__REQ_1742__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion", @@ -4582,8 +4582,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3470__", + "parentId": "__FLD_102__", + "_id": "__REQ_1743__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments", @@ -4619,8 +4619,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3471__", + "parentId": "__FLD_102__", + "_id": "__REQ_1744__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment", @@ -4640,8 +4640,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3472__", + "parentId": "__FLD_102__", + "_id": "__REQ_1745__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment", @@ -4661,8 +4661,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3473__", + "parentId": "__FLD_102__", + "_id": "__REQ_1746__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment", @@ -4682,8 +4682,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3474__", + "parentId": "__FLD_102__", + "_id": "__REQ_1747__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment", @@ -4698,8 +4698,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3475__", + "parentId": "__FLD_97__", + "_id": "__REQ_1748__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -4734,8 +4734,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3476__", + "parentId": "__FLD_97__", + "_id": "__REQ_1749__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -4755,8 +4755,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3477__", + "parentId": "__FLD_97__", + "_id": "__REQ_1750__", "_type": "request", "name": "Delete team discussion comment reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-comment-reaction", @@ -4776,8 +4776,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3478__", + "parentId": "__FLD_97__", + "_id": "__REQ_1751__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion", @@ -4812,8 +4812,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3479__", + "parentId": "__FLD_97__", + "_id": "__REQ_1752__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion", @@ -4833,8 +4833,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3480__", + "parentId": "__FLD_97__", + "_id": "__REQ_1753__", "_type": "request", "name": "Delete team discussion reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-reaction", @@ -4854,8 +4854,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3481__", + "parentId": "__FLD_102__", + "_id": "__REQ_1754__", "_type": "request", "name": "List pending team invitations", "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations", @@ -4881,8 +4881,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3482__", + "parentId": "__FLD_102__", + "_id": "__REQ_1755__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members", @@ -4913,8 +4913,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3483__", + "parentId": "__FLD_102__", + "_id": "__REQ_1756__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user", @@ -4929,8 +4929,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3484__", + "parentId": "__FLD_102__", + "_id": "__REQ_1757__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -4945,8 +4945,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3485__", + "parentId": "__FLD_102__", + "_id": "__REQ_1758__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user", @@ -4961,8 +4961,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3486__", + "parentId": "__FLD_102__", + "_id": "__REQ_1759__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/v3/teams/#list-team-projects", @@ -4993,8 +4993,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3487__", + "parentId": "__FLD_102__", + "_id": "__REQ_1760__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-project", @@ -5014,8 +5014,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3488__", + "parentId": "__FLD_102__", + "_id": "__REQ_1761__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-project-permissions", @@ -5035,8 +5035,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3489__", + "parentId": "__FLD_102__", + "_id": "__REQ_1762__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-project-from-a-team", @@ -5051,8 +5051,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3490__", + "parentId": "__FLD_102__", + "_id": "__REQ_1763__", "_type": "request", "name": "List team repositories", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/v3/teams/#list-team-repositories", @@ -5078,8 +5078,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3491__", + "parentId": "__FLD_102__", + "_id": "__REQ_1764__", "_type": "request", "name": "Check team permissions for a repository", "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-repository", @@ -5094,8 +5094,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3492__", + "parentId": "__FLD_102__", + "_id": "__REQ_1765__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-repository-permissions", @@ -5110,8 +5110,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3493__", + "parentId": "__FLD_102__", + "_id": "__REQ_1766__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-repository-from-a-team", @@ -5126,8 +5126,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3494__", + "parentId": "__FLD_102__", + "_id": "__REQ_1767__", "_type": "request", "name": "List IdP groups for a team", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team", @@ -5142,8 +5142,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3495__", + "parentId": "__FLD_102__", + "_id": "__REQ_1768__", "_type": "request", "name": "Create or update IdP group connections", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections", @@ -5158,8 +5158,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3496__", + "parentId": "__FLD_102__", + "_id": "__REQ_1769__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/v3/teams/#list-child-teams", @@ -5185,8 +5185,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3497__", + "parentId": "__FLD_94__", + "_id": "__REQ_1770__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-card", @@ -5206,8 +5206,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3498__", + "parentId": "__FLD_94__", + "_id": "__REQ_1771__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-card", @@ -5227,8 +5227,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3499__", + "parentId": "__FLD_94__", + "_id": "__REQ_1772__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-card", @@ -5248,8 +5248,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3500__", + "parentId": "__FLD_94__", + "_id": "__REQ_1773__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-card", @@ -5269,8 +5269,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3501__", + "parentId": "__FLD_94__", + "_id": "__REQ_1774__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-column", @@ -5290,8 +5290,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3502__", + "parentId": "__FLD_94__", + "_id": "__REQ_1775__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-column", @@ -5311,8 +5311,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3503__", + "parentId": "__FLD_94__", + "_id": "__REQ_1776__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-column", @@ -5332,8 +5332,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3504__", + "parentId": "__FLD_94__", + "_id": "__REQ_1777__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-cards", @@ -5369,8 +5369,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3505__", + "parentId": "__FLD_94__", + "_id": "__REQ_1778__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-card", @@ -5390,8 +5390,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3506__", + "parentId": "__FLD_94__", + "_id": "__REQ_1779__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-column", @@ -5411,8 +5411,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3507__", + "parentId": "__FLD_94__", + "_id": "__REQ_1780__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#get-a-project", @@ -5432,8 +5432,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3508__", + "parentId": "__FLD_94__", + "_id": "__REQ_1781__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#update-a-project", @@ -5453,8 +5453,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3509__", + "parentId": "__FLD_94__", + "_id": "__REQ_1782__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/v3/projects/#delete-a-project", @@ -5474,8 +5474,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3510__", + "parentId": "__FLD_94__", + "_id": "__REQ_1783__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/rest/reference/projects#list-project-collaborators", @@ -5511,8 +5511,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3511__", + "parentId": "__FLD_94__", + "_id": "__REQ_1784__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#add-project-collaborator", @@ -5532,8 +5532,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3512__", + "parentId": "__FLD_94__", + "_id": "__REQ_1785__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#remove-project-collaborator", @@ -5553,8 +5553,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3513__", + "parentId": "__FLD_94__", + "_id": "__REQ_1786__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/rest/reference/projects#get-project-permission-for-a-user", @@ -5574,8 +5574,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3514__", + "parentId": "__FLD_94__", + "_id": "__REQ_1787__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-columns", @@ -5606,8 +5606,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3515__", + "parentId": "__FLD_94__", + "_id": "__REQ_1788__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-column", @@ -5627,8 +5627,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3516__", + "parentId": "__FLD_96__", + "_id": "__REQ_1789__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -5643,8 +5643,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3517__", + "parentId": "__FLD_97__", + "_id": "__REQ_1790__", "_type": "request", "name": "Delete a reaction (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-reaction-legacy", @@ -5664,8 +5664,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3518__", + "parentId": "__FLD_98__", + "_id": "__REQ_1791__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/v3/repos/#get-a-repository", @@ -5685,8 +5685,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3519__", + "parentId": "__FLD_98__", + "_id": "__REQ_1792__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/v3/repos/#update-a-repository", @@ -5706,8 +5706,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3520__", + "parentId": "__FLD_98__", + "_id": "__REQ_1793__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/v3/repos/#delete-a-repository", @@ -5722,8 +5722,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3521__", + "parentId": "__FLD_73__", + "_id": "__REQ_1794__", "_type": "request", "name": "List artifacts for a repository", "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository", @@ -5749,8 +5749,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3522__", + "parentId": "__FLD_73__", + "_id": "__REQ_1795__", "_type": "request", "name": "Get an artifact", "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-artifact", @@ -5765,8 +5765,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3523__", + "parentId": "__FLD_73__", + "_id": "__REQ_1796__", "_type": "request", "name": "Delete an artifact", "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-artifact", @@ -5781,8 +5781,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3524__", + "parentId": "__FLD_73__", + "_id": "__REQ_1797__", "_type": "request", "name": "Download an artifact", "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-an-artifact", @@ -5797,8 +5797,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3525__", + "parentId": "__FLD_73__", + "_id": "__REQ_1798__", "_type": "request", "name": "Get a job for a workflow run", "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run", @@ -5813,8 +5813,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3526__", + "parentId": "__FLD_73__", + "_id": "__REQ_1799__", "_type": "request", "name": "Download job logs for a workflow run", "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run", @@ -5829,8 +5829,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3527__", + "parentId": "__FLD_73__", + "_id": "__REQ_1800__", "_type": "request", "name": "Get GitHub Actions permissions for a repository", "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", @@ -5845,8 +5845,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3528__", + "parentId": "__FLD_73__", + "_id": "__REQ_1801__", "_type": "request", "name": "Set GitHub Actions permissions for a repository", "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository", @@ -5861,8 +5861,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3529__", + "parentId": "__FLD_73__", + "_id": "__REQ_1802__", "_type": "request", "name": "Get allowed actions for a repository", "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository", @@ -5877,8 +5877,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3530__", + "parentId": "__FLD_73__", + "_id": "__REQ_1803__", "_type": "request", "name": "Set allowed actions for a repository", "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository", @@ -5893,8 +5893,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3531__", + "parentId": "__FLD_73__", + "_id": "__REQ_1804__", "_type": "request", "name": "List self-hosted runners for a repository", "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository", @@ -5920,8 +5920,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3532__", + "parentId": "__FLD_73__", + "_id": "__REQ_1805__", "_type": "request", "name": "List runner applications for a repository", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository", @@ -5936,8 +5936,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3533__", + "parentId": "__FLD_73__", + "_id": "__REQ_1806__", "_type": "request", "name": "Create a registration token for a repository", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository", @@ -5952,8 +5952,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3534__", + "parentId": "__FLD_73__", + "_id": "__REQ_1807__", "_type": "request", "name": "Create a remove token for a repository", "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository", @@ -5968,8 +5968,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3535__", + "parentId": "__FLD_73__", + "_id": "__REQ_1808__", "_type": "request", "name": "Get a self-hosted runner for a repository", "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", @@ -5984,8 +5984,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3536__", + "parentId": "__FLD_73__", + "_id": "__REQ_1809__", "_type": "request", "name": "Delete a self-hosted runner from a repository", "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", @@ -6000,8 +6000,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3537__", + "parentId": "__FLD_73__", + "_id": "__REQ_1810__", "_type": "request", "name": "List workflow runs for a repository", "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository", @@ -6043,8 +6043,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3538__", + "parentId": "__FLD_73__", + "_id": "__REQ_1811__", "_type": "request", "name": "Get a workflow run", "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow-run", @@ -6059,8 +6059,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3539__", + "parentId": "__FLD_73__", + "_id": "__REQ_1812__", "_type": "request", "name": "Delete a workflow run", "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-workflow-run", @@ -6075,8 +6075,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3540__", + "parentId": "__FLD_73__", + "_id": "__REQ_1813__", "_type": "request", "name": "List workflow run artifacts", "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-run-artifacts", @@ -6102,8 +6102,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3541__", + "parentId": "__FLD_73__", + "_id": "__REQ_1814__", "_type": "request", "name": "Cancel a workflow run", "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#cancel-a-workflow-run", @@ -6118,8 +6118,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3542__", + "parentId": "__FLD_73__", + "_id": "__REQ_1815__", "_type": "request", "name": "List jobs for a workflow run", "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", @@ -6150,8 +6150,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3543__", + "parentId": "__FLD_73__", + "_id": "__REQ_1816__", "_type": "request", "name": "Download workflow run logs", "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-workflow-run-logs", @@ -6166,8 +6166,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3544__", + "parentId": "__FLD_73__", + "_id": "__REQ_1817__", "_type": "request", "name": "Delete workflow run logs", "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-workflow-run-logs", @@ -6182,8 +6182,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3545__", + "parentId": "__FLD_73__", + "_id": "__REQ_1818__", "_type": "request", "name": "Re-run a workflow", "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-a-workflow", @@ -6198,8 +6198,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3546__", + "parentId": "__FLD_73__", + "_id": "__REQ_1819__", "_type": "request", "name": "Get workflow run usage", "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-run-usage", @@ -6214,8 +6214,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3547__", + "parentId": "__FLD_73__", + "_id": "__REQ_1820__", "_type": "request", "name": "List repository secrets", "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-secrets", @@ -6241,8 +6241,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3548__", + "parentId": "__FLD_73__", + "_id": "__REQ_1821__", "_type": "request", "name": "Get a repository public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-public-key", @@ -6257,8 +6257,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3549__", + "parentId": "__FLD_73__", + "_id": "__REQ_1822__", "_type": "request", "name": "Get a repository secret", "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-secret", @@ -6273,8 +6273,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3550__", + "parentId": "__FLD_73__", + "_id": "__REQ_1823__", "_type": "request", "name": "Create or update a repository secret", "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret", @@ -6289,8 +6289,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3551__", + "parentId": "__FLD_73__", + "_id": "__REQ_1824__", "_type": "request", "name": "Delete a repository secret", "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-repository-secret", @@ -6305,8 +6305,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3552__", + "parentId": "__FLD_73__", + "_id": "__REQ_1825__", "_type": "request", "name": "List repository workflows", "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-workflows", @@ -6332,8 +6332,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3553__", + "parentId": "__FLD_73__", + "_id": "__REQ_1826__", "_type": "request", "name": "Get a workflow", "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow", @@ -6348,8 +6348,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3554__", + "parentId": "__FLD_73__", + "_id": "__REQ_1827__", "_type": "request", "name": "Disable a workflow", "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-workflow", @@ -6364,8 +6364,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3555__", + "parentId": "__FLD_73__", + "_id": "__REQ_1828__", "_type": "request", "name": "Create a workflow dispatch event", "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event", @@ -6380,8 +6380,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3556__", + "parentId": "__FLD_73__", + "_id": "__REQ_1829__", "_type": "request", "name": "Enable a workflow", "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-workflow", @@ -6396,8 +6396,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3557__", + "parentId": "__FLD_73__", + "_id": "__REQ_1830__", "_type": "request", "name": "List workflow runs", "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs", @@ -6439,8 +6439,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3558__", + "parentId": "__FLD_73__", + "_id": "__REQ_1831__", "_type": "request", "name": "Get workflow usage", "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-usage", @@ -6455,8 +6455,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3559__", + "parentId": "__FLD_87__", + "_id": "__REQ_1832__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/rest/reference/issues#list-assignees", @@ -6482,8 +6482,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3560__", + "parentId": "__FLD_87__", + "_id": "__REQ_1833__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -6498,8 +6498,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3561__", + "parentId": "__FLD_98__", + "_id": "__REQ_1834__", "_type": "request", "name": "Enable automated security fixes", "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#enable-automated-security-fixes", @@ -6519,8 +6519,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3562__", + "parentId": "__FLD_98__", + "_id": "__REQ_1835__", "_type": "request", "name": "Disable automated security fixes", "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#disable-automated-security-fixes", @@ -6540,8 +6540,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3563__", + "parentId": "__FLD_98__", + "_id": "__REQ_1836__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-branches", @@ -6571,8 +6571,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3564__", + "parentId": "__FLD_98__", + "_id": "__REQ_1837__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-branch", @@ -6587,8 +6587,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3565__", + "parentId": "__FLD_98__", + "_id": "__REQ_1838__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-branch-protection", @@ -6608,8 +6608,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3566__", + "parentId": "__FLD_98__", + "_id": "__REQ_1839__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/rest/reference/repos#update-branch-protection", @@ -6629,8 +6629,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3567__", + "parentId": "__FLD_98__", + "_id": "__REQ_1840__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-branch-protection", @@ -6645,8 +6645,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3568__", + "parentId": "__FLD_98__", + "_id": "__REQ_1841__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-admin-branch-protection", @@ -6661,8 +6661,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3569__", + "parentId": "__FLD_98__", + "_id": "__REQ_1842__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#set-admin-branch-protection", @@ -6677,8 +6677,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3570__", + "parentId": "__FLD_98__", + "_id": "__REQ_1843__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#delete-admin-branch-protection", @@ -6693,8 +6693,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3571__", + "parentId": "__FLD_98__", + "_id": "__REQ_1844__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-pull-request-review-protection", @@ -6714,8 +6714,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3572__", + "parentId": "__FLD_98__", + "_id": "__REQ_1845__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/rest/reference/repos#update-pull-request-review-protection", @@ -6735,8 +6735,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3573__", + "parentId": "__FLD_98__", + "_id": "__REQ_1846__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", @@ -6751,8 +6751,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3574__", + "parentId": "__FLD_98__", + "_id": "__REQ_1847__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#get-commit-signature-protection", @@ -6772,8 +6772,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3575__", + "parentId": "__FLD_98__", + "_id": "__REQ_1848__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#create-commit-signature-protection", @@ -6793,8 +6793,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3576__", + "parentId": "__FLD_98__", + "_id": "__REQ_1849__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#delete-commit-signature-protection", @@ -6814,8 +6814,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3577__", + "parentId": "__FLD_98__", + "_id": "__REQ_1850__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-status-checks-protection", @@ -6830,8 +6830,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3578__", + "parentId": "__FLD_98__", + "_id": "__REQ_1851__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#update-status-check-potection", @@ -6846,8 +6846,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3579__", + "parentId": "__FLD_98__", + "_id": "__REQ_1852__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-protection", @@ -6862,8 +6862,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3580__", + "parentId": "__FLD_98__", + "_id": "__REQ_1853__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-all-status-check-contexts", @@ -6878,8 +6878,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3581__", + "parentId": "__FLD_98__", + "_id": "__REQ_1854__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#add-status-check-contexts", @@ -6894,8 +6894,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3582__", + "parentId": "__FLD_98__", + "_id": "__REQ_1855__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#set-status-check-contexts", @@ -6910,8 +6910,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3583__", + "parentId": "__FLD_98__", + "_id": "__REQ_1856__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-contexts", @@ -6926,8 +6926,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3584__", + "parentId": "__FLD_98__", + "_id": "__REQ_1857__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-access-restrictions", @@ -6942,8 +6942,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3585__", + "parentId": "__FLD_98__", + "_id": "__REQ_1858__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/rest/reference/repos#delete-access-restrictions", @@ -6958,8 +6958,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3586__", + "parentId": "__FLD_98__", + "_id": "__REQ_1859__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -6974,8 +6974,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3587__", + "parentId": "__FLD_98__", + "_id": "__REQ_1860__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-app-access-restrictions", @@ -6990,8 +6990,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3588__", + "parentId": "__FLD_98__", + "_id": "__REQ_1861__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-app-access-restrictions", @@ -7006,8 +7006,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3589__", + "parentId": "__FLD_98__", + "_id": "__REQ_1862__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-app-access-restrictions", @@ -7022,8 +7022,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3590__", + "parentId": "__FLD_98__", + "_id": "__REQ_1863__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -7038,8 +7038,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3591__", + "parentId": "__FLD_98__", + "_id": "__REQ_1864__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-team-access-restrictions", @@ -7054,8 +7054,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3592__", + "parentId": "__FLD_98__", + "_id": "__REQ_1865__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-team-access-restrictions", @@ -7070,8 +7070,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3593__", + "parentId": "__FLD_98__", + "_id": "__REQ_1866__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-team-access-restrictions", @@ -7086,8 +7086,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3594__", + "parentId": "__FLD_98__", + "_id": "__REQ_1867__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -7102,8 +7102,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3595__", + "parentId": "__FLD_98__", + "_id": "__REQ_1868__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-user-access-restrictions", @@ -7118,8 +7118,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3596__", + "parentId": "__FLD_98__", + "_id": "__REQ_1869__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-user-access-restrictions", @@ -7134,8 +7134,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3597__", + "parentId": "__FLD_98__", + "_id": "__REQ_1870__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-user-access-restrictions", @@ -7150,8 +7150,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3598__", + "parentId": "__FLD_98__", + "_id": "__REQ_1871__", "_type": "request", "name": "Rename a branch", "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/rest/reference/repos#rename-a-branch", @@ -7166,8 +7166,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3599__", + "parentId": "__FLD_78__", + "_id": "__REQ_1872__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-run", @@ -7182,8 +7182,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3600__", + "parentId": "__FLD_78__", + "_id": "__REQ_1873__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-run", @@ -7198,8 +7198,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3601__", + "parentId": "__FLD_78__", + "_id": "__REQ_1874__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/rest/reference/checks#update-a-check-run", @@ -7214,8 +7214,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3602__", + "parentId": "__FLD_78__", + "_id": "__REQ_1875__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-run-annotations", @@ -7241,8 +7241,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3603__", + "parentId": "__FLD_78__", + "_id": "__REQ_1876__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-suite", @@ -7257,8 +7257,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3604__", + "parentId": "__FLD_78__", + "_id": "__REQ_1877__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -7273,8 +7273,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3605__", + "parentId": "__FLD_78__", + "_id": "__REQ_1878__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-suite", @@ -7289,8 +7289,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3606__", + "parentId": "__FLD_78__", + "_id": "__REQ_1879__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -7329,8 +7329,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3607__", + "parentId": "__FLD_78__", + "_id": "__REQ_1880__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/rest/reference/checks#rerequest-a-check-suite", @@ -7345,8 +7345,8 @@ "parameters": [] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3608__", + "parentId": "__FLD_79__", + "_id": "__REQ_1881__", "_type": "request", "name": "List code scanning alerts for a repository", "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", @@ -7370,8 +7370,8 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3609__", + "parentId": "__FLD_79__", + "_id": "__REQ_1882__", "_type": "request", "name": "Get a code scanning alert", "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert", @@ -7386,8 +7386,8 @@ "parameters": [] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3610__", + "parentId": "__FLD_79__", + "_id": "__REQ_1883__", "_type": "request", "name": "Update a code scanning alert", "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-code-scanning-alert", @@ -7402,8 +7402,8 @@ "parameters": [] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3611__", + "parentId": "__FLD_79__", + "_id": "__REQ_1884__", "_type": "request", "name": "List recent code scanning analyses for a repository", "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-recent-analyses", @@ -7427,8 +7427,8 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3612__", + "parentId": "__FLD_79__", + "_id": "__REQ_1885__", "_type": "request", "name": "Upload a SARIF file", "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-sarif-analysis", @@ -7443,8 +7443,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3613__", + "parentId": "__FLD_98__", + "_id": "__REQ_1886__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-collaborators", @@ -7475,8 +7475,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3614__", + "parentId": "__FLD_98__", + "_id": "__REQ_1887__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -7491,8 +7491,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3615__", + "parentId": "__FLD_98__", + "_id": "__REQ_1888__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/rest/reference/repos#add-a-repository-collaborator", @@ -7507,8 +7507,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3616__", + "parentId": "__FLD_98__", + "_id": "__REQ_1889__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/rest/reference/repos#remove-a-repository-collaborator", @@ -7523,8 +7523,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3617__", + "parentId": "__FLD_98__", + "_id": "__REQ_1890__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user", @@ -7539,8 +7539,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3618__", + "parentId": "__FLD_98__", + "_id": "__REQ_1891__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository", @@ -7571,8 +7571,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3619__", + "parentId": "__FLD_98__", + "_id": "__REQ_1892__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit-comment", @@ -7592,8 +7592,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3620__", + "parentId": "__FLD_98__", + "_id": "__REQ_1893__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-commit-comment", @@ -7608,8 +7608,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3621__", + "parentId": "__FLD_98__", + "_id": "__REQ_1894__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-commit-comment", @@ -7624,8 +7624,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3622__", + "parentId": "__FLD_97__", + "_id": "__REQ_1895__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-commit-comment", @@ -7660,8 +7660,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3623__", + "parentId": "__FLD_97__", + "_id": "__REQ_1896__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-commit-comment", @@ -7681,8 +7681,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3624__", + "parentId": "__FLD_97__", + "_id": "__REQ_1897__", "_type": "request", "name": "Delete a commit comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-commit-comment-reaction", @@ -7702,8 +7702,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3625__", + "parentId": "__FLD_98__", + "_id": "__REQ_1898__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#list-commits", @@ -7749,8 +7749,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3626__", + "parentId": "__FLD_98__", + "_id": "__REQ_1899__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/rest/reference/repos#list-branches-for-head-commit", @@ -7770,8 +7770,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3627__", + "parentId": "__FLD_98__", + "_id": "__REQ_1900__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments", @@ -7802,8 +7802,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3628__", + "parentId": "__FLD_98__", + "_id": "__REQ_1901__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-comment", @@ -7818,8 +7818,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3629__", + "parentId": "__FLD_98__", + "_id": "__REQ_1902__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -7850,8 +7850,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3630__", + "parentId": "__FLD_98__", + "_id": "__REQ_1903__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit", @@ -7866,8 +7866,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3631__", + "parentId": "__FLD_78__", + "_id": "__REQ_1904__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -7906,8 +7906,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3632__", + "parentId": "__FLD_78__", + "_id": "__REQ_1905__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -7941,8 +7941,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3633__", + "parentId": "__FLD_98__", + "_id": "__REQ_1906__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -7957,8 +7957,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3634__", + "parentId": "__FLD_98__", + "_id": "__REQ_1907__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -7984,8 +7984,8 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3635__", + "parentId": "__FLD_80__", + "_id": "__REQ_1908__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -8005,8 +8005,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3636__", + "parentId": "__FLD_98__", + "_id": "__REQ_1909__", "_type": "request", "name": "Get community profile metrics", "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-community-profile-metrics", @@ -8021,8 +8021,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3637__", + "parentId": "__FLD_98__", + "_id": "__REQ_1910__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#compare-two-commits", @@ -8037,8 +8037,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3638__", + "parentId": "__FLD_98__", + "_id": "__REQ_1911__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-content", @@ -8058,8 +8058,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3639__", + "parentId": "__FLD_98__", + "_id": "__REQ_1912__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/rest/reference/repos#create-or-update-file-contents", @@ -8074,8 +8074,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3640__", + "parentId": "__FLD_98__", + "_id": "__REQ_1913__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-file", @@ -8090,8 +8090,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3641__", + "parentId": "__FLD_98__", + "_id": "__REQ_1914__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/v3/repos/#list-repository-contributors", @@ -8121,8 +8121,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3642__", + "parentId": "__FLD_98__", + "_id": "__REQ_1915__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/rest/reference/repos#list-deployments", @@ -8173,8 +8173,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3643__", + "parentId": "__FLD_98__", + "_id": "__REQ_1916__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment", @@ -8194,8 +8194,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3644__", + "parentId": "__FLD_98__", + "_id": "__REQ_1917__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment", @@ -8215,8 +8215,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3645__", + "parentId": "__FLD_98__", + "_id": "__REQ_1918__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deployment", @@ -8231,8 +8231,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3646__", + "parentId": "__FLD_98__", + "_id": "__REQ_1919__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#list-deployment-statuses", @@ -8263,8 +8263,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3647__", + "parentId": "__FLD_98__", + "_id": "__REQ_1920__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment-status", @@ -8284,8 +8284,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3648__", + "parentId": "__FLD_98__", + "_id": "__REQ_1921__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment-status", @@ -8305,8 +8305,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3649__", + "parentId": "__FLD_98__", + "_id": "__REQ_1922__", "_type": "request", "name": "Create a repository dispatch event", "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/v3/repos/#create-a-repository-dispatch-event", @@ -8321,8 +8321,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3650__", + "parentId": "__FLD_74__", + "_id": "__REQ_1923__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-repository-events", @@ -8348,8 +8348,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3651__", + "parentId": "__FLD_98__", + "_id": "__REQ_1924__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-forks", @@ -8380,8 +8380,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3652__", + "parentId": "__FLD_98__", + "_id": "__REQ_1925__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/rest/reference/repos#create-a-fork", @@ -8396,8 +8396,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3653__", + "parentId": "__FLD_84__", + "_id": "__REQ_1926__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/rest/reference/git#create-a-blob", @@ -8412,8 +8412,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3654__", + "parentId": "__FLD_84__", + "_id": "__REQ_1927__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/rest/reference/git#get-a-blob", @@ -8428,8 +8428,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3655__", + "parentId": "__FLD_84__", + "_id": "__REQ_1928__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-commit", @@ -8444,8 +8444,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3656__", + "parentId": "__FLD_84__", + "_id": "__REQ_1929__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-commit", @@ -8460,8 +8460,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3657__", + "parentId": "__FLD_84__", + "_id": "__REQ_1930__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/rest/reference/git#list-matching-references", @@ -8487,8 +8487,8 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3658__", + "parentId": "__FLD_84__", + "_id": "__REQ_1931__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/rest/reference/git#get-a-reference", @@ -8503,8 +8503,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3659__", + "parentId": "__FLD_84__", + "_id": "__REQ_1932__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/rest/reference/git#create-a-reference", @@ -8519,8 +8519,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3660__", + "parentId": "__FLD_84__", + "_id": "__REQ_1933__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/rest/reference/git#update-a-reference", @@ -8535,8 +8535,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3661__", + "parentId": "__FLD_84__", + "_id": "__REQ_1934__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/rest/reference/git#delete-a-reference", @@ -8551,8 +8551,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3662__", + "parentId": "__FLD_84__", + "_id": "__REQ_1935__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-tag-object", @@ -8567,8 +8567,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3663__", + "parentId": "__FLD_84__", + "_id": "__REQ_1936__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-tag", @@ -8583,8 +8583,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3664__", + "parentId": "__FLD_84__", + "_id": "__REQ_1937__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/rest/reference/git#create-a-tree", @@ -8599,8 +8599,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3665__", + "parentId": "__FLD_84__", + "_id": "__REQ_1938__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/rest/reference/git#get-a-tree", @@ -8620,8 +8620,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3666__", + "parentId": "__FLD_98__", + "_id": "__REQ_1939__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-repository-webhooks", @@ -8647,8 +8647,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3667__", + "parentId": "__FLD_98__", + "_id": "__REQ_1940__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-webhook", @@ -8663,8 +8663,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3668__", + "parentId": "__FLD_98__", + "_id": "__REQ_1941__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-webhook", @@ -8679,8 +8679,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3669__", + "parentId": "__FLD_98__", + "_id": "__REQ_1942__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-webhook", @@ -8695,8 +8695,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3670__", + "parentId": "__FLD_98__", + "_id": "__REQ_1943__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-webhook", @@ -8711,8 +8711,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3671__", + "parentId": "__FLD_98__", + "_id": "__REQ_1944__", "_type": "request", "name": "Get a webhook configuration for a repository", "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/v3/repos#get-a-webhook-configuration-for-a-repository", @@ -8727,8 +8727,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3672__", + "parentId": "__FLD_98__", + "_id": "__REQ_1945__", "_type": "request", "name": "Update a webhook configuration for a repository", "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/v3/repos#update-a-webhook-configuration-for-a-repository", @@ -8743,8 +8743,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3673__", + "parentId": "__FLD_98__", + "_id": "__REQ_1946__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/repos#ping-a-repository-webhook", @@ -8759,8 +8759,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3674__", + "parentId": "__FLD_98__", + "_id": "__REQ_1947__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/rest/reference/repos#test-the-push-repository-webhook", @@ -8775,8 +8775,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3675__", + "parentId": "__FLD_91__", + "_id": "__REQ_1948__", "_type": "request", "name": "Get an import status", "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-import-status", @@ -8791,8 +8791,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3676__", + "parentId": "__FLD_91__", + "_id": "__REQ_1949__", "_type": "request", "name": "Start an import", "description": "Start a source import to a GitHub repository using GitHub Importer.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-import", @@ -8807,8 +8807,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3677__", + "parentId": "__FLD_91__", + "_id": "__REQ_1950__", "_type": "request", "name": "Update an import", "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.\n\nhttps://docs.github.com/rest/reference/migrations#update-an-import", @@ -8823,8 +8823,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3678__", + "parentId": "__FLD_91__", + "_id": "__REQ_1951__", "_type": "request", "name": "Cancel an import", "description": "Stop an import for a repository.\n\nhttps://docs.github.com/rest/reference/migrations#cancel-an-import", @@ -8839,8 +8839,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3679__", + "parentId": "__FLD_91__", + "_id": "__REQ_1952__", "_type": "request", "name": "Get commit authors", "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information.\n\nhttps://docs.github.com/rest/reference/migrations#get-commit-authors", @@ -8860,8 +8860,8 @@ ] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3680__", + "parentId": "__FLD_91__", + "_id": "__REQ_1953__", "_type": "request", "name": "Map a commit author", "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.\n\nhttps://docs.github.com/rest/reference/migrations#map-a-commit-author", @@ -8876,8 +8876,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3681__", + "parentId": "__FLD_91__", + "_id": "__REQ_1954__", "_type": "request", "name": "Get large files", "description": "List files larger than 100MB found during the import\n\nhttps://docs.github.com/rest/reference/migrations#get-large-files", @@ -8892,8 +8892,8 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3682__", + "parentId": "__FLD_91__", + "_id": "__REQ_1955__", "_type": "request", "name": "Update Git LFS preference", "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).\n\nhttps://docs.github.com/rest/reference/migrations#update-git-lfs-preference", @@ -8908,8 +8908,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3683__", + "parentId": "__FLD_75__", + "_id": "__REQ_1956__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -8924,8 +8924,8 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3684__", + "parentId": "__FLD_86__", + "_id": "__REQ_1957__", "_type": "request", "name": "Get interaction restrictions for a repository", "description": "Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository", @@ -8940,8 +8940,8 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3685__", + "parentId": "__FLD_86__", + "_id": "__REQ_1958__", "_type": "request", "name": "Set interaction restrictions for a repository", "description": "Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository", @@ -8956,8 +8956,8 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3686__", + "parentId": "__FLD_86__", + "_id": "__REQ_1959__", "_type": "request", "name": "Remove interaction restrictions for a repository", "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository", @@ -8972,8 +8972,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3687__", + "parentId": "__FLD_98__", + "_id": "__REQ_1960__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-invitations", @@ -8999,8 +8999,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3688__", + "parentId": "__FLD_98__", + "_id": "__REQ_1961__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-invitation", @@ -9015,8 +9015,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3689__", + "parentId": "__FLD_98__", + "_id": "__REQ_1962__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-invitation", @@ -9031,8 +9031,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3690__", + "parentId": "__FLD_87__", + "_id": "__REQ_1963__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-repository-issues", @@ -9102,8 +9102,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3691__", + "parentId": "__FLD_87__", + "_id": "__REQ_1964__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/issues/#create-an-issue", @@ -9118,8 +9118,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3692__", + "parentId": "__FLD_87__", + "_id": "__REQ_1965__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository", @@ -9163,8 +9163,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3693__", + "parentId": "__FLD_87__", + "_id": "__REQ_1966__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-comment", @@ -9184,8 +9184,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3694__", + "parentId": "__FLD_87__", + "_id": "__REQ_1967__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-an-issue-comment", @@ -9200,8 +9200,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3695__", + "parentId": "__FLD_87__", + "_id": "__REQ_1968__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-an-issue-comment", @@ -9216,8 +9216,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3696__", + "parentId": "__FLD_97__", + "_id": "__REQ_1969__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue-comment", @@ -9252,8 +9252,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3697__", + "parentId": "__FLD_97__", + "_id": "__REQ_1970__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue-comment", @@ -9273,8 +9273,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3698__", + "parentId": "__FLD_97__", + "_id": "__REQ_1971__", "_type": "request", "name": "Delete an issue comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-comment-reaction", @@ -9294,8 +9294,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3699__", + "parentId": "__FLD_87__", + "_id": "__REQ_1972__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository", @@ -9326,8 +9326,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3700__", + "parentId": "__FLD_87__", + "_id": "__REQ_1973__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-event", @@ -9347,8 +9347,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3701__", + "parentId": "__FLD_87__", + "_id": "__REQ_1974__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#get-an-issue", @@ -9368,8 +9368,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3702__", + "parentId": "__FLD_87__", + "_id": "__REQ_1975__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/v3/issues/#update-an-issue", @@ -9384,8 +9384,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3703__", + "parentId": "__FLD_87__", + "_id": "__REQ_1976__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/rest/reference/issues#add-assignees-to-an-issue", @@ -9400,8 +9400,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3704__", + "parentId": "__FLD_87__", + "_id": "__REQ_1977__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue", @@ -9416,8 +9416,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3705__", + "parentId": "__FLD_87__", + "_id": "__REQ_1978__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments", @@ -9452,8 +9452,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3706__", + "parentId": "__FLD_87__", + "_id": "__REQ_1979__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/issues#create-an-issue-comment", @@ -9468,8 +9468,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3707__", + "parentId": "__FLD_87__", + "_id": "__REQ_1980__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events", @@ -9500,8 +9500,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3708__", + "parentId": "__FLD_87__", + "_id": "__REQ_1981__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-an-issue", @@ -9527,8 +9527,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3709__", + "parentId": "__FLD_87__", + "_id": "__REQ_1982__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#add-labels-to-an-issue", @@ -9543,8 +9543,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3710__", + "parentId": "__FLD_87__", + "_id": "__REQ_1983__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/rest/reference/issues#set-labels-for-an-issue", @@ -9559,8 +9559,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3711__", + "parentId": "__FLD_87__", + "_id": "__REQ_1984__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue", @@ -9575,8 +9575,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3712__", + "parentId": "__FLD_87__", + "_id": "__REQ_1985__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue", @@ -9591,8 +9591,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3713__", + "parentId": "__FLD_87__", + "_id": "__REQ_1986__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/issues/#lock-an-issue", @@ -9607,8 +9607,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3714__", + "parentId": "__FLD_87__", + "_id": "__REQ_1987__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/v3/issues/#unlock-an-issue", @@ -9623,8 +9623,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3715__", + "parentId": "__FLD_97__", + "_id": "__REQ_1988__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue", @@ -9659,8 +9659,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3716__", + "parentId": "__FLD_97__", + "_id": "__REQ_1989__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue", @@ -9680,8 +9680,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3717__", + "parentId": "__FLD_97__", + "_id": "__REQ_1990__", "_type": "request", "name": "Delete an issue reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-reaction", @@ -9701,8 +9701,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3718__", + "parentId": "__FLD_87__", + "_id": "__REQ_1991__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue", @@ -9733,8 +9733,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3719__", + "parentId": "__FLD_98__", + "_id": "__REQ_1992__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-deploy-keys", @@ -9760,8 +9760,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3720__", + "parentId": "__FLD_98__", + "_id": "__REQ_1993__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deploy-key", @@ -9776,8 +9776,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3721__", + "parentId": "__FLD_98__", + "_id": "__REQ_1994__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deploy-key", @@ -9792,8 +9792,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3722__", + "parentId": "__FLD_98__", + "_id": "__REQ_1995__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deploy-key", @@ -9808,8 +9808,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3723__", + "parentId": "__FLD_87__", + "_id": "__REQ_1996__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-a-repository", @@ -9835,8 +9835,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3724__", + "parentId": "__FLD_87__", + "_id": "__REQ_1997__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-label", @@ -9851,8 +9851,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3725__", + "parentId": "__FLD_87__", + "_id": "__REQ_1998__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-label", @@ -9867,8 +9867,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3726__", + "parentId": "__FLD_87__", + "_id": "__REQ_1999__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-label", @@ -9883,8 +9883,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3727__", + "parentId": "__FLD_87__", + "_id": "__REQ_2000__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-label", @@ -9899,8 +9899,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3728__", + "parentId": "__FLD_98__", + "_id": "__REQ_2001__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/v3/repos/#list-repository-languages", @@ -9915,8 +9915,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3729__", + "parentId": "__FLD_88__", + "_id": "__REQ_2002__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/v3/licenses/#get-the-license-for-a-repository", @@ -9931,8 +9931,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3730__", + "parentId": "__FLD_98__", + "_id": "__REQ_2003__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/rest/reference/repos#merge-a-branch", @@ -9947,8 +9947,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3731__", + "parentId": "__FLD_87__", + "_id": "__REQ_2004__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-milestones", @@ -9989,8 +9989,8 @@ ] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3732__", + "parentId": "__FLD_87__", + "_id": "__REQ_2005__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-milestone", @@ -10005,8 +10005,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3733__", + "parentId": "__FLD_87__", + "_id": "__REQ_2006__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-milestone", @@ -10021,8 +10021,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3734__", + "parentId": "__FLD_87__", + "_id": "__REQ_2007__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-milestone", @@ -10037,8 +10037,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3735__", + "parentId": "__FLD_87__", + "_id": "__REQ_2008__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-milestone", @@ -10053,8 +10053,8 @@ "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3736__", + "parentId": "__FLD_87__", + "_id": "__REQ_2009__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -10080,8 +10080,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3737__", + "parentId": "__FLD_74__", + "_id": "__REQ_2010__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -10125,8 +10125,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3738__", + "parentId": "__FLD_74__", + "_id": "__REQ_2011__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read", @@ -10141,8 +10141,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3739__", + "parentId": "__FLD_98__", + "_id": "__REQ_2012__", "_type": "request", "name": "Get a GitHub Pages site", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-github-pages-site", @@ -10157,8 +10157,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3740__", + "parentId": "__FLD_98__", + "_id": "__REQ_2013__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/rest/reference/repos#create-a-github-pages-site", @@ -10178,8 +10178,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3741__", + "parentId": "__FLD_98__", + "_id": "__REQ_2014__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site", @@ -10194,8 +10194,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3742__", + "parentId": "__FLD_98__", + "_id": "__REQ_2015__", "_type": "request", "name": "Delete a GitHub Pages site", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-github-pages-site", @@ -10215,8 +10215,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3743__", + "parentId": "__FLD_98__", + "_id": "__REQ_2016__", "_type": "request", "name": "List GitHub Pages builds", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-github-pages-builds", @@ -10242,8 +10242,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3744__", + "parentId": "__FLD_98__", + "_id": "__REQ_2017__", "_type": "request", "name": "Request a GitHub Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/rest/reference/repos#request-a-github-pages-build", @@ -10258,8 +10258,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3745__", + "parentId": "__FLD_98__", + "_id": "__REQ_2018__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-latest-pages-build", @@ -10274,8 +10274,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3746__", + "parentId": "__FLD_98__", + "_id": "__REQ_2019__", "_type": "request", "name": "Get GitHub Pages build", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-github-pages-build", @@ -10290,8 +10290,8 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3747__", + "parentId": "__FLD_94__", + "_id": "__REQ_2020__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-repository-projects", @@ -10327,8 +10327,8 @@ ] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3748__", + "parentId": "__FLD_94__", + "_id": "__REQ_2021__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-a-repository-project", @@ -10348,8 +10348,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3749__", + "parentId": "__FLD_95__", + "_id": "__REQ_2022__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests", @@ -10397,8 +10397,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3750__", + "parentId": "__FLD_95__", + "_id": "__REQ_2023__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#create-a-pull-request", @@ -10413,8 +10413,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3751__", + "parentId": "__FLD_95__", + "_id": "__REQ_2024__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository", @@ -10458,8 +10458,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3752__", + "parentId": "__FLD_95__", + "_id": "__REQ_2025__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -10479,8 +10479,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3753__", + "parentId": "__FLD_95__", + "_id": "__REQ_2026__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -10500,8 +10500,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3754__", + "parentId": "__FLD_95__", + "_id": "__REQ_2027__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -10516,8 +10516,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3755__", + "parentId": "__FLD_97__", + "_id": "__REQ_2028__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -10552,8 +10552,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3756__", + "parentId": "__FLD_97__", + "_id": "__REQ_2029__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -10573,8 +10573,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3757__", + "parentId": "__FLD_97__", + "_id": "__REQ_2030__", "_type": "request", "name": "Delete a pull request comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", @@ -10594,8 +10594,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3758__", + "parentId": "__FLD_95__", + "_id": "__REQ_2031__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/v3/pulls/#get-a-pull-request", @@ -10610,8 +10610,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3759__", + "parentId": "__FLD_95__", + "_id": "__REQ_2032__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request", @@ -10626,8 +10626,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3760__", + "parentId": "__FLD_95__", + "_id": "__REQ_2033__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -10671,8 +10671,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3761__", + "parentId": "__FLD_95__", + "_id": "__REQ_2034__", "_type": "request", "name": "Create a review comment for a pull request", "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -10692,8 +10692,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3762__", + "parentId": "__FLD_95__", + "_id": "__REQ_2035__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -10708,8 +10708,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3763__", + "parentId": "__FLD_95__", + "_id": "__REQ_2036__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/v3/pulls/#list-commits-on-a-pull-request", @@ -10735,8 +10735,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3764__", + "parentId": "__FLD_95__", + "_id": "__REQ_2037__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests-files", @@ -10762,8 +10762,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3765__", + "parentId": "__FLD_95__", + "_id": "__REQ_2038__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -10778,8 +10778,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3766__", + "parentId": "__FLD_95__", + "_id": "__REQ_2039__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#merge-a-pull-request", @@ -10794,8 +10794,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3767__", + "parentId": "__FLD_95__", + "_id": "__REQ_2040__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -10821,8 +10821,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3768__", + "parentId": "__FLD_95__", + "_id": "__REQ_2041__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -10837,8 +10837,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3769__", + "parentId": "__FLD_95__", + "_id": "__REQ_2042__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -10853,8 +10853,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3770__", + "parentId": "__FLD_95__", + "_id": "__REQ_2043__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -10880,8 +10880,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3771__", + "parentId": "__FLD_95__", + "_id": "__REQ_2044__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -10896,8 +10896,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3772__", + "parentId": "__FLD_95__", + "_id": "__REQ_2045__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -10912,8 +10912,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3773__", + "parentId": "__FLD_95__", + "_id": "__REQ_2046__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -10928,8 +10928,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3774__", + "parentId": "__FLD_95__", + "_id": "__REQ_2047__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -10944,8 +10944,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3775__", + "parentId": "__FLD_95__", + "_id": "__REQ_2048__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -10971,8 +10971,8 @@ ] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3776__", + "parentId": "__FLD_95__", + "_id": "__REQ_2049__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -10987,8 +10987,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3777__", + "parentId": "__FLD_95__", + "_id": "__REQ_2050__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -11003,8 +11003,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3778__", + "parentId": "__FLD_95__", + "_id": "__REQ_2051__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request-branch", @@ -11024,8 +11024,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3779__", + "parentId": "__FLD_98__", + "_id": "__REQ_2052__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-readme", @@ -11045,8 +11045,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3780__", + "parentId": "__FLD_98__", + "_id": "__REQ_2053__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/rest/reference/repos#list-releases", @@ -11072,8 +11072,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3781__", + "parentId": "__FLD_98__", + "_id": "__REQ_2054__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-release", @@ -11088,8 +11088,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3782__", + "parentId": "__FLD_98__", + "_id": "__REQ_2055__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-asset", @@ -11104,8 +11104,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3783__", + "parentId": "__FLD_98__", + "_id": "__REQ_2056__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release-asset", @@ -11120,8 +11120,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3784__", + "parentId": "__FLD_98__", + "_id": "__REQ_2057__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release-asset", @@ -11136,8 +11136,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3785__", + "parentId": "__FLD_98__", + "_id": "__REQ_2058__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/rest/reference/repos#get-the-latest-release", @@ -11152,8 +11152,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3786__", + "parentId": "__FLD_98__", + "_id": "__REQ_2059__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", @@ -11168,8 +11168,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3787__", + "parentId": "__FLD_98__", + "_id": "__REQ_2060__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/rest/reference/repos#get-a-release", @@ -11184,8 +11184,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3788__", + "parentId": "__FLD_98__", + "_id": "__REQ_2061__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release", @@ -11200,8 +11200,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3789__", + "parentId": "__FLD_98__", + "_id": "__REQ_2062__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release", @@ -11216,8 +11216,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3790__", + "parentId": "__FLD_98__", + "_id": "__REQ_2063__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-release-assets", @@ -11243,8 +11243,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3791__", + "parentId": "__FLD_98__", + "_id": "__REQ_2064__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/rest/reference/repos#upload-a-release-asset", @@ -11268,8 +11268,8 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3792__", + "parentId": "__FLD_101__", + "_id": "__REQ_2065__", "_type": "request", "name": "List secret scanning alerts for a repository", "description": "Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", @@ -11299,8 +11299,8 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3793__", + "parentId": "__FLD_101__", + "_id": "__REQ_2066__", "_type": "request", "name": "Get a secret scanning alert", "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert", @@ -11315,8 +11315,8 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3794__", + "parentId": "__FLD_101__", + "_id": "__REQ_2067__", "_type": "request", "name": "Update a secret scanning alert", "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", @@ -11331,8 +11331,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3795__", + "parentId": "__FLD_74__", + "_id": "__REQ_2068__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-stargazers", @@ -11358,8 +11358,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3796__", + "parentId": "__FLD_98__", + "_id": "__REQ_2069__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity", @@ -11374,8 +11374,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3797__", + "parentId": "__FLD_98__", + "_id": "__REQ_2070__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -11390,8 +11390,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3798__", + "parentId": "__FLD_98__", + "_id": "__REQ_2071__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity", @@ -11406,8 +11406,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3799__", + "parentId": "__FLD_98__", + "_id": "__REQ_2072__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-count", @@ -11422,8 +11422,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3800__", + "parentId": "__FLD_98__", + "_id": "__REQ_2073__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -11438,8 +11438,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3801__", + "parentId": "__FLD_98__", + "_id": "__REQ_2074__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-status", @@ -11454,8 +11454,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3802__", + "parentId": "__FLD_74__", + "_id": "__REQ_2075__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/rest/reference/activity#list-watchers", @@ -11481,8 +11481,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3803__", + "parentId": "__FLD_74__", + "_id": "__REQ_2076__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-repository-subscription", @@ -11497,8 +11497,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3804__", + "parentId": "__FLD_74__", + "_id": "__REQ_2077__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/rest/reference/activity#set-a-repository-subscription", @@ -11513,8 +11513,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3805__", + "parentId": "__FLD_74__", + "_id": "__REQ_2078__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/rest/reference/activity#delete-a-repository-subscription", @@ -11529,8 +11529,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3806__", + "parentId": "__FLD_98__", + "_id": "__REQ_2079__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-tags", @@ -11556,8 +11556,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3807__", + "parentId": "__FLD_98__", + "_id": "__REQ_2080__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", @@ -11572,8 +11572,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3808__", + "parentId": "__FLD_98__", + "_id": "__REQ_2081__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-teams", @@ -11599,8 +11599,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3809__", + "parentId": "__FLD_98__", + "_id": "__REQ_2082__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/v3/repos/#get-all-repository-topics", @@ -11620,8 +11620,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3810__", + "parentId": "__FLD_98__", + "_id": "__REQ_2083__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/v3/repos/#replace-all-repository-topics", @@ -11641,8 +11641,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3811__", + "parentId": "__FLD_98__", + "_id": "__REQ_2084__", "_type": "request", "name": "Get repository clones", "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-clones", @@ -11663,8 +11663,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3812__", + "parentId": "__FLD_98__", + "_id": "__REQ_2085__", "_type": "request", "name": "Get top referral paths", "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-paths", @@ -11679,8 +11679,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3813__", + "parentId": "__FLD_98__", + "_id": "__REQ_2086__", "_type": "request", "name": "Get top referral sources", "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-sources", @@ -11695,8 +11695,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3814__", + "parentId": "__FLD_98__", + "_id": "__REQ_2087__", "_type": "request", "name": "Get page views", "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-page-views", @@ -11717,8 +11717,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3815__", + "parentId": "__FLD_98__", + "_id": "__REQ_2088__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/v3/repos/#transfer-a-repository", @@ -11733,8 +11733,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3816__", + "parentId": "__FLD_98__", + "_id": "__REQ_2089__", "_type": "request", "name": "Check if vulnerability alerts are enabled for a repository", "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", @@ -11754,8 +11754,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3817__", + "parentId": "__FLD_98__", + "_id": "__REQ_2090__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#enable-vulnerability-alerts", @@ -11775,8 +11775,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3818__", + "parentId": "__FLD_98__", + "_id": "__REQ_2091__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#disable-vulnerability-alerts", @@ -11796,8 +11796,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3819__", + "parentId": "__FLD_98__", + "_id": "__REQ_2092__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", @@ -11812,8 +11812,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3820__", + "parentId": "__FLD_98__", + "_id": "__REQ_2093__", "_type": "request", "name": "Create a repository using a template", "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-a-repository-using-a-template", @@ -11833,8 +11833,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3821__", + "parentId": "__FLD_98__", + "_id": "__REQ_2094__", "_type": "request", "name": "List public repositories", "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/v3/repos/#list-public-repositories", @@ -11854,8 +11854,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3822__", + "parentId": "__FLD_82__", + "_id": "__REQ_2095__", "_type": "request", "name": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise", @@ -11879,8 +11879,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3823__", + "parentId": "__FLD_82__", + "_id": "__REQ_2096__", "_type": "request", "name": "Provision a SCIM enterprise group and invite users", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users", @@ -11895,8 +11895,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3824__", + "parentId": "__FLD_82__", + "_id": "__REQ_2097__", "_type": "request", "name": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group", @@ -11911,8 +11911,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3825__", + "parentId": "__FLD_82__", + "_id": "__REQ_2098__", "_type": "request", "name": "Set SCIM information for a provisioned enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group", @@ -11927,8 +11927,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3826__", + "parentId": "__FLD_82__", + "_id": "__REQ_2099__", "_type": "request", "name": "Update an attribute for a SCIM enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group", @@ -11943,8 +11943,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3827__", + "parentId": "__FLD_82__", + "_id": "__REQ_2100__", "_type": "request", "name": "Delete a SCIM group from an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise", @@ -11959,8 +11959,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3828__", + "parentId": "__FLD_82__", + "_id": "__REQ_2101__", "_type": "request", "name": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nRetrieves a paginated list of all provisioned enterprise members, including pending invitations.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub enterprise.\n\n1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise", @@ -11984,8 +11984,8 @@ ] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3829__", + "parentId": "__FLD_82__", + "_id": "__REQ_2102__", "_type": "request", "name": "Provision and invite a SCIM enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision enterprise membership for a user, and send organization invitation emails to the email address.\n\nYou can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user", @@ -12000,8 +12000,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3830__", + "parentId": "__FLD_82__", + "_id": "__REQ_2103__", "_type": "request", "name": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user", @@ -12016,8 +12016,8 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3831__", + "parentId": "__FLD_82__", + "_id": "__REQ_2104__", "_type": "request", "name": "Set SCIM information for a provisioned enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user", @@ -12032,8 +12032,3060 @@ "parameters": [] }, { - "parentId": "__FLD_156__", - "_id": "__REQ_3832__", + "parentId": "__FLD_82__", + "_id": "__REQ_2105__", "_type": "request", "name": "Update an attribute for a SCIM enterprise user", - "desc \ No newline at end of file + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_82__", + "_id": "__REQ_2106__", + "_type": "request", + "name": "Delete a SCIM user from an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2107__", + "_type": "request", + "name": "List SCIM provisioned identities", + "description": "Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub organization.\n\n1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/v3/scim/#list-scim-provisioned-identities", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users", + "body": {}, + "parameters": [ + { + "name": "startIndex", + "disabled": false + }, + { + "name": "count", + "disabled": false + }, + { + "name": "filter", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2108__", + "_type": "request", + "name": "Provision and invite a SCIM user", + "description": "Provision organization membership for a user, and send an activation email to the email address.\n\nhttps://docs.github.com/v3/scim/#provision-and-invite-a-scim-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2109__", + "_type": "request", + "name": "Get SCIM provisioning information for a user", + "description": "\n\nhttps://docs.github.com/v3/scim/#get-scim-provisioning-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2110__", + "_type": "request", + "name": "Update a provisioned organization membership", + "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/v3/scim/#set-scim-information-for-a-provisioned-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2111__", + "_type": "request", + "name": "Update an attribute for a SCIM user", + "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://docs.github.com/v3/scim/#update-an-attribute-for-a-scim-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_99__", + "_id": "__REQ_2112__", + "_type": "request", + "name": "Delete a SCIM user from an organization", + "description": "\n\nhttps://docs.github.com/v3/scim/#delete-a-scim-user-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/scim/v2/organizations/{{ org }}/Users/{{ scim_user_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2113__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2114__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2115__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2116__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2117__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2118__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2119__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2120__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/v3/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2121__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/v3/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2122__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/v3/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2123__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2124__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2125__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2126__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2127__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2128__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2129__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2130__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2131__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2132__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_97__", + "_id": "__REQ_2133__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_97__", + "_id": "__REQ_2134__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_97__", + "_id": "__REQ_2135__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_97__", + "_id": "__REQ_2136__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2137__", + "_type": "request", + "name": "List pending team invitations (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2138__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2139__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2140__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2141__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2142__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2143__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2144__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2145__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/v3/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2146__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2147__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2148__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/v3/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2149__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/v3/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2150__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2151__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2152__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/v3/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2153__", + "_type": "request", + "name": "List IdP groups for a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/team-sync/group-mappings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2154__", + "_type": "request", + "name": "Create or update IdP group connections (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/team-sync/group-mappings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2155__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/v3/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2156__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2157__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2158__", + "_type": "request", + "name": "List users blocked by the authenticated user", + "description": "List the users you've blocked on your personal account.\n\nhttps://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/blocks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2159__", + "_type": "request", + "name": "Check if a user is blocked by the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2160__", + "_type": "request", + "name": "Block a user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#block-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2161__", + "_type": "request", + "name": "Unblock a user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#unblock-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2162__", + "_type": "request", + "name": "Set primary email visibility for the authenticated user", + "description": "Sets the visibility for your primary email addresses.\n\nhttps://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/email/visibility", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2163__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2164__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2165__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2166__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2167__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2168__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2169__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2170__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2171__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2172__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2173__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2174__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2175__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2176__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2177__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2178__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_86__", + "_id": "__REQ_2179__", + "_type": "request", + "name": "Get interaction restrictions for your public repositories", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/interaction-limits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_86__", + "_id": "__REQ_2180__", + "_type": "request", + "name": "Set interaction restrictions for your public repositories", + "description": "Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/interaction-limits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_86__", + "_id": "__REQ_2181__", + "_type": "request", + "name": "Remove interaction restrictions from your public repositories", + "description": "Removes any interaction restrictions from your public repositories.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/interaction-limits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_87__", + "_id": "__REQ_2182__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2183__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2184__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2185__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2186__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2187__", + "_type": "request", + "name": "List subscriptions for the authenticated user", + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/marketplace_purchases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2188__", + "_type": "request", + "name": "List subscriptions for the authenticated user (stubbed)", + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/marketplace_purchases/stubbed", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2189__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2190__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2191__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2192__", + "_type": "request", + "name": "List user migrations", + "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/rest/reference/migrations#list-user-migrations", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2193__", + "_type": "request", + "name": "Start a user migration", + "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2194__", + "_type": "request", + "name": "Get a user migration status", + "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive).\n\nhttps://docs.github.com/rest/reference/migrations#get-a-user-migration-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2195__", + "_type": "request", + "name": "Download a user migration archive", + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/rest/reference/migrations#download-a-user-migration-archive", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2196__", + "_type": "request", + "name": "Delete a user migration archive", + "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.\n\nhttps://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2197__", + "_type": "request", + "name": "Unlock a user repository", + "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-a-user-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_91__", + "_id": "__REQ_2198__", + "_type": "request", + "name": "List repositories for a user migration", + "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.wyandotte-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2199__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/v3/orgs/#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2200__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2201__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2202__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2203__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2204__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2205__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2206__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2207__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2208__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2209__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2210__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2211__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2212__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).\n\nhttps://docs.github.com/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2213__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/v3/users/#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2214__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/rest/reference/users#emails)\".\n\nhttps://docs.github.com/v3/users/#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2215__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2216__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2217__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2218__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2219__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2220__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_83__", + "_id": "__REQ_2221__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2222__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2223__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/v3/users/#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_75__", + "_id": "__REQ_2224__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2225__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_2226__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/v3/orgs/#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_94__", + "_id": "__REQ_2227__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2228__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2229__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_98__", + "_id": "__REQ_2230__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_77__", + "_id": "__REQ_2231__", + "_type": "request", + "name": "Get GitHub Actions billing for a user", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/settings/billing/actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_77__", + "_id": "__REQ_2232__", + "_type": "request", + "name": "Get GitHub Packages billing for a user", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/settings/billing/packages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_77__", + "_id": "__REQ_2233__", + "_type": "request", + "name": "Get shared storage billing for a user", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/settings/billing/shared-storage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2234__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_74__", + "_id": "__REQ_2235__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_90__", + "_id": "__REQ_2236__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-2.18.json b/routes/ghes-2.18.json index 3f4c97c..aa2ee39 100644 --- a/routes/ghes-2.18.json +++ b/routes/ghes-2.18.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.288Z", + "__export_date": "2021-02-18T17:02:26.934Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_98__", + "_id": "__FLD_25__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -78,146 +78,146 @@ } }, { - "parentId": "__FLD_98__", - "_id": "__FLD_99__", + "parentId": "__FLD_25__", + "_id": "__FLD_26__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_100__", + "parentId": "__FLD_25__", + "_id": "__FLD_27__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_101__", + "parentId": "__FLD_25__", + "_id": "__FLD_28__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_102__", + "parentId": "__FLD_25__", + "_id": "__FLD_29__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_103__", + "parentId": "__FLD_25__", + "_id": "__FLD_30__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_104__", + "parentId": "__FLD_25__", + "_id": "__FLD_31__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_105__", + "parentId": "__FLD_25__", + "_id": "__FLD_32__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_106__", + "parentId": "__FLD_25__", + "_id": "__FLD_33__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_107__", + "parentId": "__FLD_25__", + "_id": "__FLD_34__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_108__", + "parentId": "__FLD_25__", + "_id": "__FLD_35__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_109__", + "parentId": "__FLD_25__", + "_id": "__FLD_36__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_110__", + "parentId": "__FLD_25__", + "_id": "__FLD_37__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_111__", + "parentId": "__FLD_25__", + "_id": "__FLD_38__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_112__", + "parentId": "__FLD_25__", + "_id": "__FLD_39__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_113__", + "parentId": "__FLD_25__", + "_id": "__FLD_40__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_114__", + "parentId": "__FLD_25__", + "_id": "__FLD_41__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_115__", + "parentId": "__FLD_25__", + "_id": "__FLD_42__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_116__", + "parentId": "__FLD_25__", + "_id": "__FLD_43__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_117__", + "parentId": "__FLD_25__", + "_id": "__FLD_44__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_118__", + "parentId": "__FLD_25__", + "_id": "__FLD_45__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_119__", + "parentId": "__FLD_25__", + "_id": "__FLD_46__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_120__", + "parentId": "__FLD_25__", + "_id": "__FLD_47__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_98__", - "_id": "__FLD_121__", + "parentId": "__FLD_25__", + "_id": "__FLD_48__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2240__", + "parentId": "__FLD_38__", + "_id": "__REQ_509__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -232,8 +232,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2241__", + "parentId": "__FLD_31__", + "_id": "__REQ_510__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +264,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2242__", + "parentId": "__FLD_31__", + "_id": "__REQ_511__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +285,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2243__", + "parentId": "__FLD_31__", + "_id": "__REQ_512__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +306,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2244__", + "parentId": "__FLD_31__", + "_id": "__REQ_513__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +327,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2245__", + "parentId": "__FLD_31__", + "_id": "__REQ_514__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +348,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2246__", + "parentId": "__FLD_31__", + "_id": "__REQ_515__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +369,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2247__", + "parentId": "__FLD_31__", + "_id": "__REQ_516__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-public-keys", @@ -396,8 +396,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2248__", + "parentId": "__FLD_31__", + "_id": "__REQ_517__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,8 +412,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2249__", + "parentId": "__FLD_31__", + "_id": "__REQ_518__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -433,8 +433,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2250__", + "parentId": "__FLD_31__", + "_id": "__REQ_519__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -449,8 +449,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2251__", + "parentId": "__FLD_31__", + "_id": "__REQ_520__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -465,8 +465,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2252__", + "parentId": "__FLD_31__", + "_id": "__REQ_521__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -481,8 +481,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2253__", + "parentId": "__FLD_31__", + "_id": "__REQ_522__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-organization", @@ -497,8 +497,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2254__", + "parentId": "__FLD_31__", + "_id": "__REQ_523__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-an-organization-name", @@ -513,8 +513,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2255__", + "parentId": "__FLD_31__", + "_id": "__REQ_524__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -545,8 +545,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2256__", + "parentId": "__FLD_31__", + "_id": "__REQ_525__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -566,8 +566,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2257__", + "parentId": "__FLD_31__", + "_id": "__REQ_526__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -587,8 +587,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2258__", + "parentId": "__FLD_31__", + "_id": "__REQ_527__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -608,8 +608,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2259__", + "parentId": "__FLD_31__", + "_id": "__REQ_528__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -629,8 +629,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2260__", + "parentId": "__FLD_31__", + "_id": "__REQ_529__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -650,8 +650,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2261__", + "parentId": "__FLD_31__", + "_id": "__REQ_530__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -671,8 +671,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2262__", + "parentId": "__FLD_31__", + "_id": "__REQ_531__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -703,8 +703,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2263__", + "parentId": "__FLD_31__", + "_id": "__REQ_532__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -724,8 +724,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2264__", + "parentId": "__FLD_31__", + "_id": "__REQ_533__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -745,8 +745,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2265__", + "parentId": "__FLD_31__", + "_id": "__REQ_534__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -766,8 +766,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2266__", + "parentId": "__FLD_31__", + "_id": "__REQ_535__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -787,8 +787,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2267__", + "parentId": "__FLD_31__", + "_id": "__REQ_536__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -814,8 +814,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2268__", + "parentId": "__FLD_31__", + "_id": "__REQ_537__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -830,8 +830,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2269__", + "parentId": "__FLD_31__", + "_id": "__REQ_538__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-user", @@ -846,8 +846,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2270__", + "parentId": "__FLD_31__", + "_id": "__REQ_539__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -862,8 +862,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2271__", + "parentId": "__FLD_31__", + "_id": "__REQ_540__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-user", @@ -878,8 +878,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2272__", + "parentId": "__FLD_31__", + "_id": "__REQ_541__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -894,8 +894,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2273__", + "parentId": "__FLD_31__", + "_id": "__REQ_542__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -910,8 +910,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2274__", + "parentId": "__FLD_27__", + "_id": "__REQ_543__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-the-authenticated-app", @@ -931,8 +931,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2275__", + "parentId": "__FLD_27__", + "_id": "__REQ_544__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-a-github-app-from-a-manifest", @@ -947,8 +947,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2276__", + "parentId": "__FLD_27__", + "_id": "__REQ_545__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#list-installations-for-the-authenticated-app", @@ -979,8 +979,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2277__", + "parentId": "__FLD_27__", + "_id": "__REQ_546__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -1000,8 +1000,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2278__", + "parentId": "__FLD_27__", + "_id": "__REQ_547__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1021,8 +1021,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2279__", + "parentId": "__FLD_27__", + "_id": "__REQ_548__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1042,8 +1042,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2280__", + "parentId": "__FLD_39__", + "_id": "__REQ_549__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-grants", @@ -1069,8 +1069,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2281__", + "parentId": "__FLD_39__", + "_id": "__REQ_550__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1085,8 +1085,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2282__", + "parentId": "__FLD_39__", + "_id": "__REQ_551__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-a-grant", @@ -1101,8 +1101,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2283__", + "parentId": "__FLD_39__", + "_id": "__REQ_552__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", @@ -1117,8 +1117,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2284__", + "parentId": "__FLD_39__", + "_id": "__REQ_553__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#check-an-authorization", @@ -1133,8 +1133,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2285__", + "parentId": "__FLD_39__", + "_id": "__REQ_554__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#reset-an-authorization", @@ -1149,8 +1149,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2286__", + "parentId": "__FLD_39__", + "_id": "__REQ_555__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", @@ -1165,8 +1165,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2287__", + "parentId": "__FLD_27__", + "_id": "__REQ_556__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-app", @@ -1186,8 +1186,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2288__", + "parentId": "__FLD_39__", + "_id": "__REQ_557__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1213,8 +1213,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2289__", + "parentId": "__FLD_39__", + "_id": "__REQ_558__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1229,8 +1229,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2290__", + "parentId": "__FLD_39__", + "_id": "__REQ_559__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1245,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2291__", + "parentId": "__FLD_39__", + "_id": "__REQ_560__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1261,8 +1261,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2292__", + "parentId": "__FLD_39__", + "_id": "__REQ_561__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1277,8 +1277,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2293__", + "parentId": "__FLD_39__", + "_id": "__REQ_562__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1293,8 +1293,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2294__", + "parentId": "__FLD_39__", + "_id": "__REQ_563__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1309,8 +1309,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2295__", + "parentId": "__FLD_29__", + "_id": "__REQ_564__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1330,8 +1330,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2296__", + "parentId": "__FLD_29__", + "_id": "__REQ_565__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1351,8 +1351,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2297__", + "parentId": "__FLD_27__", + "_id": "__REQ_566__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#create-a-content-attachment", @@ -1372,8 +1372,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2298__", + "parentId": "__FLD_30__", + "_id": "__REQ_567__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/emojis/#get-emojis", @@ -1388,8 +1388,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2299__", + "parentId": "__FLD_31__", + "_id": "__REQ_568__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-license-information", @@ -1404,8 +1404,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2300__", + "parentId": "__FLD_31__", + "_id": "__REQ_569__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-statistics", @@ -1420,8 +1420,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2301__", + "parentId": "__FLD_26__", + "_id": "__REQ_570__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events", @@ -1447,8 +1447,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2302__", + "parentId": "__FLD_26__", + "_id": "__REQ_571__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-feeds", @@ -1463,8 +1463,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2303__", + "parentId": "__FLD_32__", + "_id": "__REQ_572__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-the-authenticated-user", @@ -1494,8 +1494,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2304__", + "parentId": "__FLD_32__", + "_id": "__REQ_573__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#create-a-gist", @@ -1510,8 +1510,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2305__", + "parentId": "__FLD_32__", + "_id": "__REQ_574__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-public-gists", @@ -1541,8 +1541,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2306__", + "parentId": "__FLD_32__", + "_id": "__REQ_575__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-starred-gists", @@ -1572,8 +1572,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2307__", + "parentId": "__FLD_32__", + "_id": "__REQ_576__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist", @@ -1588,8 +1588,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2308__", + "parentId": "__FLD_32__", + "_id": "__REQ_577__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#update-a-gist", @@ -1604,8 +1604,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2309__", + "parentId": "__FLD_32__", + "_id": "__REQ_578__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#delete-a-gist", @@ -1620,8 +1620,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2310__", + "parentId": "__FLD_32__", + "_id": "__REQ_579__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gist-comments", @@ -1647,8 +1647,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2311__", + "parentId": "__FLD_32__", + "_id": "__REQ_580__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#create-a-gist-comment", @@ -1663,8 +1663,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2312__", + "parentId": "__FLD_32__", + "_id": "__REQ_581__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#get-a-gist-comment", @@ -1679,8 +1679,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2313__", + "parentId": "__FLD_32__", + "_id": "__REQ_582__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#update-a-gist-comment", @@ -1695,8 +1695,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2314__", + "parentId": "__FLD_32__", + "_id": "__REQ_583__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#delete-a-gist-comment", @@ -1711,8 +1711,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2315__", + "parentId": "__FLD_32__", + "_id": "__REQ_584__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-commits", @@ -1738,8 +1738,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2316__", + "parentId": "__FLD_32__", + "_id": "__REQ_585__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-forks", @@ -1765,8 +1765,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2317__", + "parentId": "__FLD_32__", + "_id": "__REQ_586__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#fork-a-gist", @@ -1781,8 +1781,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2318__", + "parentId": "__FLD_32__", + "_id": "__REQ_587__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#check-if-a-gist-is-starred", @@ -1797,8 +1797,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2319__", + "parentId": "__FLD_32__", + "_id": "__REQ_588__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#star-a-gist", @@ -1813,8 +1813,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2320__", + "parentId": "__FLD_32__", + "_id": "__REQ_589__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#unstar-a-gist", @@ -1829,8 +1829,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2321__", + "parentId": "__FLD_32__", + "_id": "__REQ_590__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist-revision", @@ -1845,8 +1845,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2322__", + "parentId": "__FLD_34__", + "_id": "__REQ_591__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-all-gitignore-templates", @@ -1861,8 +1861,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2323__", + "parentId": "__FLD_34__", + "_id": "__REQ_592__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-a-gitignore-template", @@ -1877,8 +1877,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2324__", + "parentId": "__FLD_27__", + "_id": "__REQ_593__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1909,8 +1909,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2325__", + "parentId": "__FLD_35__", + "_id": "__REQ_594__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -1985,8 +1985,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2326__", + "parentId": "__FLD_36__", + "_id": "__REQ_595__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-all-commonly-used-licenses", @@ -2011,8 +2011,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2327__", + "parentId": "__FLD_36__", + "_id": "__REQ_596__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-a-license", @@ -2027,8 +2027,8 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2328__", + "parentId": "__FLD_37__", + "_id": "__REQ_597__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document", @@ -2043,8 +2043,8 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2329__", + "parentId": "__FLD_37__", + "_id": "__REQ_598__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2059,8 +2059,8 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2330__", + "parentId": "__FLD_38__", + "_id": "__REQ_599__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/meta/#get-github-meta-information", @@ -2075,8 +2075,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2331__", + "parentId": "__FLD_26__", + "_id": "__REQ_600__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2102,8 +2102,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2332__", + "parentId": "__FLD_26__", + "_id": "__REQ_601__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2147,8 +2147,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2333__", + "parentId": "__FLD_26__", + "_id": "__REQ_602__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-notifications-as-read", @@ -2163,8 +2163,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2334__", + "parentId": "__FLD_26__", + "_id": "__REQ_603__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread", @@ -2179,8 +2179,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2335__", + "parentId": "__FLD_26__", + "_id": "__REQ_604__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-a-thread-as-read", @@ -2195,8 +2195,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2336__", + "parentId": "__FLD_26__", + "_id": "__REQ_605__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2211,8 +2211,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2337__", + "parentId": "__FLD_26__", + "_id": "__REQ_606__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription", @@ -2227,8 +2227,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2338__", + "parentId": "__FLD_26__", + "_id": "__REQ_607__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription", @@ -2243,8 +2243,8 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2339__", + "parentId": "__FLD_38__", + "_id": "__REQ_608__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2264,8 +2264,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2340__", + "parentId": "__FLD_40__", + "_id": "__REQ_609__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations", @@ -2290,8 +2290,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2341__", + "parentId": "__FLD_40__", + "_id": "__REQ_610__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#get-an-organization", @@ -2311,8 +2311,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2342__", + "parentId": "__FLD_40__", + "_id": "__REQ_611__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#update-an-organization", @@ -2332,8 +2332,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2343__", + "parentId": "__FLD_26__", + "_id": "__REQ_612__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-organization-events", @@ -2359,8 +2359,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2344__", + "parentId": "__FLD_40__", + "_id": "__REQ_613__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-webhooks", @@ -2386,8 +2386,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2345__", + "parentId": "__FLD_40__", + "_id": "__REQ_614__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#create-an-organization-webhook", @@ -2402,8 +2402,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2346__", + "parentId": "__FLD_40__", + "_id": "__REQ_615__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-webhook", @@ -2418,8 +2418,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2347__", + "parentId": "__FLD_40__", + "_id": "__REQ_616__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-webhook", @@ -2434,8 +2434,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2348__", + "parentId": "__FLD_40__", + "_id": "__REQ_617__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#delete-an-organization-webhook", @@ -2450,8 +2450,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2349__", + "parentId": "__FLD_40__", + "_id": "__REQ_618__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#ping-an-organization-webhook", @@ -2466,8 +2466,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2350__", + "parentId": "__FLD_27__", + "_id": "__REQ_619__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -2487,8 +2487,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2351__", + "parentId": "__FLD_35__", + "_id": "__REQ_620__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -2547,8 +2547,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2352__", + "parentId": "__FLD_40__", + "_id": "__REQ_621__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-members", @@ -2584,8 +2584,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2353__", + "parentId": "__FLD_40__", + "_id": "__REQ_622__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2600,8 +2600,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2354__", + "parentId": "__FLD_40__", + "_id": "__REQ_623__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-an-organization-member", @@ -2616,8 +2616,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2355__", + "parentId": "__FLD_40__", + "_id": "__REQ_624__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user", @@ -2632,8 +2632,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2356__", + "parentId": "__FLD_40__", + "_id": "__REQ_625__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2648,8 +2648,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2357__", + "parentId": "__FLD_40__", + "_id": "__REQ_626__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2664,8 +2664,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2358__", + "parentId": "__FLD_40__", + "_id": "__REQ_627__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2696,8 +2696,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2359__", + "parentId": "__FLD_40__", + "_id": "__REQ_628__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2712,8 +2712,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2360__", + "parentId": "__FLD_40__", + "_id": "__REQ_629__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2728,8 +2728,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2361__", + "parentId": "__FLD_31__", + "_id": "__REQ_630__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2760,8 +2760,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2362__", + "parentId": "__FLD_31__", + "_id": "__REQ_631__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2781,8 +2781,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2363__", + "parentId": "__FLD_31__", + "_id": "__REQ_632__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2802,8 +2802,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2364__", + "parentId": "__FLD_31__", + "_id": "__REQ_633__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2823,8 +2823,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2365__", + "parentId": "__FLD_41__", + "_id": "__REQ_634__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-organization-projects", @@ -2860,8 +2860,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2366__", + "parentId": "__FLD_41__", + "_id": "__REQ_635__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-an-organization-project", @@ -2881,8 +2881,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2367__", + "parentId": "__FLD_40__", + "_id": "__REQ_636__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-public-organization-members", @@ -2908,8 +2908,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2368__", + "parentId": "__FLD_40__", + "_id": "__REQ_637__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -2924,8 +2924,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2369__", + "parentId": "__FLD_40__", + "_id": "__REQ_638__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -2940,8 +2940,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2370__", + "parentId": "__FLD_40__", + "_id": "__REQ_639__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -2956,8 +2956,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2371__", + "parentId": "__FLD_45__", + "_id": "__REQ_640__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-organization-repositories", @@ -3001,8 +3001,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2372__", + "parentId": "__FLD_45__", + "_id": "__REQ_641__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-an-organization-repository", @@ -3022,8 +3022,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2373__", + "parentId": "__FLD_47__", + "_id": "__REQ_642__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams", @@ -3049,8 +3049,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2374__", + "parentId": "__FLD_47__", + "_id": "__REQ_643__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team", @@ -3065,8 +3065,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2375__", + "parentId": "__FLD_47__", + "_id": "__REQ_644__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team-by-name", @@ -3081,8 +3081,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2376__", + "parentId": "__FLD_41__", + "_id": "__REQ_645__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-card", @@ -3102,8 +3102,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2377__", + "parentId": "__FLD_41__", + "_id": "__REQ_646__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-card", @@ -3123,8 +3123,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2378__", + "parentId": "__FLD_41__", + "_id": "__REQ_647__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-card", @@ -3144,8 +3144,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2379__", + "parentId": "__FLD_41__", + "_id": "__REQ_648__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-card", @@ -3165,8 +3165,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2380__", + "parentId": "__FLD_41__", + "_id": "__REQ_649__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-column", @@ -3186,8 +3186,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2381__", + "parentId": "__FLD_41__", + "_id": "__REQ_650__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-column", @@ -3207,8 +3207,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2382__", + "parentId": "__FLD_41__", + "_id": "__REQ_651__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-column", @@ -3228,8 +3228,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2383__", + "parentId": "__FLD_41__", + "_id": "__REQ_652__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-cards", @@ -3265,8 +3265,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2384__", + "parentId": "__FLD_41__", + "_id": "__REQ_653__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-card", @@ -3286,8 +3286,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2385__", + "parentId": "__FLD_41__", + "_id": "__REQ_654__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-column", @@ -3307,8 +3307,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2386__", + "parentId": "__FLD_41__", + "_id": "__REQ_655__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#get-a-project", @@ -3328,8 +3328,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2387__", + "parentId": "__FLD_41__", + "_id": "__REQ_656__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#update-a-project", @@ -3349,8 +3349,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2388__", + "parentId": "__FLD_41__", + "_id": "__REQ_657__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#delete-a-project", @@ -3370,8 +3370,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2389__", + "parentId": "__FLD_41__", + "_id": "__REQ_658__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-collaborators", @@ -3407,8 +3407,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2390__", + "parentId": "__FLD_41__", + "_id": "__REQ_659__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#add-project-collaborator", @@ -3428,8 +3428,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2391__", + "parentId": "__FLD_41__", + "_id": "__REQ_660__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#remove-project-collaborator", @@ -3449,8 +3449,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2392__", + "parentId": "__FLD_41__", + "_id": "__REQ_661__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-project-permission-for-a-user", @@ -3470,8 +3470,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2393__", + "parentId": "__FLD_41__", + "_id": "__REQ_662__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-columns", @@ -3502,8 +3502,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2394__", + "parentId": "__FLD_41__", + "_id": "__REQ_663__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-column", @@ -3523,8 +3523,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2395__", + "parentId": "__FLD_43__", + "_id": "__REQ_664__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -3539,8 +3539,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2396__", + "parentId": "__FLD_44__", + "_id": "__REQ_665__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#delete-a-reaction", @@ -3560,8 +3560,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2397__", + "parentId": "__FLD_45__", + "_id": "__REQ_666__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-a-repository", @@ -3581,8 +3581,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2398__", + "parentId": "__FLD_45__", + "_id": "__REQ_667__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#update-a-repository", @@ -3602,8 +3602,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2399__", + "parentId": "__FLD_45__", + "_id": "__REQ_668__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#delete-a-repository", @@ -3618,8 +3618,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2400__", + "parentId": "__FLD_35__", + "_id": "__REQ_669__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-assignees", @@ -3645,8 +3645,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2401__", + "parentId": "__FLD_35__", + "_id": "__REQ_670__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3661,8 +3661,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2402__", + "parentId": "__FLD_45__", + "_id": "__REQ_671__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches", @@ -3692,8 +3692,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2403__", + "parentId": "__FLD_45__", + "_id": "__REQ_672__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-branch", @@ -3708,8 +3708,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2404__", + "parentId": "__FLD_45__", + "_id": "__REQ_673__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-branch-protection", @@ -3729,8 +3729,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2405__", + "parentId": "__FLD_45__", + "_id": "__REQ_674__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-branch-protection", @@ -3750,8 +3750,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2406__", + "parentId": "__FLD_45__", + "_id": "__REQ_675__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-branch-protection", @@ -3766,8 +3766,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2407__", + "parentId": "__FLD_45__", + "_id": "__REQ_676__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-admin-branch-protection", @@ -3782,8 +3782,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2408__", + "parentId": "__FLD_45__", + "_id": "__REQ_677__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-admin-branch-protection", @@ -3798,8 +3798,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2409__", + "parentId": "__FLD_45__", + "_id": "__REQ_678__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-admin-branch-protection", @@ -3814,8 +3814,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2410__", + "parentId": "__FLD_45__", + "_id": "__REQ_679__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-pull-request-review-protection", @@ -3835,8 +3835,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2411__", + "parentId": "__FLD_45__", + "_id": "__REQ_680__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-pull-request-review-protection", @@ -3856,8 +3856,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2412__", + "parentId": "__FLD_45__", + "_id": "__REQ_681__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-pull-request-review-protection", @@ -3872,8 +3872,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2413__", + "parentId": "__FLD_45__", + "_id": "__REQ_682__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-commit-signature-protection", @@ -3893,8 +3893,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2414__", + "parentId": "__FLD_45__", + "_id": "__REQ_683__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-commit-signature-protection", @@ -3914,8 +3914,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2415__", + "parentId": "__FLD_45__", + "_id": "__REQ_684__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-commit-signature-protection", @@ -3935,8 +3935,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2416__", + "parentId": "__FLD_45__", + "_id": "__REQ_685__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-status-checks-protection", @@ -3951,8 +3951,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2417__", + "parentId": "__FLD_45__", + "_id": "__REQ_686__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-status-check-potection", @@ -3967,8 +3967,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2418__", + "parentId": "__FLD_45__", + "_id": "__REQ_687__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-protection", @@ -3983,8 +3983,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2419__", + "parentId": "__FLD_45__", + "_id": "__REQ_688__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-status-check-contexts", @@ -3999,8 +3999,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2420__", + "parentId": "__FLD_45__", + "_id": "__REQ_689__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-status-check-contexts", @@ -4015,8 +4015,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2421__", + "parentId": "__FLD_45__", + "_id": "__REQ_690__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-status-check-contexts", @@ -4031,8 +4031,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2422__", + "parentId": "__FLD_45__", + "_id": "__REQ_691__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-contexts", @@ -4047,8 +4047,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2423__", + "parentId": "__FLD_45__", + "_id": "__REQ_692__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-access-restrictions", @@ -4063,8 +4063,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2424__", + "parentId": "__FLD_45__", + "_id": "__REQ_693__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-access-restrictions", @@ -4079,8 +4079,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2425__", + "parentId": "__FLD_45__", + "_id": "__REQ_694__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4095,8 +4095,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2426__", + "parentId": "__FLD_45__", + "_id": "__REQ_695__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-team-access-restrictions", @@ -4111,8 +4111,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2427__", + "parentId": "__FLD_45__", + "_id": "__REQ_696__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-team-access-restrictions", @@ -4127,8 +4127,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2428__", + "parentId": "__FLD_45__", + "_id": "__REQ_697__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-team-access-restrictions", @@ -4143,8 +4143,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2429__", + "parentId": "__FLD_45__", + "_id": "__REQ_698__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4159,8 +4159,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2430__", + "parentId": "__FLD_45__", + "_id": "__REQ_699__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-user-access-restrictions", @@ -4175,8 +4175,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2431__", + "parentId": "__FLD_45__", + "_id": "__REQ_700__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-user-access-restrictions", @@ -4191,8 +4191,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2432__", + "parentId": "__FLD_45__", + "_id": "__REQ_701__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-user-access-restrictions", @@ -4207,8 +4207,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2433__", + "parentId": "__FLD_28__", + "_id": "__REQ_702__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-run", @@ -4228,8 +4228,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2434__", + "parentId": "__FLD_28__", + "_id": "__REQ_703__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-run", @@ -4249,8 +4249,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2435__", + "parentId": "__FLD_28__", + "_id": "__REQ_704__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-a-check-run", @@ -4270,8 +4270,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2436__", + "parentId": "__FLD_28__", + "_id": "__REQ_705__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-run-annotations", @@ -4302,8 +4302,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2437__", + "parentId": "__FLD_28__", + "_id": "__REQ_706__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite", @@ -4323,8 +4323,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2438__", + "parentId": "__FLD_28__", + "_id": "__REQ_707__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4344,8 +4344,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2439__", + "parentId": "__FLD_28__", + "_id": "__REQ_708__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-suite", @@ -4365,8 +4365,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2440__", + "parentId": "__FLD_28__", + "_id": "__REQ_709__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4410,8 +4410,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2441__", + "parentId": "__FLD_28__", + "_id": "__REQ_710__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#rerequest-a-check-suite", @@ -4431,8 +4431,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2442__", + "parentId": "__FLD_45__", + "_id": "__REQ_711__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-collaborators", @@ -4463,8 +4463,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2443__", + "parentId": "__FLD_45__", + "_id": "__REQ_712__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4479,8 +4479,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2444__", + "parentId": "__FLD_45__", + "_id": "__REQ_713__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-a-repository-collaborator", @@ -4495,8 +4495,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2445__", + "parentId": "__FLD_45__", + "_id": "__REQ_714__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-a-repository-collaborator", @@ -4511,8 +4511,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2446__", + "parentId": "__FLD_45__", + "_id": "__REQ_715__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4527,8 +4527,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2447__", + "parentId": "__FLD_45__", + "_id": "__REQ_716__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4559,8 +4559,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2448__", + "parentId": "__FLD_45__", + "_id": "__REQ_717__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit-comment", @@ -4580,8 +4580,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2449__", + "parentId": "__FLD_45__", + "_id": "__REQ_718__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-commit-comment", @@ -4596,8 +4596,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2450__", + "parentId": "__FLD_45__", + "_id": "__REQ_719__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-commit-comment", @@ -4612,8 +4612,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2451__", + "parentId": "__FLD_44__", + "_id": "__REQ_720__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4648,8 +4648,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2452__", + "parentId": "__FLD_44__", + "_id": "__REQ_721__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4669,8 +4669,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2453__", + "parentId": "__FLD_45__", + "_id": "__REQ_722__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits", @@ -4716,8 +4716,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2454__", + "parentId": "__FLD_45__", + "_id": "__REQ_723__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches-for-head-commit", @@ -4737,8 +4737,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2455__", + "parentId": "__FLD_45__", + "_id": "__REQ_724__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments", @@ -4769,8 +4769,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2456__", + "parentId": "__FLD_45__", + "_id": "__REQ_725__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-comment", @@ -4785,8 +4785,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2457__", + "parentId": "__FLD_45__", + "_id": "__REQ_726__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -4817,8 +4817,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2458__", + "parentId": "__FLD_45__", + "_id": "__REQ_727__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit", @@ -4833,8 +4833,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2459__", + "parentId": "__FLD_28__", + "_id": "__REQ_728__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -4878,8 +4878,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2460__", + "parentId": "__FLD_28__", + "_id": "__REQ_729__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -4918,8 +4918,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2461__", + "parentId": "__FLD_45__", + "_id": "__REQ_730__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -4934,8 +4934,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2462__", + "parentId": "__FLD_45__", + "_id": "__REQ_731__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -4961,8 +4961,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2463__", + "parentId": "__FLD_29__", + "_id": "__REQ_732__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -4982,8 +4982,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2464__", + "parentId": "__FLD_45__", + "_id": "__REQ_733__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#compare-two-commits", @@ -4998,8 +4998,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2465__", + "parentId": "__FLD_45__", + "_id": "__REQ_734__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.18/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content", @@ -5019,8 +5019,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2466__", + "parentId": "__FLD_45__", + "_id": "__REQ_735__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-or-update-file-contents", @@ -5035,8 +5035,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2467__", + "parentId": "__FLD_45__", + "_id": "__REQ_736__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-file", @@ -5051,8 +5051,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2468__", + "parentId": "__FLD_45__", + "_id": "__REQ_737__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-contributors", @@ -5082,8 +5082,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2469__", + "parentId": "__FLD_45__", + "_id": "__REQ_738__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployments", @@ -5134,8 +5134,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2470__", + "parentId": "__FLD_45__", + "_id": "__REQ_739__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment", @@ -5155,8 +5155,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2471__", + "parentId": "__FLD_45__", + "_id": "__REQ_740__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment", @@ -5176,8 +5176,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2472__", + "parentId": "__FLD_45__", + "_id": "__REQ_741__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployment-statuses", @@ -5208,8 +5208,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2473__", + "parentId": "__FLD_45__", + "_id": "__REQ_742__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment-status", @@ -5229,8 +5229,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2474__", + "parentId": "__FLD_45__", + "_id": "__REQ_743__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment-status", @@ -5250,8 +5250,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2475__", + "parentId": "__FLD_26__", + "_id": "__REQ_744__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-events", @@ -5277,8 +5277,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2476__", + "parentId": "__FLD_45__", + "_id": "__REQ_745__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-forks", @@ -5309,8 +5309,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2477__", + "parentId": "__FLD_45__", + "_id": "__REQ_746__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-fork", @@ -5325,8 +5325,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2478__", + "parentId": "__FLD_33__", + "_id": "__REQ_747__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-blob", @@ -5341,8 +5341,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2479__", + "parentId": "__FLD_33__", + "_id": "__REQ_748__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-blob", @@ -5357,8 +5357,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2480__", + "parentId": "__FLD_33__", + "_id": "__REQ_749__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit", @@ -5373,8 +5373,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2481__", + "parentId": "__FLD_33__", + "_id": "__REQ_750__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-commit", @@ -5389,8 +5389,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2482__", + "parentId": "__FLD_33__", + "_id": "__REQ_751__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference", @@ -5405,8 +5405,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2483__", + "parentId": "__FLD_33__", + "_id": "__REQ_752__", "_type": "request", "name": "Get all references", "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#list-references", @@ -5432,8 +5432,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2484__", + "parentId": "__FLD_33__", + "_id": "__REQ_753__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference", @@ -5448,8 +5448,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2485__", + "parentId": "__FLD_33__", + "_id": "__REQ_754__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#delete-a-reference", @@ -5464,8 +5464,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2486__", + "parentId": "__FLD_33__", + "_id": "__REQ_755__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tag-object", @@ -5480,8 +5480,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2487__", + "parentId": "__FLD_33__", + "_id": "__REQ_756__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tag", @@ -5496,8 +5496,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2488__", + "parentId": "__FLD_33__", + "_id": "__REQ_757__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tree", @@ -5512,8 +5512,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2489__", + "parentId": "__FLD_33__", + "_id": "__REQ_758__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree", @@ -5533,8 +5533,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2490__", + "parentId": "__FLD_45__", + "_id": "__REQ_759__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-webhooks", @@ -5560,8 +5560,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2491__", + "parentId": "__FLD_45__", + "_id": "__REQ_760__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-webhook", @@ -5576,8 +5576,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2492__", + "parentId": "__FLD_45__", + "_id": "__REQ_761__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-webhook", @@ -5592,8 +5592,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2493__", + "parentId": "__FLD_45__", + "_id": "__REQ_762__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-webhook", @@ -5608,8 +5608,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2494__", + "parentId": "__FLD_45__", + "_id": "__REQ_763__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-webhook", @@ -5624,8 +5624,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2495__", + "parentId": "__FLD_45__", + "_id": "__REQ_764__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#ping-a-repository-webhook", @@ -5640,8 +5640,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2496__", + "parentId": "__FLD_45__", + "_id": "__REQ_765__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#test-the-push-repository-webhook", @@ -5656,8 +5656,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2497__", + "parentId": "__FLD_27__", + "_id": "__REQ_766__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -5677,8 +5677,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2498__", + "parentId": "__FLD_45__", + "_id": "__REQ_767__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations", @@ -5704,8 +5704,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2499__", + "parentId": "__FLD_45__", + "_id": "__REQ_768__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-invitation", @@ -5720,8 +5720,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2500__", + "parentId": "__FLD_45__", + "_id": "__REQ_769__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-invitation", @@ -5736,8 +5736,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2501__", + "parentId": "__FLD_35__", + "_id": "__REQ_770__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-repository-issues", @@ -5807,8 +5807,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2502__", + "parentId": "__FLD_35__", + "_id": "__REQ_771__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#create-an-issue", @@ -5823,8 +5823,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2503__", + "parentId": "__FLD_35__", + "_id": "__REQ_772__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments-for-a-repository", @@ -5868,8 +5868,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2504__", + "parentId": "__FLD_35__", + "_id": "__REQ_773__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-comment", @@ -5889,8 +5889,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2505__", + "parentId": "__FLD_35__", + "_id": "__REQ_774__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-an-issue-comment", @@ -5905,8 +5905,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2506__", + "parentId": "__FLD_35__", + "_id": "__REQ_775__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-an-issue-comment", @@ -5921,8 +5921,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2507__", + "parentId": "__FLD_44__", + "_id": "__REQ_776__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue-comment", @@ -5957,8 +5957,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2508__", + "parentId": "__FLD_44__", + "_id": "__REQ_777__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue-comment", @@ -5978,8 +5978,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2509__", + "parentId": "__FLD_35__", + "_id": "__REQ_778__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events-for-a-repository", @@ -6010,8 +6010,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2510__", + "parentId": "__FLD_35__", + "_id": "__REQ_779__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-event", @@ -6031,8 +6031,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2511__", + "parentId": "__FLD_35__", + "_id": "__REQ_780__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#get-an-issue", @@ -6052,8 +6052,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2512__", + "parentId": "__FLD_35__", + "_id": "__REQ_781__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#update-an-issue", @@ -6068,8 +6068,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2513__", + "parentId": "__FLD_35__", + "_id": "__REQ_782__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-assignees-to-an-issue", @@ -6084,8 +6084,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2514__", + "parentId": "__FLD_35__", + "_id": "__REQ_783__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-assignees-from-an-issue", @@ -6100,8 +6100,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2515__", + "parentId": "__FLD_35__", + "_id": "__REQ_784__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments", @@ -6136,8 +6136,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2516__", + "parentId": "__FLD_35__", + "_id": "__REQ_785__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment", @@ -6152,8 +6152,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2517__", + "parentId": "__FLD_35__", + "_id": "__REQ_786__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events", @@ -6184,8 +6184,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2518__", + "parentId": "__FLD_35__", + "_id": "__REQ_787__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-an-issue", @@ -6211,8 +6211,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2519__", + "parentId": "__FLD_35__", + "_id": "__REQ_788__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-labels-to-an-issue", @@ -6227,8 +6227,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2520__", + "parentId": "__FLD_35__", + "_id": "__REQ_789__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#set-labels-for-an-issue", @@ -6243,8 +6243,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2521__", + "parentId": "__FLD_35__", + "_id": "__REQ_790__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6259,8 +6259,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2522__", + "parentId": "__FLD_35__", + "_id": "__REQ_791__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-a-label-from-an-issue", @@ -6275,8 +6275,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2523__", + "parentId": "__FLD_35__", + "_id": "__REQ_792__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#lock-an-issue", @@ -6296,8 +6296,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2524__", + "parentId": "__FLD_35__", + "_id": "__REQ_793__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#unlock-an-issue", @@ -6312,8 +6312,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2525__", + "parentId": "__FLD_44__", + "_id": "__REQ_794__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue", @@ -6348,8 +6348,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2526__", + "parentId": "__FLD_44__", + "_id": "__REQ_795__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue", @@ -6369,8 +6369,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2527__", + "parentId": "__FLD_35__", + "_id": "__REQ_796__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-timeline-events-for-an-issue", @@ -6401,8 +6401,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2528__", + "parentId": "__FLD_45__", + "_id": "__REQ_797__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deploy-keys", @@ -6428,8 +6428,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2529__", + "parentId": "__FLD_45__", + "_id": "__REQ_798__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deploy-key", @@ -6444,8 +6444,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2530__", + "parentId": "__FLD_45__", + "_id": "__REQ_799__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deploy-key", @@ -6460,8 +6460,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2531__", + "parentId": "__FLD_45__", + "_id": "__REQ_800__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-deploy-key", @@ -6476,8 +6476,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2532__", + "parentId": "__FLD_35__", + "_id": "__REQ_801__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-a-repository", @@ -6503,8 +6503,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2533__", + "parentId": "__FLD_35__", + "_id": "__REQ_802__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-label", @@ -6519,8 +6519,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2534__", + "parentId": "__FLD_35__", + "_id": "__REQ_803__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-label", @@ -6535,8 +6535,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2535__", + "parentId": "__FLD_35__", + "_id": "__REQ_804__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-label", @@ -6551,8 +6551,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2536__", + "parentId": "__FLD_45__", + "_id": "__REQ_805__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-languages", @@ -6567,8 +6567,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2537__", + "parentId": "__FLD_36__", + "_id": "__REQ_806__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-the-license-for-a-repository", @@ -6583,8 +6583,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2538__", + "parentId": "__FLD_45__", + "_id": "__REQ_807__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#merge-a-branch", @@ -6599,8 +6599,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2539__", + "parentId": "__FLD_35__", + "_id": "__REQ_808__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-milestones", @@ -6641,8 +6641,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2540__", + "parentId": "__FLD_35__", + "_id": "__REQ_809__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-milestone", @@ -6657,8 +6657,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2541__", + "parentId": "__FLD_35__", + "_id": "__REQ_810__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-milestone", @@ -6673,8 +6673,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2542__", + "parentId": "__FLD_35__", + "_id": "__REQ_811__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-a-milestone", @@ -6689,8 +6689,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2543__", + "parentId": "__FLD_35__", + "_id": "__REQ_812__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-milestone", @@ -6705,8 +6705,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2544__", + "parentId": "__FLD_35__", + "_id": "__REQ_813__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6732,8 +6732,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2545__", + "parentId": "__FLD_26__", + "_id": "__REQ_814__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6777,8 +6777,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2546__", + "parentId": "__FLD_26__", + "_id": "__REQ_815__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-repository-notifications-as-read", @@ -6793,8 +6793,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2547__", + "parentId": "__FLD_45__", + "_id": "__REQ_816__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-github-pages-site", @@ -6809,8 +6809,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2548__", + "parentId": "__FLD_45__", + "_id": "__REQ_817__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-github-pages-site", @@ -6830,8 +6830,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2549__", + "parentId": "__FLD_45__", + "_id": "__REQ_818__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-information-about-a-github-pages-site", @@ -6851,8 +6851,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2550__", + "parentId": "__FLD_45__", + "_id": "__REQ_819__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-github-pages-site", @@ -6872,8 +6872,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2551__", + "parentId": "__FLD_45__", + "_id": "__REQ_820__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-github-pages-builds", @@ -6899,8 +6899,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2552__", + "parentId": "__FLD_45__", + "_id": "__REQ_821__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#request-a-github-pages-build", @@ -6915,8 +6915,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2553__", + "parentId": "__FLD_45__", + "_id": "__REQ_822__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-latest-pages-build", @@ -6931,8 +6931,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2554__", + "parentId": "__FLD_45__", + "_id": "__REQ_823__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-github-pages-build", @@ -6947,8 +6947,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2555__", + "parentId": "__FLD_31__", + "_id": "__REQ_824__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -6979,8 +6979,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2556__", + "parentId": "__FLD_31__", + "_id": "__REQ_825__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7000,8 +7000,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2557__", + "parentId": "__FLD_31__", + "_id": "__REQ_826__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7021,8 +7021,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2558__", + "parentId": "__FLD_31__", + "_id": "__REQ_827__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7042,8 +7042,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2559__", + "parentId": "__FLD_41__", + "_id": "__REQ_828__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-repository-projects", @@ -7079,8 +7079,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2560__", + "parentId": "__FLD_41__", + "_id": "__REQ_829__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-repository-project", @@ -7100,8 +7100,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2561__", + "parentId": "__FLD_42__", + "_id": "__REQ_830__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests", @@ -7154,8 +7154,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2562__", + "parentId": "__FLD_42__", + "_id": "__REQ_831__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#create-a-pull-request", @@ -7175,8 +7175,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2563__", + "parentId": "__FLD_42__", + "_id": "__REQ_832__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7220,8 +7220,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2564__", + "parentId": "__FLD_42__", + "_id": "__REQ_833__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7241,8 +7241,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2565__", + "parentId": "__FLD_42__", + "_id": "__REQ_834__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7262,8 +7262,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2566__", + "parentId": "__FLD_42__", + "_id": "__REQ_835__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7278,8 +7278,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2567__", + "parentId": "__FLD_44__", + "_id": "__REQ_836__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7314,8 +7314,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2568__", + "parentId": "__FLD_44__", + "_id": "__REQ_837__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7335,8 +7335,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2569__", + "parentId": "__FLD_42__", + "_id": "__REQ_838__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#get-a-pull-request", @@ -7351,8 +7351,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2570__", + "parentId": "__FLD_42__", + "_id": "__REQ_839__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request", @@ -7372,8 +7372,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2571__", + "parentId": "__FLD_42__", + "_id": "__REQ_840__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7417,8 +7417,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2572__", + "parentId": "__FLD_42__", + "_id": "__REQ_841__", "_type": "request", "name": "Create a review comment for a pull request (alternative)", "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -7433,8 +7433,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2573__", + "parentId": "__FLD_42__", + "_id": "__REQ_842__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -7449,8 +7449,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2574__", + "parentId": "__FLD_42__", + "_id": "__REQ_843__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-commits-on-a-pull-request", @@ -7476,8 +7476,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2575__", + "parentId": "__FLD_42__", + "_id": "__REQ_844__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests-files", @@ -7503,8 +7503,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2576__", + "parentId": "__FLD_42__", + "_id": "__REQ_845__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -7519,8 +7519,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2577__", + "parentId": "__FLD_42__", + "_id": "__REQ_846__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#merge-a-pull-request", @@ -7535,8 +7535,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2578__", + "parentId": "__FLD_42__", + "_id": "__REQ_847__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7562,8 +7562,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2579__", + "parentId": "__FLD_42__", + "_id": "__REQ_848__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -7578,8 +7578,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2580__", + "parentId": "__FLD_42__", + "_id": "__REQ_849__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7594,8 +7594,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2581__", + "parentId": "__FLD_42__", + "_id": "__REQ_850__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7621,8 +7621,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2582__", + "parentId": "__FLD_42__", + "_id": "__REQ_851__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -7637,8 +7637,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2583__", + "parentId": "__FLD_42__", + "_id": "__REQ_852__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7653,8 +7653,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2584__", + "parentId": "__FLD_42__", + "_id": "__REQ_853__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7669,8 +7669,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2585__", + "parentId": "__FLD_42__", + "_id": "__REQ_854__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7685,8 +7685,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2586__", + "parentId": "__FLD_42__", + "_id": "__REQ_855__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7712,8 +7712,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2587__", + "parentId": "__FLD_42__", + "_id": "__REQ_856__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7728,8 +7728,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2588__", + "parentId": "__FLD_42__", + "_id": "__REQ_857__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7744,8 +7744,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2589__", + "parentId": "__FLD_42__", + "_id": "__REQ_858__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request-branch", @@ -7765,8 +7765,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2590__", + "parentId": "__FLD_45__", + "_id": "__REQ_859__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-readme", @@ -7786,8 +7786,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2591__", + "parentId": "__FLD_45__", + "_id": "__REQ_860__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-releases", @@ -7813,8 +7813,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2592__", + "parentId": "__FLD_45__", + "_id": "__REQ_861__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release", @@ -7829,8 +7829,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2593__", + "parentId": "__FLD_45__", + "_id": "__REQ_862__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-asset", @@ -7845,8 +7845,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2594__", + "parentId": "__FLD_45__", + "_id": "__REQ_863__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release-asset", @@ -7861,8 +7861,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2595__", + "parentId": "__FLD_45__", + "_id": "__REQ_864__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release-asset", @@ -7877,8 +7877,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2596__", + "parentId": "__FLD_45__", + "_id": "__REQ_865__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-latest-release", @@ -7893,8 +7893,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2597__", + "parentId": "__FLD_45__", + "_id": "__REQ_866__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-by-tag-name", @@ -7909,8 +7909,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2598__", + "parentId": "__FLD_45__", + "_id": "__REQ_867__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release", @@ -7925,8 +7925,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2599__", + "parentId": "__FLD_45__", + "_id": "__REQ_868__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release", @@ -7941,8 +7941,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2600__", + "parentId": "__FLD_45__", + "_id": "__REQ_869__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release", @@ -7957,8 +7957,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2601__", + "parentId": "__FLD_45__", + "_id": "__REQ_870__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-release-assets", @@ -7984,8 +7984,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2602__", + "parentId": "__FLD_45__", + "_id": "__REQ_871__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#upload-a-release-asset", @@ -8009,8 +8009,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2603__", + "parentId": "__FLD_26__", + "_id": "__REQ_872__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-stargazers", @@ -8036,8 +8036,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2604__", + "parentId": "__FLD_45__", + "_id": "__REQ_873__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-activity", @@ -8052,8 +8052,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2605__", + "parentId": "__FLD_45__", + "_id": "__REQ_874__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8068,8 +8068,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2606__", + "parentId": "__FLD_45__", + "_id": "__REQ_875__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-contributor-commit-activity", @@ -8084,8 +8084,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2607__", + "parentId": "__FLD_45__", + "_id": "__REQ_876__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-count", @@ -8100,8 +8100,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2608__", + "parentId": "__FLD_45__", + "_id": "__REQ_877__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8116,8 +8116,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2609__", + "parentId": "__FLD_45__", + "_id": "__REQ_878__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-status", @@ -8132,8 +8132,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2610__", + "parentId": "__FLD_26__", + "_id": "__REQ_879__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-watchers", @@ -8159,8 +8159,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2611__", + "parentId": "__FLD_26__", + "_id": "__REQ_880__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription", @@ -8175,8 +8175,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2612__", + "parentId": "__FLD_26__", + "_id": "__REQ_881__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription", @@ -8191,8 +8191,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2613__", + "parentId": "__FLD_26__", + "_id": "__REQ_882__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription", @@ -8207,8 +8207,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2614__", + "parentId": "__FLD_45__", + "_id": "__REQ_883__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-tags", @@ -8234,8 +8234,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2615__", + "parentId": "__FLD_45__", + "_id": "__REQ_884__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", @@ -8250,8 +8250,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2616__", + "parentId": "__FLD_45__", + "_id": "__REQ_885__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-teams", @@ -8277,8 +8277,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2617__", + "parentId": "__FLD_45__", + "_id": "__REQ_886__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-all-repository-topics", @@ -8298,8 +8298,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2618__", + "parentId": "__FLD_45__", + "_id": "__REQ_887__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#replace-all-repository-topics", @@ -8319,8 +8319,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2619__", + "parentId": "__FLD_45__", + "_id": "__REQ_888__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#transfer-a-repository", @@ -8335,8 +8335,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2620__", + "parentId": "__FLD_45__", + "_id": "__REQ_889__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#enable-vulnerability-alerts", @@ -8356,8 +8356,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2621__", + "parentId": "__FLD_45__", + "_id": "__REQ_890__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#disable-vulnerability-alerts", @@ -8377,8 +8377,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2622__", + "parentId": "__FLD_45__", + "_id": "__REQ_891__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", @@ -8393,8 +8393,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2623__", + "parentId": "__FLD_45__", + "_id": "__REQ_892__", "_type": "request", "name": "Create a repository using a template", "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-using-a-template", @@ -8414,8 +8414,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2624__", + "parentId": "__FLD_45__", + "_id": "__REQ_893__", "_type": "request", "name": "List public repositories", "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-public-repositories", @@ -8440,8 +8440,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2625__", + "parentId": "__FLD_46__", + "_id": "__REQ_894__", "_type": "request", "name": "Search code", "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-code", @@ -8480,8 +8480,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2626__", + "parentId": "__FLD_46__", + "_id": "__REQ_895__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-commits", @@ -8525,8 +8525,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2627__", + "parentId": "__FLD_46__", + "_id": "__REQ_896__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-issues-and-pull-requests", @@ -8565,8 +8565,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2628__", + "parentId": "__FLD_46__", + "_id": "__REQ_897__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-labels", @@ -8599,8 +8599,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2629__", + "parentId": "__FLD_46__", + "_id": "__REQ_898__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-repositories", @@ -8644,8 +8644,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2630__", + "parentId": "__FLD_46__", + "_id": "__REQ_899__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-topics", @@ -8670,8 +8670,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2631__", + "parentId": "__FLD_46__", + "_id": "__REQ_900__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-users", @@ -8710,8 +8710,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2632__", + "parentId": "__FLD_31__", + "_id": "__REQ_901__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8726,8 +8726,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2633__", + "parentId": "__FLD_31__", + "_id": "__REQ_902__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8742,8 +8742,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2634__", + "parentId": "__FLD_31__", + "_id": "__REQ_903__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8758,8 +8758,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2635__", + "parentId": "__FLD_31__", + "_id": "__REQ_904__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", @@ -8774,8 +8774,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2636__", + "parentId": "__FLD_31__", + "_id": "__REQ_905__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings", @@ -8790,8 +8790,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2637__", + "parentId": "__FLD_31__", + "_id": "__REQ_906__", "_type": "request", "name": "Set settings", "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#set-settings", @@ -8806,8 +8806,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2638__", + "parentId": "__FLD_31__", + "_id": "__REQ_907__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -8822,8 +8822,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2639__", + "parentId": "__FLD_31__", + "_id": "__REQ_908__", "_type": "request", "name": "Add an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#add-an-authorized-ssh-key", @@ -8838,8 +8838,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2640__", + "parentId": "__FLD_31__", + "_id": "__REQ_909__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", @@ -8854,8 +8854,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2641__", + "parentId": "__FLD_31__", + "_id": "__REQ_910__", "_type": "request", "name": "Create a GitHub license", "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", @@ -8870,8 +8870,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2642__", + "parentId": "__FLD_31__", + "_id": "__REQ_911__", "_type": "request", "name": "Upgrade a license", "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#upgrade-a-license", @@ -8886,8 +8886,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2643__", + "parentId": "__FLD_47__", + "_id": "__REQ_912__", "_type": "request", "name": "Get a team", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team", @@ -8907,8 +8907,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2644__", + "parentId": "__FLD_47__", + "_id": "__REQ_913__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#update-a-team", @@ -8928,8 +8928,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2645__", + "parentId": "__FLD_47__", + "_id": "__REQ_914__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#delete-a-team", @@ -8949,8 +8949,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2646__", + "parentId": "__FLD_47__", + "_id": "__REQ_915__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussions", @@ -8986,8 +8986,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2647__", + "parentId": "__FLD_47__", + "_id": "__REQ_916__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion", @@ -9007,8 +9007,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2648__", + "parentId": "__FLD_47__", + "_id": "__REQ_917__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion", @@ -9028,8 +9028,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2649__", + "parentId": "__FLD_47__", + "_id": "__REQ_918__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion", @@ -9049,8 +9049,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2650__", + "parentId": "__FLD_47__", + "_id": "__REQ_919__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion", @@ -9070,8 +9070,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2651__", + "parentId": "__FLD_47__", + "_id": "__REQ_920__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussion-comments", @@ -9107,8 +9107,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2652__", + "parentId": "__FLD_47__", + "_id": "__REQ_921__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion-comment", @@ -9128,8 +9128,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2653__", + "parentId": "__FLD_47__", + "_id": "__REQ_922__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion-comment", @@ -9149,8 +9149,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2654__", + "parentId": "__FLD_47__", + "_id": "__REQ_923__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion-comment", @@ -9170,8 +9170,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2655__", + "parentId": "__FLD_47__", + "_id": "__REQ_924__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion-comment", @@ -9191,8 +9191,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2656__", + "parentId": "__FLD_44__", + "_id": "__REQ_925__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -9227,8 +9227,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2657__", + "parentId": "__FLD_44__", + "_id": "__REQ_926__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -9248,8 +9248,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2658__", + "parentId": "__FLD_44__", + "_id": "__REQ_927__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion", @@ -9284,8 +9284,8 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2659__", + "parentId": "__FLD_44__", + "_id": "__REQ_928__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion", @@ -9305,8 +9305,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2660__", + "parentId": "__FLD_47__", + "_id": "__REQ_929__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-team-members", @@ -9342,8 +9342,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2661__", + "parentId": "__FLD_47__", + "_id": "__REQ_930__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-member-legacy", @@ -9358,8 +9358,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2662__", + "parentId": "__FLD_47__", + "_id": "__REQ_931__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-team-member-legacy", @@ -9374,8 +9374,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2663__", + "parentId": "__FLD_47__", + "_id": "__REQ_932__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-member-legacy", @@ -9390,8 +9390,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2664__", + "parentId": "__FLD_47__", + "_id": "__REQ_933__", "_type": "request", "name": "Get team membership for a user", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user", @@ -9411,8 +9411,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2665__", + "parentId": "__FLD_47__", + "_id": "__REQ_934__", "_type": "request", "name": "Add or update team membership for a user", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -9427,8 +9427,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2666__", + "parentId": "__FLD_47__", + "_id": "__REQ_935__", "_type": "request", "name": "Remove team membership for a user", "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user", @@ -9443,8 +9443,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2667__", + "parentId": "__FLD_47__", + "_id": "__REQ_936__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-projects", @@ -9475,8 +9475,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2668__", + "parentId": "__FLD_47__", + "_id": "__REQ_937__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-project", @@ -9496,8 +9496,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2669__", + "parentId": "__FLD_47__", + "_id": "__REQ_938__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-project-permissions", @@ -9517,8 +9517,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2670__", + "parentId": "__FLD_47__", + "_id": "__REQ_939__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-project-from-a-team", @@ -9533,8 +9533,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2671__", + "parentId": "__FLD_47__", + "_id": "__REQ_940__", "_type": "request", "name": "List team repositories", "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-repositories", @@ -9565,8 +9565,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2672__", + "parentId": "__FLD_47__", + "_id": "__REQ_941__", "_type": "request", "name": "Check team permissions for a repository", "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-repository", @@ -9586,8 +9586,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2673__", + "parentId": "__FLD_47__", + "_id": "__REQ_942__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-repository-permissions", @@ -9607,8 +9607,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2674__", + "parentId": "__FLD_47__", + "_id": "__REQ_943__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-repository-from-a-team", @@ -9623,8 +9623,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2675__", + "parentId": "__FLD_47__", + "_id": "__REQ_944__", "_type": "request", "name": "List child teams", "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-child-teams", @@ -9655,8 +9655,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2676__", + "parentId": "__FLD_48__", + "_id": "__REQ_945__", "_type": "request", "name": "Get the authenticated user", "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-the-authenticated-user", @@ -9671,8 +9671,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2677__", + "parentId": "__FLD_48__", + "_id": "__REQ_946__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#update-the-authenticated-user", @@ -9687,8 +9687,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2678__", + "parentId": "__FLD_48__", + "_id": "__REQ_947__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -9714,8 +9714,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2679__", + "parentId": "__FLD_48__", + "_id": "__REQ_948__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -9730,8 +9730,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2680__", + "parentId": "__FLD_48__", + "_id": "__REQ_949__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -9746,8 +9746,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2681__", + "parentId": "__FLD_48__", + "_id": "__REQ_950__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9773,8 +9773,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2682__", + "parentId": "__FLD_48__", + "_id": "__REQ_951__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -9800,8 +9800,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2683__", + "parentId": "__FLD_48__", + "_id": "__REQ_952__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -9816,8 +9816,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2684__", + "parentId": "__FLD_48__", + "_id": "__REQ_953__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#follow-a-user", @@ -9832,8 +9832,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2685__", + "parentId": "__FLD_48__", + "_id": "__REQ_954__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#unfollow-a-user", @@ -9848,8 +9848,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2686__", + "parentId": "__FLD_48__", + "_id": "__REQ_955__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -9875,8 +9875,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2687__", + "parentId": "__FLD_48__", + "_id": "__REQ_956__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -9891,8 +9891,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2688__", + "parentId": "__FLD_48__", + "_id": "__REQ_957__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -9907,8 +9907,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2689__", + "parentId": "__FLD_48__", + "_id": "__REQ_958__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -9923,8 +9923,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2690__", + "parentId": "__FLD_27__", + "_id": "__REQ_959__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -9955,8 +9955,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2691__", + "parentId": "__FLD_27__", + "_id": "__REQ_960__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -9987,8 +9987,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2692__", + "parentId": "__FLD_27__", + "_id": "__REQ_961__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10008,8 +10008,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2693__", + "parentId": "__FLD_27__", + "_id": "__REQ_962__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10029,8 +10029,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2694__", + "parentId": "__FLD_35__", + "_id": "__REQ_963__", "_type": "request", "name": "List user account issues assigned to the authenticated user", "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", @@ -10089,8 +10089,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2695__", + "parentId": "__FLD_48__", + "_id": "__REQ_964__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10116,8 +10116,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2696__", + "parentId": "__FLD_48__", + "_id": "__REQ_965__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10132,8 +10132,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2697__", + "parentId": "__FLD_48__", + "_id": "__REQ_966__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10148,8 +10148,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2698__", + "parentId": "__FLD_48__", + "_id": "__REQ_967__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10164,8 +10164,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2699__", + "parentId": "__FLD_40__", + "_id": "__REQ_968__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10195,8 +10195,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2700__", + "parentId": "__FLD_40__", + "_id": "__REQ_969__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10211,8 +10211,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2701__", + "parentId": "__FLD_40__", + "_id": "__REQ_970__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10227,8 +10227,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2702__", + "parentId": "__FLD_40__", + "_id": "__REQ_971__", "_type": "request", "name": "List organizations for the authenticated user", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-the-authenticated-user", @@ -10254,8 +10254,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2703__", + "parentId": "__FLD_41__", + "_id": "__REQ_972__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-user-project", @@ -10275,8 +10275,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2704__", + "parentId": "__FLD_48__", + "_id": "__REQ_973__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -10302,8 +10302,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2705__", + "parentId": "__FLD_45__", + "_id": "__REQ_974__", "_type": "request", "name": "List repositories for the authenticated user", "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-the-authenticated-user", @@ -10361,8 +10361,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2706__", + "parentId": "__FLD_45__", + "_id": "__REQ_975__", "_type": "request", "name": "Create a repository for the authenticated user", "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-for-the-authenticated-user", @@ -10382,8 +10382,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2707__", + "parentId": "__FLD_45__", + "_id": "__REQ_976__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10409,8 +10409,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2708__", + "parentId": "__FLD_45__", + "_id": "__REQ_977__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#accept-a-repository-invitation", @@ -10425,8 +10425,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2709__", + "parentId": "__FLD_45__", + "_id": "__REQ_978__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#decline-a-repository-invitation", @@ -10441,8 +10441,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2710__", + "parentId": "__FLD_26__", + "_id": "__REQ_979__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10478,8 +10478,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2711__", + "parentId": "__FLD_26__", + "_id": "__REQ_980__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10494,8 +10494,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2712__", + "parentId": "__FLD_26__", + "_id": "__REQ_981__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10510,8 +10510,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2713__", + "parentId": "__FLD_26__", + "_id": "__REQ_982__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10526,8 +10526,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2714__", + "parentId": "__FLD_26__", + "_id": "__REQ_983__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10553,8 +10553,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2715__", + "parentId": "__FLD_47__", + "_id": "__REQ_984__", "_type": "request", "name": "List teams for the authenticated user", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams-for-the-authenticated-user", @@ -10580,8 +10580,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2716__", + "parentId": "__FLD_48__", + "_id": "__REQ_985__", "_type": "request", "name": "List users", "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#list-users", @@ -10606,8 +10606,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2717__", + "parentId": "__FLD_48__", + "_id": "__REQ_986__", "_type": "request", "name": "Get a user", "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.18/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-a-user", @@ -10622,8 +10622,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2718__", + "parentId": "__FLD_26__", + "_id": "__REQ_987__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10649,8 +10649,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2719__", + "parentId": "__FLD_26__", + "_id": "__REQ_988__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10676,8 +10676,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2720__", + "parentId": "__FLD_26__", + "_id": "__REQ_989__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-user", @@ -10703,8 +10703,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2721__", + "parentId": "__FLD_48__", + "_id": "__REQ_990__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-a-user", @@ -10730,8 +10730,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2722__", + "parentId": "__FLD_48__", + "_id": "__REQ_991__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-a-user-follows", @@ -10757,8 +10757,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2723__", + "parentId": "__FLD_48__", + "_id": "__REQ_992__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-user-follows-another-user", @@ -10773,8 +10773,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2724__", + "parentId": "__FLD_32__", + "_id": "__REQ_993__", "_type": "request", "name": "List gists for a user", "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-a-user", @@ -10804,8 +10804,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2725__", + "parentId": "__FLD_48__", + "_id": "__REQ_994__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-a-user", @@ -10831,8 +10831,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2726__", + "parentId": "__FLD_48__", + "_id": "__REQ_995__", "_type": "request", "name": "Get contextual information for a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-contextual-information-for-a-user", @@ -10856,8 +10856,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2727__", + "parentId": "__FLD_27__", + "_id": "__REQ_996__", "_type": "request", "name": "Get a user installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app", @@ -10877,8 +10877,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2728__", + "parentId": "__FLD_48__", + "_id": "__REQ_997__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-keys-for-a-user", @@ -10904,8 +10904,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2729__", + "parentId": "__FLD_40__", + "_id": "__REQ_998__", "_type": "request", "name": "List organizations for a user", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-a-user", @@ -10931,8 +10931,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2730__", + "parentId": "__FLD_41__", + "_id": "__REQ_999__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-user-projects", @@ -10968,8 +10968,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2731__", + "parentId": "__FLD_26__", + "_id": "__REQ_1000__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -10995,8 +10995,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2732__", + "parentId": "__FLD_26__", + "_id": "__REQ_1001__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-received-by-a-user", @@ -11022,8 +11022,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2733__", + "parentId": "__FLD_45__", + "_id": "__REQ_1002__", "_type": "request", "name": "List repositories for a user", "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-a-user", @@ -11068,8 +11068,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2734__", + "parentId": "__FLD_31__", + "_id": "__REQ_1003__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -11084,8 +11084,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2735__", + "parentId": "__FLD_31__", + "_id": "__REQ_1004__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -11100,8 +11100,8 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2736__", + "parentId": "__FLD_26__", + "_id": "__REQ_1005__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11137,8 +11137,8 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2737__", + "parentId": "__FLD_26__", + "_id": "__REQ_1006__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11164,8 +11164,8 @@ ] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2738__", + "parentId": "__FLD_31__", + "_id": "__REQ_1007__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user", @@ -11180,8 +11180,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2739__", + "parentId": "__FLD_31__", + "_id": "__REQ_1008__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11196,8 +11196,8 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2740__", + "parentId": "__FLD_38__", + "_id": "__REQ_1009__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.19.json b/routes/ghes-2.19.json index 60d4e9d..88a3d8b 100644 --- a/routes/ghes-2.19.json +++ b/routes/ghes-2.19.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.264Z", + "__export_date": "2021-02-18T17:02:26.922Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_51__", + "_id": "__FLD_1__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -78,146 +78,146 @@ } }, { - "parentId": "__FLD_51__", - "_id": "__FLD_52__", + "parentId": "__FLD_1__", + "_id": "__FLD_2__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_53__", + "parentId": "__FLD_1__", + "_id": "__FLD_3__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_54__", + "parentId": "__FLD_1__", + "_id": "__FLD_4__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_55__", + "parentId": "__FLD_1__", + "_id": "__FLD_5__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_56__", + "parentId": "__FLD_1__", + "_id": "__FLD_6__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_57__", + "parentId": "__FLD_1__", + "_id": "__FLD_7__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_58__", + "parentId": "__FLD_1__", + "_id": "__FLD_8__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_59__", + "parentId": "__FLD_1__", + "_id": "__FLD_9__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_60__", + "parentId": "__FLD_1__", + "_id": "__FLD_10__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_61__", + "parentId": "__FLD_1__", + "_id": "__FLD_11__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_62__", + "parentId": "__FLD_1__", + "_id": "__FLD_12__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_63__", + "parentId": "__FLD_1__", + "_id": "__FLD_13__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_64__", + "parentId": "__FLD_1__", + "_id": "__FLD_14__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_65__", + "parentId": "__FLD_1__", + "_id": "__FLD_15__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_66__", + "parentId": "__FLD_1__", + "_id": "__FLD_16__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_67__", + "parentId": "__FLD_1__", + "_id": "__FLD_17__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_68__", + "parentId": "__FLD_1__", + "_id": "__FLD_18__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_69__", + "parentId": "__FLD_1__", + "_id": "__FLD_19__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_70__", + "parentId": "__FLD_1__", + "_id": "__FLD_20__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_71__", + "parentId": "__FLD_1__", + "_id": "__FLD_21__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_72__", + "parentId": "__FLD_1__", + "_id": "__FLD_22__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_73__", + "parentId": "__FLD_1__", + "_id": "__FLD_23__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_74__", + "parentId": "__FLD_1__", + "_id": "__FLD_24__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1215__", + "parentId": "__FLD_14__", + "_id": "__REQ_1__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -232,8 +232,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1216__", + "parentId": "__FLD_7__", + "_id": "__REQ_2__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +264,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1217__", + "parentId": "__FLD_7__", + "_id": "__REQ_3__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +285,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1218__", + "parentId": "__FLD_7__", + "_id": "__REQ_4__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +306,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1219__", + "parentId": "__FLD_7__", + "_id": "__REQ_5__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +327,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1220__", + "parentId": "__FLD_7__", + "_id": "__REQ_6__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +348,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1221__", + "parentId": "__FLD_7__", + "_id": "__REQ_7__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +369,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1222__", + "parentId": "__FLD_7__", + "_id": "__REQ_8__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-public-keys", @@ -396,8 +396,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1223__", + "parentId": "__FLD_7__", + "_id": "__REQ_9__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,8 +412,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1224__", + "parentId": "__FLD_7__", + "_id": "__REQ_10__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -433,8 +433,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1225__", + "parentId": "__FLD_7__", + "_id": "__REQ_11__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -449,8 +449,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1226__", + "parentId": "__FLD_7__", + "_id": "__REQ_12__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -465,8 +465,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1227__", + "parentId": "__FLD_7__", + "_id": "__REQ_13__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -481,8 +481,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1228__", + "parentId": "__FLD_7__", + "_id": "__REQ_14__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-organization", @@ -497,8 +497,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1229__", + "parentId": "__FLD_7__", + "_id": "__REQ_15__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-an-organization-name", @@ -513,8 +513,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1230__", + "parentId": "__FLD_7__", + "_id": "__REQ_16__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -545,8 +545,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1231__", + "parentId": "__FLD_7__", + "_id": "__REQ_17__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -566,8 +566,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1232__", + "parentId": "__FLD_7__", + "_id": "__REQ_18__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -587,8 +587,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1233__", + "parentId": "__FLD_7__", + "_id": "__REQ_19__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -608,8 +608,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1234__", + "parentId": "__FLD_7__", + "_id": "__REQ_20__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -629,8 +629,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1235__", + "parentId": "__FLD_7__", + "_id": "__REQ_21__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -650,8 +650,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1236__", + "parentId": "__FLD_7__", + "_id": "__REQ_22__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -671,8 +671,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1237__", + "parentId": "__FLD_7__", + "_id": "__REQ_23__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -703,8 +703,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1238__", + "parentId": "__FLD_7__", + "_id": "__REQ_24__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -724,8 +724,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1239__", + "parentId": "__FLD_7__", + "_id": "__REQ_25__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -745,8 +745,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1240__", + "parentId": "__FLD_7__", + "_id": "__REQ_26__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -766,8 +766,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1241__", + "parentId": "__FLD_7__", + "_id": "__REQ_27__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -787,8 +787,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1242__", + "parentId": "__FLD_7__", + "_id": "__REQ_28__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -814,8 +814,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1243__", + "parentId": "__FLD_7__", + "_id": "__REQ_29__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -830,8 +830,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1244__", + "parentId": "__FLD_7__", + "_id": "__REQ_30__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-user", @@ -846,8 +846,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1245__", + "parentId": "__FLD_7__", + "_id": "__REQ_31__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -862,8 +862,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1246__", + "parentId": "__FLD_7__", + "_id": "__REQ_32__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-user", @@ -878,8 +878,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1247__", + "parentId": "__FLD_7__", + "_id": "__REQ_33__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -894,8 +894,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1248__", + "parentId": "__FLD_7__", + "_id": "__REQ_34__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -910,8 +910,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1249__", + "parentId": "__FLD_3__", + "_id": "__REQ_35__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-the-authenticated-app", @@ -931,8 +931,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1250__", + "parentId": "__FLD_3__", + "_id": "__REQ_36__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-a-github-app-from-a-manifest", @@ -947,8 +947,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1251__", + "parentId": "__FLD_3__", + "_id": "__REQ_37__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#list-installations-for-the-authenticated-app", @@ -979,8 +979,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1252__", + "parentId": "__FLD_3__", + "_id": "__REQ_38__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -1000,8 +1000,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1253__", + "parentId": "__FLD_3__", + "_id": "__REQ_39__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1021,8 +1021,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1254__", + "parentId": "__FLD_3__", + "_id": "__REQ_40__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1042,8 +1042,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1255__", + "parentId": "__FLD_15__", + "_id": "__REQ_41__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-grants", @@ -1069,8 +1069,8 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1256__", + "parentId": "__FLD_15__", + "_id": "__REQ_42__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1085,8 +1085,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1257__", + "parentId": "__FLD_15__", + "_id": "__REQ_43__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-a-grant", @@ -1101,8 +1101,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1258__", + "parentId": "__FLD_15__", + "_id": "__REQ_44__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", @@ -1117,8 +1117,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1259__", + "parentId": "__FLD_15__", + "_id": "__REQ_45__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#check-an-authorization", @@ -1133,8 +1133,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1260__", + "parentId": "__FLD_15__", + "_id": "__REQ_46__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#reset-an-authorization", @@ -1149,8 +1149,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1261__", + "parentId": "__FLD_15__", + "_id": "__REQ_47__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", @@ -1165,8 +1165,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1262__", + "parentId": "__FLD_3__", + "_id": "__REQ_48__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-app", @@ -1186,8 +1186,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1263__", + "parentId": "__FLD_15__", + "_id": "__REQ_49__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1213,8 +1213,8 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1264__", + "parentId": "__FLD_15__", + "_id": "__REQ_50__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1229,8 +1229,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1265__", + "parentId": "__FLD_15__", + "_id": "__REQ_51__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1245,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1266__", + "parentId": "__FLD_15__", + "_id": "__REQ_52__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1261,8 +1261,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1267__", + "parentId": "__FLD_15__", + "_id": "__REQ_53__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1277,8 +1277,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1268__", + "parentId": "__FLD_15__", + "_id": "__REQ_54__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1293,8 +1293,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1269__", + "parentId": "__FLD_15__", + "_id": "__REQ_55__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1309,8 +1309,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1270__", + "parentId": "__FLD_5__", + "_id": "__REQ_56__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1330,8 +1330,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1271__", + "parentId": "__FLD_5__", + "_id": "__REQ_57__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1351,8 +1351,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1272__", + "parentId": "__FLD_3__", + "_id": "__REQ_58__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#create-a-content-attachment", @@ -1372,8 +1372,8 @@ "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1273__", + "parentId": "__FLD_6__", + "_id": "__REQ_59__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/emojis/#get-emojis", @@ -1388,8 +1388,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1274__", + "parentId": "__FLD_7__", + "_id": "__REQ_60__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-license-information", @@ -1404,8 +1404,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1275__", + "parentId": "__FLD_7__", + "_id": "__REQ_61__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-statistics", @@ -1420,8 +1420,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1276__", + "parentId": "__FLD_2__", + "_id": "__REQ_62__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events", @@ -1447,8 +1447,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1277__", + "parentId": "__FLD_2__", + "_id": "__REQ_63__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-feeds", @@ -1463,8 +1463,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1278__", + "parentId": "__FLD_8__", + "_id": "__REQ_64__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-the-authenticated-user", @@ -1494,8 +1494,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1279__", + "parentId": "__FLD_8__", + "_id": "__REQ_65__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#create-a-gist", @@ -1510,8 +1510,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1280__", + "parentId": "__FLD_8__", + "_id": "__REQ_66__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-public-gists", @@ -1541,8 +1541,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1281__", + "parentId": "__FLD_8__", + "_id": "__REQ_67__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-starred-gists", @@ -1572,8 +1572,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1282__", + "parentId": "__FLD_8__", + "_id": "__REQ_68__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist", @@ -1588,8 +1588,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1283__", + "parentId": "__FLD_8__", + "_id": "__REQ_69__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#update-a-gist", @@ -1604,8 +1604,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1284__", + "parentId": "__FLD_8__", + "_id": "__REQ_70__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#delete-a-gist", @@ -1620,8 +1620,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1285__", + "parentId": "__FLD_8__", + "_id": "__REQ_71__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gist-comments", @@ -1647,8 +1647,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1286__", + "parentId": "__FLD_8__", + "_id": "__REQ_72__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#create-a-gist-comment", @@ -1663,8 +1663,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1287__", + "parentId": "__FLD_8__", + "_id": "__REQ_73__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#get-a-gist-comment", @@ -1679,8 +1679,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1288__", + "parentId": "__FLD_8__", + "_id": "__REQ_74__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#update-a-gist-comment", @@ -1695,8 +1695,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1289__", + "parentId": "__FLD_8__", + "_id": "__REQ_75__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#delete-a-gist-comment", @@ -1711,8 +1711,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1290__", + "parentId": "__FLD_8__", + "_id": "__REQ_76__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-commits", @@ -1738,8 +1738,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1291__", + "parentId": "__FLD_8__", + "_id": "__REQ_77__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-forks", @@ -1765,8 +1765,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1292__", + "parentId": "__FLD_8__", + "_id": "__REQ_78__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#fork-a-gist", @@ -1781,8 +1781,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1293__", + "parentId": "__FLD_8__", + "_id": "__REQ_79__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#check-if-a-gist-is-starred", @@ -1797,8 +1797,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1294__", + "parentId": "__FLD_8__", + "_id": "__REQ_80__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#star-a-gist", @@ -1813,8 +1813,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1295__", + "parentId": "__FLD_8__", + "_id": "__REQ_81__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#unstar-a-gist", @@ -1829,8 +1829,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1296__", + "parentId": "__FLD_8__", + "_id": "__REQ_82__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist-revision", @@ -1845,8 +1845,8 @@ "parameters": [] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1297__", + "parentId": "__FLD_10__", + "_id": "__REQ_83__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-all-gitignore-templates", @@ -1861,8 +1861,8 @@ "parameters": [] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1298__", + "parentId": "__FLD_10__", + "_id": "__REQ_84__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-a-gitignore-template", @@ -1877,8 +1877,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1299__", + "parentId": "__FLD_3__", + "_id": "__REQ_85__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1909,8 +1909,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1300__", + "parentId": "__FLD_11__", + "_id": "__REQ_86__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -1985,8 +1985,8 @@ ] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1301__", + "parentId": "__FLD_12__", + "_id": "__REQ_87__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-all-commonly-used-licenses", @@ -2011,8 +2011,8 @@ ] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1302__", + "parentId": "__FLD_12__", + "_id": "__REQ_88__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-a-license", @@ -2027,8 +2027,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1303__", + "parentId": "__FLD_13__", + "_id": "__REQ_89__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document", @@ -2043,8 +2043,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1304__", + "parentId": "__FLD_13__", + "_id": "__REQ_90__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2059,8 +2059,8 @@ "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1305__", + "parentId": "__FLD_14__", + "_id": "__REQ_91__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/meta/#get-github-meta-information", @@ -2075,8 +2075,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1306__", + "parentId": "__FLD_2__", + "_id": "__REQ_92__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2102,8 +2102,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1307__", + "parentId": "__FLD_2__", + "_id": "__REQ_93__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2147,8 +2147,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1308__", + "parentId": "__FLD_2__", + "_id": "__REQ_94__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-notifications-as-read", @@ -2163,8 +2163,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1309__", + "parentId": "__FLD_2__", + "_id": "__REQ_95__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread", @@ -2179,8 +2179,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1310__", + "parentId": "__FLD_2__", + "_id": "__REQ_96__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-a-thread-as-read", @@ -2195,8 +2195,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1311__", + "parentId": "__FLD_2__", + "_id": "__REQ_97__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2211,8 +2211,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1312__", + "parentId": "__FLD_2__", + "_id": "__REQ_98__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription", @@ -2227,8 +2227,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1313__", + "parentId": "__FLD_2__", + "_id": "__REQ_99__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription", @@ -2243,8 +2243,8 @@ "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1314__", + "parentId": "__FLD_14__", + "_id": "__REQ_100__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2264,8 +2264,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1315__", + "parentId": "__FLD_16__", + "_id": "__REQ_101__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations", @@ -2290,8 +2290,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1316__", + "parentId": "__FLD_16__", + "_id": "__REQ_102__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#get-an-organization", @@ -2311,8 +2311,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1317__", + "parentId": "__FLD_16__", + "_id": "__REQ_103__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#update-an-organization", @@ -2332,8 +2332,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1318__", + "parentId": "__FLD_2__", + "_id": "__REQ_104__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-organization-events", @@ -2359,8 +2359,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1319__", + "parentId": "__FLD_16__", + "_id": "__REQ_105__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-webhooks", @@ -2386,8 +2386,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1320__", + "parentId": "__FLD_16__", + "_id": "__REQ_106__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#create-an-organization-webhook", @@ -2402,8 +2402,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1321__", + "parentId": "__FLD_16__", + "_id": "__REQ_107__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-webhook", @@ -2418,8 +2418,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1322__", + "parentId": "__FLD_16__", + "_id": "__REQ_108__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-webhook", @@ -2434,8 +2434,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1323__", + "parentId": "__FLD_16__", + "_id": "__REQ_109__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#delete-an-organization-webhook", @@ -2450,8 +2450,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1324__", + "parentId": "__FLD_16__", + "_id": "__REQ_110__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#ping-an-organization-webhook", @@ -2466,8 +2466,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1325__", + "parentId": "__FLD_3__", + "_id": "__REQ_111__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -2487,8 +2487,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1326__", + "parentId": "__FLD_16__", + "_id": "__REQ_112__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-app-installations-for-an-organization", @@ -2519,8 +2519,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1327__", + "parentId": "__FLD_11__", + "_id": "__REQ_113__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -2579,8 +2579,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1328__", + "parentId": "__FLD_16__", + "_id": "__REQ_114__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-members", @@ -2616,8 +2616,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1329__", + "parentId": "__FLD_16__", + "_id": "__REQ_115__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2632,8 +2632,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1330__", + "parentId": "__FLD_16__", + "_id": "__REQ_116__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-an-organization-member", @@ -2648,8 +2648,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1331__", + "parentId": "__FLD_16__", + "_id": "__REQ_117__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user", @@ -2664,8 +2664,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1332__", + "parentId": "__FLD_16__", + "_id": "__REQ_118__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2680,8 +2680,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1333__", + "parentId": "__FLD_16__", + "_id": "__REQ_119__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2696,8 +2696,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1334__", + "parentId": "__FLD_16__", + "_id": "__REQ_120__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2728,8 +2728,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1335__", + "parentId": "__FLD_16__", + "_id": "__REQ_121__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2744,8 +2744,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1336__", + "parentId": "__FLD_16__", + "_id": "__REQ_122__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2760,8 +2760,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1337__", + "parentId": "__FLD_7__", + "_id": "__REQ_123__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2792,8 +2792,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1338__", + "parentId": "__FLD_7__", + "_id": "__REQ_124__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2813,8 +2813,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1339__", + "parentId": "__FLD_7__", + "_id": "__REQ_125__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2834,8 +2834,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1340__", + "parentId": "__FLD_7__", + "_id": "__REQ_126__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2855,8 +2855,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1341__", + "parentId": "__FLD_17__", + "_id": "__REQ_127__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-organization-projects", @@ -2892,8 +2892,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1342__", + "parentId": "__FLD_17__", + "_id": "__REQ_128__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-an-organization-project", @@ -2913,8 +2913,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1343__", + "parentId": "__FLD_16__", + "_id": "__REQ_129__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-public-organization-members", @@ -2940,8 +2940,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1344__", + "parentId": "__FLD_16__", + "_id": "__REQ_130__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -2956,8 +2956,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1345__", + "parentId": "__FLD_16__", + "_id": "__REQ_131__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -2972,8 +2972,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1346__", + "parentId": "__FLD_16__", + "_id": "__REQ_132__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -2988,8 +2988,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1347__", + "parentId": "__FLD_21__", + "_id": "__REQ_133__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-organization-repositories", @@ -3033,8 +3033,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1348__", + "parentId": "__FLD_21__", + "_id": "__REQ_134__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-an-organization-repository", @@ -3054,8 +3054,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1349__", + "parentId": "__FLD_23__", + "_id": "__REQ_135__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams", @@ -3081,8 +3081,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1350__", + "parentId": "__FLD_23__", + "_id": "__REQ_136__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team", @@ -3097,8 +3097,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1351__", + "parentId": "__FLD_23__", + "_id": "__REQ_137__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team-by-name", @@ -3113,8 +3113,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1352__", + "parentId": "__FLD_17__", + "_id": "__REQ_138__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-card", @@ -3134,8 +3134,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1353__", + "parentId": "__FLD_17__", + "_id": "__REQ_139__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-card", @@ -3155,8 +3155,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1354__", + "parentId": "__FLD_17__", + "_id": "__REQ_140__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-card", @@ -3176,8 +3176,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1355__", + "parentId": "__FLD_17__", + "_id": "__REQ_141__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-card", @@ -3197,8 +3197,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1356__", + "parentId": "__FLD_17__", + "_id": "__REQ_142__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-column", @@ -3218,8 +3218,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1357__", + "parentId": "__FLD_17__", + "_id": "__REQ_143__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-column", @@ -3239,8 +3239,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1358__", + "parentId": "__FLD_17__", + "_id": "__REQ_144__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-column", @@ -3260,8 +3260,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1359__", + "parentId": "__FLD_17__", + "_id": "__REQ_145__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-cards", @@ -3297,8 +3297,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1360__", + "parentId": "__FLD_17__", + "_id": "__REQ_146__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-card", @@ -3318,8 +3318,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1361__", + "parentId": "__FLD_17__", + "_id": "__REQ_147__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-column", @@ -3339,8 +3339,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1362__", + "parentId": "__FLD_17__", + "_id": "__REQ_148__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#get-a-project", @@ -3360,8 +3360,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1363__", + "parentId": "__FLD_17__", + "_id": "__REQ_149__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#update-a-project", @@ -3381,8 +3381,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1364__", + "parentId": "__FLD_17__", + "_id": "__REQ_150__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#delete-a-project", @@ -3402,8 +3402,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1365__", + "parentId": "__FLD_17__", + "_id": "__REQ_151__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-collaborators", @@ -3439,8 +3439,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1366__", + "parentId": "__FLD_17__", + "_id": "__REQ_152__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#add-project-collaborator", @@ -3460,8 +3460,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1367__", + "parentId": "__FLD_17__", + "_id": "__REQ_153__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#remove-project-collaborator", @@ -3481,8 +3481,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1368__", + "parentId": "__FLD_17__", + "_id": "__REQ_154__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-project-permission-for-a-user", @@ -3502,8 +3502,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1369__", + "parentId": "__FLD_17__", + "_id": "__REQ_155__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-columns", @@ -3534,8 +3534,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1370__", + "parentId": "__FLD_17__", + "_id": "__REQ_156__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-column", @@ -3555,8 +3555,8 @@ "parameters": [] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1371__", + "parentId": "__FLD_19__", + "_id": "__REQ_157__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -3571,8 +3571,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1372__", + "parentId": "__FLD_20__", + "_id": "__REQ_158__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#delete-a-reaction", @@ -3592,8 +3592,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1373__", + "parentId": "__FLD_21__", + "_id": "__REQ_159__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-a-repository", @@ -3613,8 +3613,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1374__", + "parentId": "__FLD_21__", + "_id": "__REQ_160__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#update-a-repository", @@ -3634,8 +3634,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1375__", + "parentId": "__FLD_21__", + "_id": "__REQ_161__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#delete-a-repository", @@ -3650,8 +3650,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1376__", + "parentId": "__FLD_11__", + "_id": "__REQ_162__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-assignees", @@ -3677,8 +3677,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1377__", + "parentId": "__FLD_11__", + "_id": "__REQ_163__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3693,8 +3693,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1378__", + "parentId": "__FLD_21__", + "_id": "__REQ_164__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches", @@ -3724,8 +3724,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1379__", + "parentId": "__FLD_21__", + "_id": "__REQ_165__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-branch", @@ -3740,8 +3740,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1380__", + "parentId": "__FLD_21__", + "_id": "__REQ_166__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-branch-protection", @@ -3761,8 +3761,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1381__", + "parentId": "__FLD_21__", + "_id": "__REQ_167__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-branch-protection", @@ -3782,8 +3782,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1382__", + "parentId": "__FLD_21__", + "_id": "__REQ_168__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-branch-protection", @@ -3798,8 +3798,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1383__", + "parentId": "__FLD_21__", + "_id": "__REQ_169__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-admin-branch-protection", @@ -3814,8 +3814,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1384__", + "parentId": "__FLD_21__", + "_id": "__REQ_170__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-admin-branch-protection", @@ -3830,8 +3830,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1385__", + "parentId": "__FLD_21__", + "_id": "__REQ_171__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-admin-branch-protection", @@ -3846,8 +3846,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1386__", + "parentId": "__FLD_21__", + "_id": "__REQ_172__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-pull-request-review-protection", @@ -3867,8 +3867,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1387__", + "parentId": "__FLD_21__", + "_id": "__REQ_173__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-pull-request-review-protection", @@ -3888,8 +3888,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1388__", + "parentId": "__FLD_21__", + "_id": "__REQ_174__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-pull-request-review-protection", @@ -3904,8 +3904,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1389__", + "parentId": "__FLD_21__", + "_id": "__REQ_175__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-commit-signature-protection", @@ -3925,8 +3925,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1390__", + "parentId": "__FLD_21__", + "_id": "__REQ_176__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-commit-signature-protection", @@ -3946,8 +3946,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1391__", + "parentId": "__FLD_21__", + "_id": "__REQ_177__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-commit-signature-protection", @@ -3967,8 +3967,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1392__", + "parentId": "__FLD_21__", + "_id": "__REQ_178__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-status-checks-protection", @@ -3983,8 +3983,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1393__", + "parentId": "__FLD_21__", + "_id": "__REQ_179__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-status-check-potection", @@ -3999,8 +3999,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1394__", + "parentId": "__FLD_21__", + "_id": "__REQ_180__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-protection", @@ -4015,8 +4015,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1395__", + "parentId": "__FLD_21__", + "_id": "__REQ_181__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-status-check-contexts", @@ -4031,8 +4031,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1396__", + "parentId": "__FLD_21__", + "_id": "__REQ_182__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-status-check-contexts", @@ -4047,8 +4047,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1397__", + "parentId": "__FLD_21__", + "_id": "__REQ_183__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-status-check-contexts", @@ -4063,8 +4063,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1398__", + "parentId": "__FLD_21__", + "_id": "__REQ_184__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-contexts", @@ -4079,8 +4079,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1399__", + "parentId": "__FLD_21__", + "_id": "__REQ_185__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-access-restrictions", @@ -4095,8 +4095,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1400__", + "parentId": "__FLD_21__", + "_id": "__REQ_186__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-access-restrictions", @@ -4111,8 +4111,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1401__", + "parentId": "__FLD_21__", + "_id": "__REQ_187__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4127,8 +4127,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1402__", + "parentId": "__FLD_21__", + "_id": "__REQ_188__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-app-access-restrictions", @@ -4143,8 +4143,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1403__", + "parentId": "__FLD_21__", + "_id": "__REQ_189__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-app-access-restrictions", @@ -4159,8 +4159,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1404__", + "parentId": "__FLD_21__", + "_id": "__REQ_190__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-app-access-restrictions", @@ -4175,8 +4175,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1405__", + "parentId": "__FLD_21__", + "_id": "__REQ_191__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4191,8 +4191,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1406__", + "parentId": "__FLD_21__", + "_id": "__REQ_192__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-team-access-restrictions", @@ -4207,8 +4207,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1407__", + "parentId": "__FLD_21__", + "_id": "__REQ_193__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-team-access-restrictions", @@ -4223,8 +4223,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1408__", + "parentId": "__FLD_21__", + "_id": "__REQ_194__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-team-access-restrictions", @@ -4239,8 +4239,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1409__", + "parentId": "__FLD_21__", + "_id": "__REQ_195__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4255,8 +4255,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1410__", + "parentId": "__FLD_21__", + "_id": "__REQ_196__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-user-access-restrictions", @@ -4271,8 +4271,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1411__", + "parentId": "__FLD_21__", + "_id": "__REQ_197__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-user-access-restrictions", @@ -4287,8 +4287,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1412__", + "parentId": "__FLD_21__", + "_id": "__REQ_198__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-user-access-restrictions", @@ -4303,8 +4303,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1413__", + "parentId": "__FLD_4__", + "_id": "__REQ_199__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-run", @@ -4324,8 +4324,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1414__", + "parentId": "__FLD_4__", + "_id": "__REQ_200__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-run", @@ -4345,8 +4345,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1415__", + "parentId": "__FLD_4__", + "_id": "__REQ_201__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-a-check-run", @@ -4366,8 +4366,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1416__", + "parentId": "__FLD_4__", + "_id": "__REQ_202__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-run-annotations", @@ -4398,8 +4398,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1417__", + "parentId": "__FLD_4__", + "_id": "__REQ_203__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite", @@ -4419,8 +4419,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1418__", + "parentId": "__FLD_4__", + "_id": "__REQ_204__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4440,8 +4440,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1419__", + "parentId": "__FLD_4__", + "_id": "__REQ_205__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-suite", @@ -4461,8 +4461,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1420__", + "parentId": "__FLD_4__", + "_id": "__REQ_206__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4506,8 +4506,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1421__", + "parentId": "__FLD_4__", + "_id": "__REQ_207__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#rerequest-a-check-suite", @@ -4527,8 +4527,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1422__", + "parentId": "__FLD_21__", + "_id": "__REQ_208__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-collaborators", @@ -4559,8 +4559,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1423__", + "parentId": "__FLD_21__", + "_id": "__REQ_209__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4575,8 +4575,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1424__", + "parentId": "__FLD_21__", + "_id": "__REQ_210__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-a-repository-collaborator", @@ -4591,8 +4591,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1425__", + "parentId": "__FLD_21__", + "_id": "__REQ_211__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-a-repository-collaborator", @@ -4607,8 +4607,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1426__", + "parentId": "__FLD_21__", + "_id": "__REQ_212__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4623,8 +4623,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1427__", + "parentId": "__FLD_21__", + "_id": "__REQ_213__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4655,8 +4655,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1428__", + "parentId": "__FLD_21__", + "_id": "__REQ_214__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit-comment", @@ -4676,8 +4676,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1429__", + "parentId": "__FLD_21__", + "_id": "__REQ_215__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-commit-comment", @@ -4692,8 +4692,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1430__", + "parentId": "__FLD_21__", + "_id": "__REQ_216__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-commit-comment", @@ -4708,8 +4708,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1431__", + "parentId": "__FLD_20__", + "_id": "__REQ_217__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4744,8 +4744,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1432__", + "parentId": "__FLD_20__", + "_id": "__REQ_218__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4765,8 +4765,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1433__", + "parentId": "__FLD_21__", + "_id": "__REQ_219__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits", @@ -4812,8 +4812,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1434__", + "parentId": "__FLD_21__", + "_id": "__REQ_220__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches-for-head-commit", @@ -4833,8 +4833,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1435__", + "parentId": "__FLD_21__", + "_id": "__REQ_221__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments", @@ -4865,8 +4865,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1436__", + "parentId": "__FLD_21__", + "_id": "__REQ_222__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-comment", @@ -4881,8 +4881,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1437__", + "parentId": "__FLD_21__", + "_id": "__REQ_223__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -4913,8 +4913,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1438__", + "parentId": "__FLD_21__", + "_id": "__REQ_224__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit", @@ -4929,8 +4929,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1439__", + "parentId": "__FLD_4__", + "_id": "__REQ_225__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -4974,8 +4974,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1440__", + "parentId": "__FLD_4__", + "_id": "__REQ_226__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5014,8 +5014,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1441__", + "parentId": "__FLD_21__", + "_id": "__REQ_227__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5030,8 +5030,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1442__", + "parentId": "__FLD_21__", + "_id": "__REQ_228__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5057,8 +5057,8 @@ ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1443__", + "parentId": "__FLD_5__", + "_id": "__REQ_229__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -5078,8 +5078,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1444__", + "parentId": "__FLD_21__", + "_id": "__REQ_230__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#compare-two-commits", @@ -5094,8 +5094,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1445__", + "parentId": "__FLD_21__", + "_id": "__REQ_231__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.19/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content", @@ -5115,8 +5115,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1446__", + "parentId": "__FLD_21__", + "_id": "__REQ_232__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-or-update-file-contents", @@ -5131,8 +5131,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1447__", + "parentId": "__FLD_21__", + "_id": "__REQ_233__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-file", @@ -5147,8 +5147,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1448__", + "parentId": "__FLD_21__", + "_id": "__REQ_234__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-contributors", @@ -5178,8 +5178,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1449__", + "parentId": "__FLD_21__", + "_id": "__REQ_235__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployments", @@ -5230,8 +5230,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1450__", + "parentId": "__FLD_21__", + "_id": "__REQ_236__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment", @@ -5251,8 +5251,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1451__", + "parentId": "__FLD_21__", + "_id": "__REQ_237__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment", @@ -5272,8 +5272,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1452__", + "parentId": "__FLD_21__", + "_id": "__REQ_238__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployment-statuses", @@ -5304,8 +5304,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1453__", + "parentId": "__FLD_21__", + "_id": "__REQ_239__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment-status", @@ -5325,8 +5325,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1454__", + "parentId": "__FLD_21__", + "_id": "__REQ_240__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment-status", @@ -5346,8 +5346,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1455__", + "parentId": "__FLD_2__", + "_id": "__REQ_241__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-events", @@ -5373,8 +5373,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1456__", + "parentId": "__FLD_21__", + "_id": "__REQ_242__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-forks", @@ -5405,8 +5405,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1457__", + "parentId": "__FLD_21__", + "_id": "__REQ_243__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-fork", @@ -5421,8 +5421,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1458__", + "parentId": "__FLD_9__", + "_id": "__REQ_244__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-blob", @@ -5437,8 +5437,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1459__", + "parentId": "__FLD_9__", + "_id": "__REQ_245__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-blob", @@ -5453,8 +5453,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1460__", + "parentId": "__FLD_9__", + "_id": "__REQ_246__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit", @@ -5469,8 +5469,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1461__", + "parentId": "__FLD_9__", + "_id": "__REQ_247__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-commit", @@ -5485,8 +5485,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1462__", + "parentId": "__FLD_9__", + "_id": "__REQ_248__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#list-matching-references", @@ -5512,8 +5512,8 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1463__", + "parentId": "__FLD_9__", + "_id": "__REQ_249__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-reference", @@ -5528,8 +5528,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1464__", + "parentId": "__FLD_9__", + "_id": "__REQ_250__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference", @@ -5544,8 +5544,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1465__", + "parentId": "__FLD_9__", + "_id": "__REQ_251__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference", @@ -5560,8 +5560,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1466__", + "parentId": "__FLD_9__", + "_id": "__REQ_252__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#delete-a-reference", @@ -5576,8 +5576,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1467__", + "parentId": "__FLD_9__", + "_id": "__REQ_253__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tag-object", @@ -5592,8 +5592,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1468__", + "parentId": "__FLD_9__", + "_id": "__REQ_254__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tag", @@ -5608,8 +5608,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1469__", + "parentId": "__FLD_9__", + "_id": "__REQ_255__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tree", @@ -5624,8 +5624,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1470__", + "parentId": "__FLD_9__", + "_id": "__REQ_256__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree", @@ -5645,8 +5645,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1471__", + "parentId": "__FLD_21__", + "_id": "__REQ_257__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-webhooks", @@ -5672,8 +5672,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1472__", + "parentId": "__FLD_21__", + "_id": "__REQ_258__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-webhook", @@ -5688,8 +5688,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1473__", + "parentId": "__FLD_21__", + "_id": "__REQ_259__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-webhook", @@ -5704,8 +5704,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1474__", + "parentId": "__FLD_21__", + "_id": "__REQ_260__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-webhook", @@ -5720,8 +5720,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1475__", + "parentId": "__FLD_21__", + "_id": "__REQ_261__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-webhook", @@ -5736,8 +5736,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1476__", + "parentId": "__FLD_21__", + "_id": "__REQ_262__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#ping-a-repository-webhook", @@ -5752,8 +5752,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1477__", + "parentId": "__FLD_21__", + "_id": "__REQ_263__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#test-the-push-repository-webhook", @@ -5768,8 +5768,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1478__", + "parentId": "__FLD_3__", + "_id": "__REQ_264__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -5789,8 +5789,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1479__", + "parentId": "__FLD_21__", + "_id": "__REQ_265__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations", @@ -5816,8 +5816,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1480__", + "parentId": "__FLD_21__", + "_id": "__REQ_266__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-invitation", @@ -5832,8 +5832,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1481__", + "parentId": "__FLD_21__", + "_id": "__REQ_267__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-invitation", @@ -5848,8 +5848,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1482__", + "parentId": "__FLD_11__", + "_id": "__REQ_268__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-repository-issues", @@ -5919,8 +5919,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1483__", + "parentId": "__FLD_11__", + "_id": "__REQ_269__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#create-an-issue", @@ -5935,8 +5935,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1484__", + "parentId": "__FLD_11__", + "_id": "__REQ_270__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments-for-a-repository", @@ -5980,8 +5980,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1485__", + "parentId": "__FLD_11__", + "_id": "__REQ_271__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-comment", @@ -6001,8 +6001,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1486__", + "parentId": "__FLD_11__", + "_id": "__REQ_272__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-an-issue-comment", @@ -6017,8 +6017,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1487__", + "parentId": "__FLD_11__", + "_id": "__REQ_273__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-an-issue-comment", @@ -6033,8 +6033,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1488__", + "parentId": "__FLD_20__", + "_id": "__REQ_274__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue-comment", @@ -6069,8 +6069,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1489__", + "parentId": "__FLD_20__", + "_id": "__REQ_275__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue-comment", @@ -6090,8 +6090,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1490__", + "parentId": "__FLD_11__", + "_id": "__REQ_276__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events-for-a-repository", @@ -6122,8 +6122,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1491__", + "parentId": "__FLD_11__", + "_id": "__REQ_277__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-event", @@ -6143,8 +6143,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1492__", + "parentId": "__FLD_11__", + "_id": "__REQ_278__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#get-an-issue", @@ -6164,8 +6164,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1493__", + "parentId": "__FLD_11__", + "_id": "__REQ_279__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#update-an-issue", @@ -6180,8 +6180,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1494__", + "parentId": "__FLD_11__", + "_id": "__REQ_280__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-assignees-to-an-issue", @@ -6196,8 +6196,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1495__", + "parentId": "__FLD_11__", + "_id": "__REQ_281__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-assignees-from-an-issue", @@ -6212,8 +6212,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1496__", + "parentId": "__FLD_11__", + "_id": "__REQ_282__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments", @@ -6248,8 +6248,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1497__", + "parentId": "__FLD_11__", + "_id": "__REQ_283__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment", @@ -6264,8 +6264,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1498__", + "parentId": "__FLD_11__", + "_id": "__REQ_284__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events", @@ -6296,8 +6296,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1499__", + "parentId": "__FLD_11__", + "_id": "__REQ_285__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-an-issue", @@ -6323,8 +6323,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1500__", + "parentId": "__FLD_11__", + "_id": "__REQ_286__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-labels-to-an-issue", @@ -6339,8 +6339,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1501__", + "parentId": "__FLD_11__", + "_id": "__REQ_287__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#set-labels-for-an-issue", @@ -6355,8 +6355,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1502__", + "parentId": "__FLD_11__", + "_id": "__REQ_288__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6371,8 +6371,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1503__", + "parentId": "__FLD_11__", + "_id": "__REQ_289__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-a-label-from-an-issue", @@ -6387,8 +6387,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1504__", + "parentId": "__FLD_11__", + "_id": "__REQ_290__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#lock-an-issue", @@ -6408,8 +6408,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1505__", + "parentId": "__FLD_11__", + "_id": "__REQ_291__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#unlock-an-issue", @@ -6424,8 +6424,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1506__", + "parentId": "__FLD_20__", + "_id": "__REQ_292__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue", @@ -6460,8 +6460,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1507__", + "parentId": "__FLD_20__", + "_id": "__REQ_293__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue", @@ -6481,8 +6481,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1508__", + "parentId": "__FLD_11__", + "_id": "__REQ_294__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-timeline-events-for-an-issue", @@ -6513,8 +6513,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1509__", + "parentId": "__FLD_21__", + "_id": "__REQ_295__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deploy-keys", @@ -6540,8 +6540,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1510__", + "parentId": "__FLD_21__", + "_id": "__REQ_296__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deploy-key", @@ -6556,8 +6556,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1511__", + "parentId": "__FLD_21__", + "_id": "__REQ_297__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deploy-key", @@ -6572,8 +6572,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1512__", + "parentId": "__FLD_21__", + "_id": "__REQ_298__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-deploy-key", @@ -6588,8 +6588,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1513__", + "parentId": "__FLD_11__", + "_id": "__REQ_299__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-a-repository", @@ -6615,8 +6615,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1514__", + "parentId": "__FLD_11__", + "_id": "__REQ_300__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-label", @@ -6631,8 +6631,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1515__", + "parentId": "__FLD_11__", + "_id": "__REQ_301__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-label", @@ -6647,8 +6647,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1516__", + "parentId": "__FLD_11__", + "_id": "__REQ_302__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-label", @@ -6663,8 +6663,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1517__", + "parentId": "__FLD_11__", + "_id": "__REQ_303__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-label", @@ -6679,8 +6679,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1518__", + "parentId": "__FLD_21__", + "_id": "__REQ_304__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-languages", @@ -6695,8 +6695,8 @@ "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1519__", + "parentId": "__FLD_12__", + "_id": "__REQ_305__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-the-license-for-a-repository", @@ -6711,8 +6711,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1520__", + "parentId": "__FLD_21__", + "_id": "__REQ_306__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#merge-a-branch", @@ -6727,8 +6727,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1521__", + "parentId": "__FLD_11__", + "_id": "__REQ_307__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-milestones", @@ -6769,8 +6769,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1522__", + "parentId": "__FLD_11__", + "_id": "__REQ_308__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-milestone", @@ -6785,8 +6785,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1523__", + "parentId": "__FLD_11__", + "_id": "__REQ_309__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-milestone", @@ -6801,8 +6801,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1524__", + "parentId": "__FLD_11__", + "_id": "__REQ_310__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-milestone", @@ -6817,8 +6817,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1525__", + "parentId": "__FLD_11__", + "_id": "__REQ_311__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-milestone", @@ -6833,8 +6833,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1526__", + "parentId": "__FLD_11__", + "_id": "__REQ_312__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6860,8 +6860,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1527__", + "parentId": "__FLD_2__", + "_id": "__REQ_313__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6905,8 +6905,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1528__", + "parentId": "__FLD_2__", + "_id": "__REQ_314__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-repository-notifications-as-read", @@ -6921,8 +6921,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1529__", + "parentId": "__FLD_21__", + "_id": "__REQ_315__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-github-pages-site", @@ -6937,8 +6937,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1530__", + "parentId": "__FLD_21__", + "_id": "__REQ_316__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-github-pages-site", @@ -6958,8 +6958,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1531__", + "parentId": "__FLD_21__", + "_id": "__REQ_317__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-information-about-a-github-pages-site", @@ -6974,8 +6974,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1532__", + "parentId": "__FLD_21__", + "_id": "__REQ_318__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-github-pages-site", @@ -6995,8 +6995,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1533__", + "parentId": "__FLD_21__", + "_id": "__REQ_319__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-github-pages-builds", @@ -7022,8 +7022,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1534__", + "parentId": "__FLD_21__", + "_id": "__REQ_320__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#request-a-github-pages-build", @@ -7038,8 +7038,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1535__", + "parentId": "__FLD_21__", + "_id": "__REQ_321__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-latest-pages-build", @@ -7054,8 +7054,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1536__", + "parentId": "__FLD_21__", + "_id": "__REQ_322__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-github-pages-build", @@ -7070,8 +7070,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1537__", + "parentId": "__FLD_7__", + "_id": "__REQ_323__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7102,8 +7102,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1538__", + "parentId": "__FLD_7__", + "_id": "__REQ_324__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7123,8 +7123,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1539__", + "parentId": "__FLD_7__", + "_id": "__REQ_325__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7144,8 +7144,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1540__", + "parentId": "__FLD_7__", + "_id": "__REQ_326__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7165,8 +7165,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1541__", + "parentId": "__FLD_17__", + "_id": "__REQ_327__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-repository-projects", @@ -7202,8 +7202,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1542__", + "parentId": "__FLD_17__", + "_id": "__REQ_328__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-repository-project", @@ -7223,8 +7223,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1543__", + "parentId": "__FLD_18__", + "_id": "__REQ_329__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests", @@ -7277,8 +7277,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1544__", + "parentId": "__FLD_18__", + "_id": "__REQ_330__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#create-a-pull-request", @@ -7298,8 +7298,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1545__", + "parentId": "__FLD_18__", + "_id": "__REQ_331__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7343,8 +7343,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1546__", + "parentId": "__FLD_18__", + "_id": "__REQ_332__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7364,8 +7364,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1547__", + "parentId": "__FLD_18__", + "_id": "__REQ_333__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7385,8 +7385,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1548__", + "parentId": "__FLD_18__", + "_id": "__REQ_334__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7401,8 +7401,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1549__", + "parentId": "__FLD_20__", + "_id": "__REQ_335__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7437,8 +7437,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1550__", + "parentId": "__FLD_20__", + "_id": "__REQ_336__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7458,8 +7458,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1551__", + "parentId": "__FLD_18__", + "_id": "__REQ_337__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#get-a-pull-request", @@ -7474,8 +7474,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1552__", + "parentId": "__FLD_18__", + "_id": "__REQ_338__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request", @@ -7495,8 +7495,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1553__", + "parentId": "__FLD_18__", + "_id": "__REQ_339__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7540,8 +7540,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1554__", + "parentId": "__FLD_18__", + "_id": "__REQ_340__", "_type": "request", "name": "Create a review comment for a pull request (alternative)", "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -7556,8 +7556,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1555__", + "parentId": "__FLD_18__", + "_id": "__REQ_341__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -7572,8 +7572,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1556__", + "parentId": "__FLD_18__", + "_id": "__REQ_342__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-commits-on-a-pull-request", @@ -7599,8 +7599,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1557__", + "parentId": "__FLD_18__", + "_id": "__REQ_343__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests-files", @@ -7626,8 +7626,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1558__", + "parentId": "__FLD_18__", + "_id": "__REQ_344__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -7642,8 +7642,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1559__", + "parentId": "__FLD_18__", + "_id": "__REQ_345__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#merge-a-pull-request", @@ -7658,8 +7658,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1560__", + "parentId": "__FLD_18__", + "_id": "__REQ_346__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7685,8 +7685,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1561__", + "parentId": "__FLD_18__", + "_id": "__REQ_347__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -7701,8 +7701,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1562__", + "parentId": "__FLD_18__", + "_id": "__REQ_348__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7717,8 +7717,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1563__", + "parentId": "__FLD_18__", + "_id": "__REQ_349__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7744,8 +7744,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1564__", + "parentId": "__FLD_18__", + "_id": "__REQ_350__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -7760,8 +7760,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1565__", + "parentId": "__FLD_18__", + "_id": "__REQ_351__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7776,8 +7776,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1566__", + "parentId": "__FLD_18__", + "_id": "__REQ_352__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7792,8 +7792,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1567__", + "parentId": "__FLD_18__", + "_id": "__REQ_353__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7808,8 +7808,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1568__", + "parentId": "__FLD_18__", + "_id": "__REQ_354__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7835,8 +7835,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1569__", + "parentId": "__FLD_18__", + "_id": "__REQ_355__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7851,8 +7851,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1570__", + "parentId": "__FLD_18__", + "_id": "__REQ_356__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7867,8 +7867,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1571__", + "parentId": "__FLD_18__", + "_id": "__REQ_357__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request-branch", @@ -7888,8 +7888,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1572__", + "parentId": "__FLD_21__", + "_id": "__REQ_358__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-readme", @@ -7909,8 +7909,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1573__", + "parentId": "__FLD_21__", + "_id": "__REQ_359__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-releases", @@ -7936,8 +7936,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1574__", + "parentId": "__FLD_21__", + "_id": "__REQ_360__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release", @@ -7952,8 +7952,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1575__", + "parentId": "__FLD_21__", + "_id": "__REQ_361__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-asset", @@ -7968,8 +7968,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1576__", + "parentId": "__FLD_21__", + "_id": "__REQ_362__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release-asset", @@ -7984,8 +7984,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1577__", + "parentId": "__FLD_21__", + "_id": "__REQ_363__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release-asset", @@ -8000,8 +8000,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1578__", + "parentId": "__FLD_21__", + "_id": "__REQ_364__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-latest-release", @@ -8016,8 +8016,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1579__", + "parentId": "__FLD_21__", + "_id": "__REQ_365__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-by-tag-name", @@ -8032,8 +8032,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1580__", + "parentId": "__FLD_21__", + "_id": "__REQ_366__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release", @@ -8048,8 +8048,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1581__", + "parentId": "__FLD_21__", + "_id": "__REQ_367__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release", @@ -8064,8 +8064,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1582__", + "parentId": "__FLD_21__", + "_id": "__REQ_368__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release", @@ -8080,8 +8080,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1583__", + "parentId": "__FLD_21__", + "_id": "__REQ_369__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-release-assets", @@ -8107,8 +8107,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1584__", + "parentId": "__FLD_21__", + "_id": "__REQ_370__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#upload-a-release-asset", @@ -8132,8 +8132,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1585__", + "parentId": "__FLD_2__", + "_id": "__REQ_371__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-stargazers", @@ -8159,8 +8159,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1586__", + "parentId": "__FLD_21__", + "_id": "__REQ_372__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-activity", @@ -8175,8 +8175,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1587__", + "parentId": "__FLD_21__", + "_id": "__REQ_373__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8191,8 +8191,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1588__", + "parentId": "__FLD_21__", + "_id": "__REQ_374__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-contributor-commit-activity", @@ -8207,8 +8207,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1589__", + "parentId": "__FLD_21__", + "_id": "__REQ_375__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-count", @@ -8223,8 +8223,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1590__", + "parentId": "__FLD_21__", + "_id": "__REQ_376__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8239,8 +8239,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1591__", + "parentId": "__FLD_21__", + "_id": "__REQ_377__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-status", @@ -8255,8 +8255,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1592__", + "parentId": "__FLD_2__", + "_id": "__REQ_378__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-watchers", @@ -8282,8 +8282,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1593__", + "parentId": "__FLD_2__", + "_id": "__REQ_379__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription", @@ -8298,8 +8298,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1594__", + "parentId": "__FLD_2__", + "_id": "__REQ_380__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription", @@ -8314,8 +8314,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1595__", + "parentId": "__FLD_2__", + "_id": "__REQ_381__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription", @@ -8330,8 +8330,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1596__", + "parentId": "__FLD_21__", + "_id": "__REQ_382__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-tags", @@ -8357,8 +8357,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1597__", + "parentId": "__FLD_21__", + "_id": "__REQ_383__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", @@ -8373,8 +8373,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1598__", + "parentId": "__FLD_21__", + "_id": "__REQ_384__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-teams", @@ -8400,8 +8400,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1599__", + "parentId": "__FLD_21__", + "_id": "__REQ_385__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-all-repository-topics", @@ -8421,8 +8421,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1600__", + "parentId": "__FLD_21__", + "_id": "__REQ_386__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#replace-all-repository-topics", @@ -8442,8 +8442,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1601__", + "parentId": "__FLD_21__", + "_id": "__REQ_387__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#transfer-a-repository", @@ -8458,8 +8458,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1602__", + "parentId": "__FLD_21__", + "_id": "__REQ_388__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#enable-vulnerability-alerts", @@ -8479,8 +8479,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1603__", + "parentId": "__FLD_21__", + "_id": "__REQ_389__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#disable-vulnerability-alerts", @@ -8500,8 +8500,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1604__", + "parentId": "__FLD_21__", + "_id": "__REQ_390__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", @@ -8516,8 +8516,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1605__", + "parentId": "__FLD_21__", + "_id": "__REQ_391__", "_type": "request", "name": "Create a repository using a template", "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-using-a-template", @@ -8537,8 +8537,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1606__", + "parentId": "__FLD_21__", + "_id": "__REQ_392__", "_type": "request", "name": "List public repositories", "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-public-repositories", @@ -8563,8 +8563,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1607__", + "parentId": "__FLD_22__", + "_id": "__REQ_393__", "_type": "request", "name": "Search code", "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-code", @@ -8603,8 +8603,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1608__", + "parentId": "__FLD_22__", + "_id": "__REQ_394__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-commits", @@ -8648,8 +8648,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1609__", + "parentId": "__FLD_22__", + "_id": "__REQ_395__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-issues-and-pull-requests", @@ -8688,8 +8688,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1610__", + "parentId": "__FLD_22__", + "_id": "__REQ_396__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-labels", @@ -8722,8 +8722,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1611__", + "parentId": "__FLD_22__", + "_id": "__REQ_397__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-repositories", @@ -8767,8 +8767,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1612__", + "parentId": "__FLD_22__", + "_id": "__REQ_398__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-topics", @@ -8793,8 +8793,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1613__", + "parentId": "__FLD_22__", + "_id": "__REQ_399__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-users", @@ -8833,8 +8833,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1614__", + "parentId": "__FLD_7__", + "_id": "__REQ_400__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8849,8 +8849,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1615__", + "parentId": "__FLD_7__", + "_id": "__REQ_401__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8865,8 +8865,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1616__", + "parentId": "__FLD_7__", + "_id": "__REQ_402__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8881,8 +8881,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1617__", + "parentId": "__FLD_7__", + "_id": "__REQ_403__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", @@ -8897,8 +8897,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1618__", + "parentId": "__FLD_7__", + "_id": "__REQ_404__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings", @@ -8913,8 +8913,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1619__", + "parentId": "__FLD_7__", + "_id": "__REQ_405__", "_type": "request", "name": "Set settings", "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#set-settings", @@ -8929,8 +8929,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1620__", + "parentId": "__FLD_7__", + "_id": "__REQ_406__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -8945,8 +8945,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1621__", + "parentId": "__FLD_7__", + "_id": "__REQ_407__", "_type": "request", "name": "Add an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#add-an-authorized-ssh-key", @@ -8961,8 +8961,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1622__", + "parentId": "__FLD_7__", + "_id": "__REQ_408__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", @@ -8977,8 +8977,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1623__", + "parentId": "__FLD_7__", + "_id": "__REQ_409__", "_type": "request", "name": "Create a GitHub license", "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", @@ -8993,8 +8993,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1624__", + "parentId": "__FLD_7__", + "_id": "__REQ_410__", "_type": "request", "name": "Upgrade a license", "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#upgrade-a-license", @@ -9009,8 +9009,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1625__", + "parentId": "__FLD_23__", + "_id": "__REQ_411__", "_type": "request", "name": "Get a team", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team", @@ -9030,8 +9030,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1626__", + "parentId": "__FLD_23__", + "_id": "__REQ_412__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#update-a-team", @@ -9051,8 +9051,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1627__", + "parentId": "__FLD_23__", + "_id": "__REQ_413__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#delete-a-team", @@ -9072,8 +9072,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1628__", + "parentId": "__FLD_23__", + "_id": "__REQ_414__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussions", @@ -9109,8 +9109,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1629__", + "parentId": "__FLD_23__", + "_id": "__REQ_415__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion", @@ -9130,8 +9130,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1630__", + "parentId": "__FLD_23__", + "_id": "__REQ_416__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion", @@ -9151,8 +9151,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1631__", + "parentId": "__FLD_23__", + "_id": "__REQ_417__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion", @@ -9172,8 +9172,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1632__", + "parentId": "__FLD_23__", + "_id": "__REQ_418__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion", @@ -9188,8 +9188,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1633__", + "parentId": "__FLD_23__", + "_id": "__REQ_419__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussion-comments", @@ -9225,8 +9225,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1634__", + "parentId": "__FLD_23__", + "_id": "__REQ_420__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion-comment", @@ -9246,8 +9246,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1635__", + "parentId": "__FLD_23__", + "_id": "__REQ_421__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion-comment", @@ -9267,8 +9267,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1636__", + "parentId": "__FLD_23__", + "_id": "__REQ_422__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion-comment", @@ -9288,8 +9288,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1637__", + "parentId": "__FLD_23__", + "_id": "__REQ_423__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion-comment", @@ -9304,8 +9304,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1638__", + "parentId": "__FLD_20__", + "_id": "__REQ_424__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -9340,8 +9340,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1639__", + "parentId": "__FLD_20__", + "_id": "__REQ_425__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -9361,8 +9361,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1640__", + "parentId": "__FLD_20__", + "_id": "__REQ_426__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion", @@ -9397,8 +9397,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1641__", + "parentId": "__FLD_20__", + "_id": "__REQ_427__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion", @@ -9418,8 +9418,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1642__", + "parentId": "__FLD_23__", + "_id": "__REQ_428__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-team-members", @@ -9455,8 +9455,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1643__", + "parentId": "__FLD_23__", + "_id": "__REQ_429__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-member-legacy", @@ -9471,8 +9471,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1644__", + "parentId": "__FLD_23__", + "_id": "__REQ_430__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-team-member-legacy", @@ -9487,8 +9487,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1645__", + "parentId": "__FLD_23__", + "_id": "__REQ_431__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-member-legacy", @@ -9503,8 +9503,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1646__", + "parentId": "__FLD_23__", + "_id": "__REQ_432__", "_type": "request", "name": "Get team membership for a user", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user", @@ -9524,8 +9524,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1647__", + "parentId": "__FLD_23__", + "_id": "__REQ_433__", "_type": "request", "name": "Add or update team membership for a user", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -9540,8 +9540,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1648__", + "parentId": "__FLD_23__", + "_id": "__REQ_434__", "_type": "request", "name": "Remove team membership for a user", "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user", @@ -9556,8 +9556,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1649__", + "parentId": "__FLD_23__", + "_id": "__REQ_435__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-projects", @@ -9588,8 +9588,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1650__", + "parentId": "__FLD_23__", + "_id": "__REQ_436__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-project", @@ -9609,8 +9609,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1651__", + "parentId": "__FLD_23__", + "_id": "__REQ_437__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-project-permissions", @@ -9630,8 +9630,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1652__", + "parentId": "__FLD_23__", + "_id": "__REQ_438__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-project-from-a-team", @@ -9646,8 +9646,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1653__", + "parentId": "__FLD_23__", + "_id": "__REQ_439__", "_type": "request", "name": "List team repositories", "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-repositories", @@ -9678,8 +9678,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1654__", + "parentId": "__FLD_23__", + "_id": "__REQ_440__", "_type": "request", "name": "Check team permissions for a repository", "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-repository", @@ -9699,8 +9699,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1655__", + "parentId": "__FLD_23__", + "_id": "__REQ_441__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-repository-permissions", @@ -9720,8 +9720,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1656__", + "parentId": "__FLD_23__", + "_id": "__REQ_442__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-repository-from-a-team", @@ -9736,8 +9736,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1657__", + "parentId": "__FLD_23__", + "_id": "__REQ_443__", "_type": "request", "name": "List child teams", "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-child-teams", @@ -9768,8 +9768,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1658__", + "parentId": "__FLD_24__", + "_id": "__REQ_444__", "_type": "request", "name": "Get the authenticated user", "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-the-authenticated-user", @@ -9784,8 +9784,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1659__", + "parentId": "__FLD_24__", + "_id": "__REQ_445__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#update-the-authenticated-user", @@ -9800,8 +9800,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1660__", + "parentId": "__FLD_24__", + "_id": "__REQ_446__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -9827,8 +9827,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1661__", + "parentId": "__FLD_24__", + "_id": "__REQ_447__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -9843,8 +9843,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1662__", + "parentId": "__FLD_24__", + "_id": "__REQ_448__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -9859,8 +9859,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1663__", + "parentId": "__FLD_24__", + "_id": "__REQ_449__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9886,8 +9886,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1664__", + "parentId": "__FLD_24__", + "_id": "__REQ_450__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -9913,8 +9913,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1665__", + "parentId": "__FLD_24__", + "_id": "__REQ_451__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -9929,8 +9929,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1666__", + "parentId": "__FLD_24__", + "_id": "__REQ_452__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#follow-a-user", @@ -9945,8 +9945,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1667__", + "parentId": "__FLD_24__", + "_id": "__REQ_453__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#unfollow-a-user", @@ -9961,8 +9961,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1668__", + "parentId": "__FLD_24__", + "_id": "__REQ_454__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -9988,8 +9988,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1669__", + "parentId": "__FLD_24__", + "_id": "__REQ_455__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10004,8 +10004,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1670__", + "parentId": "__FLD_24__", + "_id": "__REQ_456__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10020,8 +10020,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1671__", + "parentId": "__FLD_24__", + "_id": "__REQ_457__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10036,8 +10036,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1672__", + "parentId": "__FLD_3__", + "_id": "__REQ_458__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10068,8 +10068,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1673__", + "parentId": "__FLD_3__", + "_id": "__REQ_459__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -10100,8 +10100,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1674__", + "parentId": "__FLD_3__", + "_id": "__REQ_460__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10121,8 +10121,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1675__", + "parentId": "__FLD_3__", + "_id": "__REQ_461__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10142,8 +10142,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1676__", + "parentId": "__FLD_11__", + "_id": "__REQ_462__", "_type": "request", "name": "List user account issues assigned to the authenticated user", "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", @@ -10202,8 +10202,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1677__", + "parentId": "__FLD_24__", + "_id": "__REQ_463__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10229,8 +10229,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1678__", + "parentId": "__FLD_24__", + "_id": "__REQ_464__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10245,8 +10245,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1679__", + "parentId": "__FLD_24__", + "_id": "__REQ_465__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10261,8 +10261,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1680__", + "parentId": "__FLD_24__", + "_id": "__REQ_466__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10277,8 +10277,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1681__", + "parentId": "__FLD_16__", + "_id": "__REQ_467__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10308,8 +10308,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1682__", + "parentId": "__FLD_16__", + "_id": "__REQ_468__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10324,8 +10324,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1683__", + "parentId": "__FLD_16__", + "_id": "__REQ_469__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10340,8 +10340,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1684__", + "parentId": "__FLD_16__", + "_id": "__REQ_470__", "_type": "request", "name": "List organizations for the authenticated user", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-the-authenticated-user", @@ -10367,8 +10367,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1685__", + "parentId": "__FLD_17__", + "_id": "__REQ_471__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-user-project", @@ -10388,8 +10388,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1686__", + "parentId": "__FLD_24__", + "_id": "__REQ_472__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -10415,8 +10415,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1687__", + "parentId": "__FLD_21__", + "_id": "__REQ_473__", "_type": "request", "name": "List repositories for the authenticated user", "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-the-authenticated-user", @@ -10474,8 +10474,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1688__", + "parentId": "__FLD_21__", + "_id": "__REQ_474__", "_type": "request", "name": "Create a repository for the authenticated user", "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-for-the-authenticated-user", @@ -10495,8 +10495,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1689__", + "parentId": "__FLD_21__", + "_id": "__REQ_475__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10522,8 +10522,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1690__", + "parentId": "__FLD_21__", + "_id": "__REQ_476__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#accept-a-repository-invitation", @@ -10538,8 +10538,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1691__", + "parentId": "__FLD_21__", + "_id": "__REQ_477__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#decline-a-repository-invitation", @@ -10554,8 +10554,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1692__", + "parentId": "__FLD_2__", + "_id": "__REQ_478__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10591,8 +10591,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1693__", + "parentId": "__FLD_2__", + "_id": "__REQ_479__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10607,8 +10607,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1694__", + "parentId": "__FLD_2__", + "_id": "__REQ_480__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10623,8 +10623,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1695__", + "parentId": "__FLD_2__", + "_id": "__REQ_481__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10639,8 +10639,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1696__", + "parentId": "__FLD_2__", + "_id": "__REQ_482__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10666,8 +10666,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1697__", + "parentId": "__FLD_23__", + "_id": "__REQ_483__", "_type": "request", "name": "List teams for the authenticated user", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams-for-the-authenticated-user", @@ -10693,8 +10693,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1698__", + "parentId": "__FLD_24__", + "_id": "__REQ_484__", "_type": "request", "name": "List users", "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#list-users", @@ -10719,8 +10719,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1699__", + "parentId": "__FLD_24__", + "_id": "__REQ_485__", "_type": "request", "name": "Get a user", "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.19/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-a-user", @@ -10735,8 +10735,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1700__", + "parentId": "__FLD_2__", + "_id": "__REQ_486__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10762,8 +10762,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1701__", + "parentId": "__FLD_2__", + "_id": "__REQ_487__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10789,8 +10789,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1702__", + "parentId": "__FLD_2__", + "_id": "__REQ_488__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-user", @@ -10816,8 +10816,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1703__", + "parentId": "__FLD_24__", + "_id": "__REQ_489__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-a-user", @@ -10843,8 +10843,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1704__", + "parentId": "__FLD_24__", + "_id": "__REQ_490__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-a-user-follows", @@ -10870,8 +10870,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1705__", + "parentId": "__FLD_24__", + "_id": "__REQ_491__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-user-follows-another-user", @@ -10886,8 +10886,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1706__", + "parentId": "__FLD_8__", + "_id": "__REQ_492__", "_type": "request", "name": "List gists for a user", "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-a-user", @@ -10917,8 +10917,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1707__", + "parentId": "__FLD_24__", + "_id": "__REQ_493__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-a-user", @@ -10944,8 +10944,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1708__", + "parentId": "__FLD_24__", + "_id": "__REQ_494__", "_type": "request", "name": "Get contextual information for a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-contextual-information-for-a-user", @@ -10969,8 +10969,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1709__", + "parentId": "__FLD_3__", + "_id": "__REQ_495__", "_type": "request", "name": "Get a user installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app", @@ -10990,8 +10990,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1710__", + "parentId": "__FLD_24__", + "_id": "__REQ_496__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-keys-for-a-user", @@ -11017,8 +11017,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1711__", + "parentId": "__FLD_16__", + "_id": "__REQ_497__", "_type": "request", "name": "List organizations for a user", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-a-user", @@ -11044,8 +11044,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1712__", + "parentId": "__FLD_17__", + "_id": "__REQ_498__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-user-projects", @@ -11081,8 +11081,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1713__", + "parentId": "__FLD_2__", + "_id": "__REQ_499__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -11108,8 +11108,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1714__", + "parentId": "__FLD_2__", + "_id": "__REQ_500__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-received-by-a-user", @@ -11135,8 +11135,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1715__", + "parentId": "__FLD_21__", + "_id": "__REQ_501__", "_type": "request", "name": "List repositories for a user", "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-a-user", @@ -11181,8 +11181,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1716__", + "parentId": "__FLD_7__", + "_id": "__REQ_502__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -11197,8 +11197,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1717__", + "parentId": "__FLD_7__", + "_id": "__REQ_503__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -11213,8 +11213,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1718__", + "parentId": "__FLD_2__", + "_id": "__REQ_504__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11250,8 +11250,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1719__", + "parentId": "__FLD_2__", + "_id": "__REQ_505__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11277,8 +11277,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1720__", + "parentId": "__FLD_7__", + "_id": "__REQ_506__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user", @@ -11293,8 +11293,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1721__", + "parentId": "__FLD_7__", + "_id": "__REQ_507__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11309,8 +11309,8 @@ "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1722__", + "parentId": "__FLD_14__", + "_id": "__REQ_508__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.20.json b/routes/ghes-2.20.json index a20972b..6ef58e1 100644 --- a/routes/ghes-2.20.json +++ b/routes/ghes-2.20.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.299Z", + "__export_date": "2021-02-18T17:02:26.993Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_122__", + "_id": "__FLD_156__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -78,146 +78,146 @@ } }, { - "parentId": "__FLD_122__", - "_id": "__FLD_123__", + "parentId": "__FLD_156__", + "_id": "__FLD_157__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_124__", + "parentId": "__FLD_156__", + "_id": "__FLD_158__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_125__", + "parentId": "__FLD_156__", + "_id": "__FLD_159__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_126__", + "parentId": "__FLD_156__", + "_id": "__FLD_160__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_127__", + "parentId": "__FLD_156__", + "_id": "__FLD_161__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_128__", + "parentId": "__FLD_156__", + "_id": "__FLD_162__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_129__", + "parentId": "__FLD_156__", + "_id": "__FLD_163__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_130__", + "parentId": "__FLD_156__", + "_id": "__FLD_164__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_131__", + "parentId": "__FLD_156__", + "_id": "__FLD_165__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_132__", + "parentId": "__FLD_156__", + "_id": "__FLD_166__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_133__", + "parentId": "__FLD_156__", + "_id": "__FLD_167__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_134__", + "parentId": "__FLD_156__", + "_id": "__FLD_168__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_135__", + "parentId": "__FLD_156__", + "_id": "__FLD_169__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_136__", + "parentId": "__FLD_156__", + "_id": "__FLD_170__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_137__", + "parentId": "__FLD_156__", + "_id": "__FLD_171__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_138__", + "parentId": "__FLD_156__", + "_id": "__FLD_172__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_139__", + "parentId": "__FLD_156__", + "_id": "__FLD_173__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_140__", + "parentId": "__FLD_156__", + "_id": "__FLD_174__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_141__", + "parentId": "__FLD_156__", + "_id": "__FLD_175__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_142__", + "parentId": "__FLD_156__", + "_id": "__FLD_176__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_143__", + "parentId": "__FLD_156__", + "_id": "__FLD_177__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_144__", + "parentId": "__FLD_156__", + "_id": "__FLD_178__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_122__", - "_id": "__FLD_145__", + "parentId": "__FLD_156__", + "_id": "__FLD_179__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_135__", - "_id": "__REQ_2741__", + "parentId": "__FLD_169__", + "_id": "__REQ_3533__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -232,8 +232,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2742__", + "parentId": "__FLD_162__", + "_id": "__REQ_3534__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +264,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2743__", + "parentId": "__FLD_162__", + "_id": "__REQ_3535__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +285,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2744__", + "parentId": "__FLD_162__", + "_id": "__REQ_3536__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +306,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2745__", + "parentId": "__FLD_162__", + "_id": "__REQ_3537__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +327,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2746__", + "parentId": "__FLD_162__", + "_id": "__REQ_3538__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +348,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2747__", + "parentId": "__FLD_162__", + "_id": "__REQ_3539__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +369,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2748__", + "parentId": "__FLD_162__", + "_id": "__REQ_3540__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-public-keys", @@ -396,8 +396,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2749__", + "parentId": "__FLD_162__", + "_id": "__REQ_3541__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,8 +412,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2750__", + "parentId": "__FLD_162__", + "_id": "__REQ_3542__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -428,8 +428,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2751__", + "parentId": "__FLD_162__", + "_id": "__REQ_3543__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -444,8 +444,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2752__", + "parentId": "__FLD_162__", + "_id": "__REQ_3544__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -460,8 +460,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2753__", + "parentId": "__FLD_162__", + "_id": "__REQ_3545__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -476,8 +476,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2754__", + "parentId": "__FLD_162__", + "_id": "__REQ_3546__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-organization", @@ -492,8 +492,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2755__", + "parentId": "__FLD_162__", + "_id": "__REQ_3547__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-an-organization-name", @@ -508,8 +508,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2756__", + "parentId": "__FLD_162__", + "_id": "__REQ_3548__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -540,8 +540,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2757__", + "parentId": "__FLD_162__", + "_id": "__REQ_3549__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -561,8 +561,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2758__", + "parentId": "__FLD_162__", + "_id": "__REQ_3550__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -582,8 +582,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2759__", + "parentId": "__FLD_162__", + "_id": "__REQ_3551__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -603,8 +603,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2760__", + "parentId": "__FLD_162__", + "_id": "__REQ_3552__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -624,8 +624,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2761__", + "parentId": "__FLD_162__", + "_id": "__REQ_3553__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -645,8 +645,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2762__", + "parentId": "__FLD_162__", + "_id": "__REQ_3554__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -666,8 +666,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2763__", + "parentId": "__FLD_162__", + "_id": "__REQ_3555__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -698,8 +698,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2764__", + "parentId": "__FLD_162__", + "_id": "__REQ_3556__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -719,8 +719,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2765__", + "parentId": "__FLD_162__", + "_id": "__REQ_3557__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -740,8 +740,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2766__", + "parentId": "__FLD_162__", + "_id": "__REQ_3558__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -761,8 +761,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2767__", + "parentId": "__FLD_162__", + "_id": "__REQ_3559__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -782,8 +782,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2768__", + "parentId": "__FLD_162__", + "_id": "__REQ_3560__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -809,8 +809,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2769__", + "parentId": "__FLD_162__", + "_id": "__REQ_3561__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -825,8 +825,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2770__", + "parentId": "__FLD_162__", + "_id": "__REQ_3562__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-user", @@ -841,8 +841,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2771__", + "parentId": "__FLD_162__", + "_id": "__REQ_3563__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -857,8 +857,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2772__", + "parentId": "__FLD_162__", + "_id": "__REQ_3564__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-user", @@ -873,8 +873,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2773__", + "parentId": "__FLD_162__", + "_id": "__REQ_3565__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -889,8 +889,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2774__", + "parentId": "__FLD_162__", + "_id": "__REQ_3566__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -905,8 +905,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2775__", + "parentId": "__FLD_158__", + "_id": "__REQ_3567__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-the-authenticated-app", @@ -926,8 +926,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2776__", + "parentId": "__FLD_158__", + "_id": "__REQ_3568__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-a-github-app-from-a-manifest", @@ -942,8 +942,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2777__", + "parentId": "__FLD_158__", + "_id": "__REQ_3569__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#list-installations-for-the-authenticated-app", @@ -974,8 +974,8 @@ ] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2778__", + "parentId": "__FLD_158__", + "_id": "__REQ_3570__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -995,8 +995,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2779__", + "parentId": "__FLD_158__", + "_id": "__REQ_3571__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1016,8 +1016,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2780__", + "parentId": "__FLD_158__", + "_id": "__REQ_3572__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1037,8 +1037,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2781__", + "parentId": "__FLD_170__", + "_id": "__REQ_3573__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-grants", @@ -1064,8 +1064,8 @@ ] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2782__", + "parentId": "__FLD_170__", + "_id": "__REQ_3574__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1080,8 +1080,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2783__", + "parentId": "__FLD_170__", + "_id": "__REQ_3575__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-a-grant", @@ -1096,8 +1096,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2784__", + "parentId": "__FLD_158__", + "_id": "__REQ_3576__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-authorization", @@ -1112,8 +1112,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2785__", + "parentId": "__FLD_158__", + "_id": "__REQ_3577__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1128,8 +1128,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2786__", + "parentId": "__FLD_158__", + "_id": "__REQ_3578__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-a-token", @@ -1144,8 +1144,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2787__", + "parentId": "__FLD_158__", + "_id": "__REQ_3579__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-a-token", @@ -1160,8 +1160,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2788__", + "parentId": "__FLD_158__", + "_id": "__REQ_3580__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-token", @@ -1176,8 +1176,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2789__", + "parentId": "__FLD_158__", + "_id": "__REQ_3581__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-an-authorization", @@ -1192,8 +1192,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2790__", + "parentId": "__FLD_158__", + "_id": "__REQ_3582__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-an-authorization", @@ -1208,8 +1208,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2791__", + "parentId": "__FLD_158__", + "_id": "__REQ_3583__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1224,8 +1224,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2792__", + "parentId": "__FLD_158__", + "_id": "__REQ_3584__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-app", @@ -1245,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2793__", + "parentId": "__FLD_170__", + "_id": "__REQ_3585__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1272,8 +1272,8 @@ ] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2794__", + "parentId": "__FLD_170__", + "_id": "__REQ_3586__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1288,8 +1288,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2795__", + "parentId": "__FLD_170__", + "_id": "__REQ_3587__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1304,8 +1304,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2796__", + "parentId": "__FLD_170__", + "_id": "__REQ_3588__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1320,8 +1320,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2797__", + "parentId": "__FLD_170__", + "_id": "__REQ_3589__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1336,8 +1336,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2798__", + "parentId": "__FLD_170__", + "_id": "__REQ_3590__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1352,8 +1352,8 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2799__", + "parentId": "__FLD_170__", + "_id": "__REQ_3591__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1368,8 +1368,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2800__", + "parentId": "__FLD_160__", + "_id": "__REQ_3592__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1389,8 +1389,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2801__", + "parentId": "__FLD_160__", + "_id": "__REQ_3593__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1410,8 +1410,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2802__", + "parentId": "__FLD_158__", + "_id": "__REQ_3594__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.20/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-a-content-attachment", @@ -1431,8 +1431,8 @@ "parameters": [] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2803__", + "parentId": "__FLD_161__", + "_id": "__REQ_3595__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/emojis/#get-emojis", @@ -1447,8 +1447,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2804__", + "parentId": "__FLD_162__", + "_id": "__REQ_3596__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-license-information", @@ -1463,8 +1463,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2805__", + "parentId": "__FLD_162__", + "_id": "__REQ_3597__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-statistics", @@ -1479,8 +1479,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2806__", + "parentId": "__FLD_157__", + "_id": "__REQ_3598__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events", @@ -1506,8 +1506,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2807__", + "parentId": "__FLD_157__", + "_id": "__REQ_3599__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-feeds", @@ -1522,8 +1522,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2808__", + "parentId": "__FLD_163__", + "_id": "__REQ_3600__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gists-for-the-authenticated-user", @@ -1553,8 +1553,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2809__", + "parentId": "__FLD_163__", + "_id": "__REQ_3601__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#create-a-gist", @@ -1569,8 +1569,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2810__", + "parentId": "__FLD_163__", + "_id": "__REQ_3602__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-public-gists", @@ -1600,8 +1600,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2811__", + "parentId": "__FLD_163__", + "_id": "__REQ_3603__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-starred-gists", @@ -1631,8 +1631,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2812__", + "parentId": "__FLD_163__", + "_id": "__REQ_3604__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist", @@ -1647,8 +1647,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2813__", + "parentId": "__FLD_163__", + "_id": "__REQ_3605__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#update-a-gist", @@ -1663,8 +1663,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2814__", + "parentId": "__FLD_163__", + "_id": "__REQ_3606__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#delete-a-gist", @@ -1679,8 +1679,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2815__", + "parentId": "__FLD_163__", + "_id": "__REQ_3607__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gist-comments", @@ -1706,8 +1706,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2816__", + "parentId": "__FLD_163__", + "_id": "__REQ_3608__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#create-a-gist-comment", @@ -1722,8 +1722,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2817__", + "parentId": "__FLD_163__", + "_id": "__REQ_3609__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#get-a-gist-comment", @@ -1738,8 +1738,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2818__", + "parentId": "__FLD_163__", + "_id": "__REQ_3610__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#update-a-gist-comment", @@ -1754,8 +1754,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2819__", + "parentId": "__FLD_163__", + "_id": "__REQ_3611__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#delete-a-gist-comment", @@ -1770,8 +1770,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2820__", + "parentId": "__FLD_163__", + "_id": "__REQ_3612__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-commits", @@ -1797,8 +1797,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2821__", + "parentId": "__FLD_163__", + "_id": "__REQ_3613__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-forks", @@ -1824,8 +1824,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2822__", + "parentId": "__FLD_163__", + "_id": "__REQ_3614__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#fork-a-gist", @@ -1840,8 +1840,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2823__", + "parentId": "__FLD_163__", + "_id": "__REQ_3615__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#check-if-a-gist-is-starred", @@ -1856,8 +1856,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2824__", + "parentId": "__FLD_163__", + "_id": "__REQ_3616__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#star-a-gist", @@ -1872,8 +1872,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2825__", + "parentId": "__FLD_163__", + "_id": "__REQ_3617__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#unstar-a-gist", @@ -1888,8 +1888,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2826__", + "parentId": "__FLD_163__", + "_id": "__REQ_3618__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist-revision", @@ -1904,8 +1904,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_2827__", + "parentId": "__FLD_165__", + "_id": "__REQ_3619__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-all-gitignore-templates", @@ -1920,8 +1920,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_2828__", + "parentId": "__FLD_165__", + "_id": "__REQ_3620__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-a-gitignore-template", @@ -1936,8 +1936,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2829__", + "parentId": "__FLD_158__", + "_id": "__REQ_3621__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1968,8 +1968,8 @@ ] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2830__", + "parentId": "__FLD_158__", + "_id": "__REQ_3622__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-installation-access-token", @@ -1984,8 +1984,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2831__", + "parentId": "__FLD_166__", + "_id": "__REQ_3623__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -2060,8 +2060,8 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2832__", + "parentId": "__FLD_167__", + "_id": "__REQ_3624__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-all-commonly-used-licenses", @@ -2086,8 +2086,8 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2833__", + "parentId": "__FLD_167__", + "_id": "__REQ_3625__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-a-license", @@ -2102,8 +2102,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_2834__", + "parentId": "__FLD_168__", + "_id": "__REQ_3626__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document", @@ -2118,8 +2118,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_2835__", + "parentId": "__FLD_168__", + "_id": "__REQ_3627__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2134,8 +2134,8 @@ "parameters": [] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_2836__", + "parentId": "__FLD_169__", + "_id": "__REQ_3628__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/meta/#get-github-meta-information", @@ -2150,8 +2150,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2837__", + "parentId": "__FLD_157__", + "_id": "__REQ_3629__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2177,8 +2177,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2838__", + "parentId": "__FLD_157__", + "_id": "__REQ_3630__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2222,8 +2222,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2839__", + "parentId": "__FLD_157__", + "_id": "__REQ_3631__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-notifications-as-read", @@ -2238,8 +2238,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2840__", + "parentId": "__FLD_157__", + "_id": "__REQ_3632__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread", @@ -2254,8 +2254,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2841__", + "parentId": "__FLD_157__", + "_id": "__REQ_3633__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-a-thread-as-read", @@ -2270,8 +2270,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2842__", + "parentId": "__FLD_157__", + "_id": "__REQ_3634__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2286,8 +2286,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2843__", + "parentId": "__FLD_157__", + "_id": "__REQ_3635__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription", @@ -2302,8 +2302,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2844__", + "parentId": "__FLD_157__", + "_id": "__REQ_3636__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription", @@ -2318,8 +2318,8 @@ "parameters": [] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_2845__", + "parentId": "__FLD_169__", + "_id": "__REQ_3637__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2339,8 +2339,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2846__", + "parentId": "__FLD_171__", + "_id": "__REQ_3638__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations", @@ -2365,8 +2365,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2847__", + "parentId": "__FLD_171__", + "_id": "__REQ_3639__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#get-an-organization", @@ -2386,8 +2386,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2848__", + "parentId": "__FLD_171__", + "_id": "__REQ_3640__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#update-an-organization", @@ -2407,8 +2407,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2849__", + "parentId": "__FLD_157__", + "_id": "__REQ_3641__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-organization-events", @@ -2434,8 +2434,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2850__", + "parentId": "__FLD_171__", + "_id": "__REQ_3642__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-webhooks", @@ -2461,8 +2461,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2851__", + "parentId": "__FLD_171__", + "_id": "__REQ_3643__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#create-an-organization-webhook", @@ -2477,8 +2477,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2852__", + "parentId": "__FLD_171__", + "_id": "__REQ_3644__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization-webhook", @@ -2493,8 +2493,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2853__", + "parentId": "__FLD_171__", + "_id": "__REQ_3645__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#update-an-organization-webhook", @@ -2509,8 +2509,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2854__", + "parentId": "__FLD_171__", + "_id": "__REQ_3646__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#delete-an-organization-webhook", @@ -2525,8 +2525,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2855__", + "parentId": "__FLD_171__", + "_id": "__REQ_3647__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#ping-an-organization-webhook", @@ -2541,8 +2541,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2856__", + "parentId": "__FLD_158__", + "_id": "__REQ_3648__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -2562,8 +2562,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2857__", + "parentId": "__FLD_171__", + "_id": "__REQ_3649__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-app-installations-for-an-organization", @@ -2594,8 +2594,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2858__", + "parentId": "__FLD_166__", + "_id": "__REQ_3650__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -2654,8 +2654,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2859__", + "parentId": "__FLD_171__", + "_id": "__REQ_3651__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-members", @@ -2691,8 +2691,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2860__", + "parentId": "__FLD_171__", + "_id": "__REQ_3652__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2707,8 +2707,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2861__", + "parentId": "__FLD_171__", + "_id": "__REQ_3653__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-an-organization-member", @@ -2723,8 +2723,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2862__", + "parentId": "__FLD_171__", + "_id": "__REQ_3654__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user", @@ -2739,8 +2739,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2863__", + "parentId": "__FLD_171__", + "_id": "__REQ_3655__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2755,8 +2755,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2864__", + "parentId": "__FLD_171__", + "_id": "__REQ_3656__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2771,8 +2771,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2865__", + "parentId": "__FLD_171__", + "_id": "__REQ_3657__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2803,8 +2803,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2866__", + "parentId": "__FLD_171__", + "_id": "__REQ_3658__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2819,8 +2819,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2867__", + "parentId": "__FLD_171__", + "_id": "__REQ_3659__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2835,8 +2835,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2868__", + "parentId": "__FLD_162__", + "_id": "__REQ_3660__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2867,8 +2867,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2869__", + "parentId": "__FLD_162__", + "_id": "__REQ_3661__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2888,8 +2888,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2870__", + "parentId": "__FLD_162__", + "_id": "__REQ_3662__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2909,8 +2909,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2871__", + "parentId": "__FLD_162__", + "_id": "__REQ_3663__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2930,8 +2930,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2872__", + "parentId": "__FLD_172__", + "_id": "__REQ_3664__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-organization-projects", @@ -2967,8 +2967,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2873__", + "parentId": "__FLD_172__", + "_id": "__REQ_3665__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-an-organization-project", @@ -2988,8 +2988,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2874__", + "parentId": "__FLD_171__", + "_id": "__REQ_3666__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-public-organization-members", @@ -3015,8 +3015,8 @@ ] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2875__", + "parentId": "__FLD_171__", + "_id": "__REQ_3667__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3031,8 +3031,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2876__", + "parentId": "__FLD_171__", + "_id": "__REQ_3668__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3047,8 +3047,8 @@ "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2877__", + "parentId": "__FLD_171__", + "_id": "__REQ_3669__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3063,8 +3063,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2878__", + "parentId": "__FLD_176__", + "_id": "__REQ_3670__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-organization-repositories", @@ -3108,8 +3108,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2879__", + "parentId": "__FLD_176__", + "_id": "__REQ_3671__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-an-organization-repository", @@ -3129,8 +3129,8 @@ "parameters": [] }, { - "parentId": "__FLD_144__", - "_id": "__REQ_2880__", + "parentId": "__FLD_178__", + "_id": "__REQ_3672__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-teams", @@ -3156,8 +3156,8 @@ ] }, { - "parentId": "__FLD_144__", - "_id": "__REQ_2881__", + "parentId": "__FLD_178__", + "_id": "__REQ_3673__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team", @@ -3172,8 +3172,8 @@ "parameters": [] }, { - "parentId": "__FLD_144__", - "_id": "__REQ_2882__", + "parentId": "__FLD_178__", + "_id": "__REQ_3674__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#get-a-team-by-name", @@ -3188,8 +3188,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2883__", + "parentId": "__FLD_172__", + "_id": "__REQ_3675__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-card", @@ -3209,8 +3209,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2884__", + "parentId": "__FLD_172__", + "_id": "__REQ_3676__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-card", @@ -3230,8 +3230,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2885__", + "parentId": "__FLD_172__", + "_id": "__REQ_3677__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-card", @@ -3251,8 +3251,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2886__", + "parentId": "__FLD_172__", + "_id": "__REQ_3678__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-card", @@ -3272,8 +3272,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2887__", + "parentId": "__FLD_172__", + "_id": "__REQ_3679__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-column", @@ -3293,8 +3293,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2888__", + "parentId": "__FLD_172__", + "_id": "__REQ_3680__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-column", @@ -3314,8 +3314,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2889__", + "parentId": "__FLD_172__", + "_id": "__REQ_3681__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-column", @@ -3335,8 +3335,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2890__", + "parentId": "__FLD_172__", + "_id": "__REQ_3682__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-cards", @@ -3372,8 +3372,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2891__", + "parentId": "__FLD_172__", + "_id": "__REQ_3683__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-card", @@ -3393,8 +3393,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2892__", + "parentId": "__FLD_172__", + "_id": "__REQ_3684__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-column", @@ -3414,8 +3414,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2893__", + "parentId": "__FLD_172__", + "_id": "__REQ_3685__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#get-a-project", @@ -3435,8 +3435,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2894__", + "parentId": "__FLD_172__", + "_id": "__REQ_3686__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#update-a-project", @@ -3456,8 +3456,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2895__", + "parentId": "__FLD_172__", + "_id": "__REQ_3687__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#delete-a-project", @@ -3477,8 +3477,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2896__", + "parentId": "__FLD_172__", + "_id": "__REQ_3688__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-collaborators", @@ -3514,8 +3514,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2897__", + "parentId": "__FLD_172__", + "_id": "__REQ_3689__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#add-project-collaborator", @@ -3535,8 +3535,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2898__", + "parentId": "__FLD_172__", + "_id": "__REQ_3690__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#remove-project-collaborator", @@ -3556,8 +3556,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2899__", + "parentId": "__FLD_172__", + "_id": "__REQ_3691__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-project-permission-for-a-user", @@ -3577,8 +3577,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2900__", + "parentId": "__FLD_172__", + "_id": "__REQ_3692__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-columns", @@ -3609,8 +3609,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2901__", + "parentId": "__FLD_172__", + "_id": "__REQ_3693__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-column", @@ -3630,8 +3630,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_2902__", + "parentId": "__FLD_174__", + "_id": "__REQ_3694__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -3646,8 +3646,8 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_2903__", + "parentId": "__FLD_175__", + "_id": "__REQ_3695__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#delete-a-reaction", @@ -3667,8 +3667,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2904__", + "parentId": "__FLD_176__", + "_id": "__REQ_3696__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-a-repository", @@ -3688,8 +3688,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2905__", + "parentId": "__FLD_176__", + "_id": "__REQ_3697__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#update-a-repository", @@ -3709,8 +3709,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2906__", + "parentId": "__FLD_176__", + "_id": "__REQ_3698__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#delete-a-repository", @@ -3725,8 +3725,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2907__", + "parentId": "__FLD_166__", + "_id": "__REQ_3699__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-assignees", @@ -3752,8 +3752,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2908__", + "parentId": "__FLD_166__", + "_id": "__REQ_3700__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3768,8 +3768,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2909__", + "parentId": "__FLD_176__", + "_id": "__REQ_3701__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches", @@ -3799,8 +3799,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2910__", + "parentId": "__FLD_176__", + "_id": "__REQ_3702__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-branch", @@ -3815,8 +3815,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2911__", + "parentId": "__FLD_176__", + "_id": "__REQ_3703__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-branch-protection", @@ -3836,8 +3836,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2912__", + "parentId": "__FLD_176__", + "_id": "__REQ_3704__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-branch-protection", @@ -3857,8 +3857,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2913__", + "parentId": "__FLD_176__", + "_id": "__REQ_3705__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-branch-protection", @@ -3873,8 +3873,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2914__", + "parentId": "__FLD_176__", + "_id": "__REQ_3706__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-admin-branch-protection", @@ -3889,8 +3889,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2915__", + "parentId": "__FLD_176__", + "_id": "__REQ_3707__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-admin-branch-protection", @@ -3905,8 +3905,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2916__", + "parentId": "__FLD_176__", + "_id": "__REQ_3708__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-admin-branch-protection", @@ -3921,8 +3921,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2917__", + "parentId": "__FLD_176__", + "_id": "__REQ_3709__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-pull-request-review-protection", @@ -3942,8 +3942,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2918__", + "parentId": "__FLD_176__", + "_id": "__REQ_3710__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-pull-request-review-protection", @@ -3963,8 +3963,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2919__", + "parentId": "__FLD_176__", + "_id": "__REQ_3711__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-pull-request-review-protection", @@ -3979,8 +3979,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2920__", + "parentId": "__FLD_176__", + "_id": "__REQ_3712__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-commit-signature-protection", @@ -4000,8 +4000,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2921__", + "parentId": "__FLD_176__", + "_id": "__REQ_3713__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-commit-signature-protection", @@ -4021,8 +4021,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2922__", + "parentId": "__FLD_176__", + "_id": "__REQ_3714__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-commit-signature-protection", @@ -4042,8 +4042,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2923__", + "parentId": "__FLD_176__", + "_id": "__REQ_3715__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-status-checks-protection", @@ -4058,8 +4058,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2924__", + "parentId": "__FLD_176__", + "_id": "__REQ_3716__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-status-check-potection", @@ -4074,8 +4074,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2925__", + "parentId": "__FLD_176__", + "_id": "__REQ_3717__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-protection", @@ -4090,8 +4090,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2926__", + "parentId": "__FLD_176__", + "_id": "__REQ_3718__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-status-check-contexts", @@ -4106,8 +4106,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2927__", + "parentId": "__FLD_176__", + "_id": "__REQ_3719__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-status-check-contexts", @@ -4122,8 +4122,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2928__", + "parentId": "__FLD_176__", + "_id": "__REQ_3720__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-status-check-contexts", @@ -4138,8 +4138,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2929__", + "parentId": "__FLD_176__", + "_id": "__REQ_3721__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-contexts", @@ -4154,8 +4154,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2930__", + "parentId": "__FLD_176__", + "_id": "__REQ_3722__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-access-restrictions", @@ -4170,8 +4170,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2931__", + "parentId": "__FLD_176__", + "_id": "__REQ_3723__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-access-restrictions", @@ -4186,8 +4186,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2932__", + "parentId": "__FLD_176__", + "_id": "__REQ_3724__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4202,8 +4202,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2933__", + "parentId": "__FLD_176__", + "_id": "__REQ_3725__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-app-access-restrictions", @@ -4218,8 +4218,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2934__", + "parentId": "__FLD_176__", + "_id": "__REQ_3726__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-app-access-restrictions", @@ -4234,8 +4234,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2935__", + "parentId": "__FLD_176__", + "_id": "__REQ_3727__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-app-access-restrictions", @@ -4250,8 +4250,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2936__", + "parentId": "__FLD_176__", + "_id": "__REQ_3728__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4266,8 +4266,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2937__", + "parentId": "__FLD_176__", + "_id": "__REQ_3729__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-team-access-restrictions", @@ -4282,8 +4282,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2938__", + "parentId": "__FLD_176__", + "_id": "__REQ_3730__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-team-access-restrictions", @@ -4298,8 +4298,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2939__", + "parentId": "__FLD_176__", + "_id": "__REQ_3731__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-team-access-restrictions", @@ -4314,8 +4314,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2940__", + "parentId": "__FLD_176__", + "_id": "__REQ_3732__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4330,8 +4330,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2941__", + "parentId": "__FLD_176__", + "_id": "__REQ_3733__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-user-access-restrictions", @@ -4346,8 +4346,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2942__", + "parentId": "__FLD_176__", + "_id": "__REQ_3734__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-user-access-restrictions", @@ -4362,8 +4362,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2943__", + "parentId": "__FLD_176__", + "_id": "__REQ_3735__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-user-access-restrictions", @@ -4378,8 +4378,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2944__", + "parentId": "__FLD_159__", + "_id": "__REQ_3736__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-run", @@ -4399,8 +4399,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2945__", + "parentId": "__FLD_159__", + "_id": "__REQ_3737__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-run", @@ -4420,8 +4420,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2946__", + "parentId": "__FLD_159__", + "_id": "__REQ_3738__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-a-check-run", @@ -4441,8 +4441,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2947__", + "parentId": "__FLD_159__", + "_id": "__REQ_3739__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-run-annotations", @@ -4473,8 +4473,8 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2948__", + "parentId": "__FLD_159__", + "_id": "__REQ_3740__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite", @@ -4494,8 +4494,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2949__", + "parentId": "__FLD_159__", + "_id": "__REQ_3741__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4515,8 +4515,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2950__", + "parentId": "__FLD_159__", + "_id": "__REQ_3742__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-suite", @@ -4536,8 +4536,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2951__", + "parentId": "__FLD_159__", + "_id": "__REQ_3743__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4581,8 +4581,8 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2952__", + "parentId": "__FLD_159__", + "_id": "__REQ_3744__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#rerequest-a-check-suite", @@ -4602,8 +4602,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2953__", + "parentId": "__FLD_176__", + "_id": "__REQ_3745__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-collaborators", @@ -4634,8 +4634,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2954__", + "parentId": "__FLD_176__", + "_id": "__REQ_3746__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4650,8 +4650,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2955__", + "parentId": "__FLD_176__", + "_id": "__REQ_3747__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-a-repository-collaborator", @@ -4666,8 +4666,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2956__", + "parentId": "__FLD_176__", + "_id": "__REQ_3748__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-a-repository-collaborator", @@ -4682,8 +4682,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2957__", + "parentId": "__FLD_176__", + "_id": "__REQ_3749__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4698,8 +4698,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2958__", + "parentId": "__FLD_176__", + "_id": "__REQ_3750__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4730,8 +4730,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2959__", + "parentId": "__FLD_176__", + "_id": "__REQ_3751__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit-comment", @@ -4751,8 +4751,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2960__", + "parentId": "__FLD_176__", + "_id": "__REQ_3752__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-commit-comment", @@ -4767,8 +4767,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2961__", + "parentId": "__FLD_176__", + "_id": "__REQ_3753__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-commit-comment", @@ -4783,8 +4783,8 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_2962__", + "parentId": "__FLD_175__", + "_id": "__REQ_3754__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4819,8 +4819,8 @@ ] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_2963__", + "parentId": "__FLD_175__", + "_id": "__REQ_3755__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4840,8 +4840,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2964__", + "parentId": "__FLD_176__", + "_id": "__REQ_3756__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits", @@ -4887,8 +4887,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2965__", + "parentId": "__FLD_176__", + "_id": "__REQ_3757__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches-for-head-commit", @@ -4908,8 +4908,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2966__", + "parentId": "__FLD_176__", + "_id": "__REQ_3758__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments", @@ -4940,8 +4940,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2967__", + "parentId": "__FLD_176__", + "_id": "__REQ_3759__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-comment", @@ -4956,8 +4956,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2968__", + "parentId": "__FLD_176__", + "_id": "__REQ_3760__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -4988,8 +4988,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2969__", + "parentId": "__FLD_176__", + "_id": "__REQ_3761__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit", @@ -5004,8 +5004,8 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2970__", + "parentId": "__FLD_159__", + "_id": "__REQ_3762__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5049,8 +5049,8 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2971__", + "parentId": "__FLD_159__", + "_id": "__REQ_3763__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5089,8 +5089,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2972__", + "parentId": "__FLD_176__", + "_id": "__REQ_3764__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5105,8 +5105,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2973__", + "parentId": "__FLD_176__", + "_id": "__REQ_3765__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5132,8 +5132,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2974__", + "parentId": "__FLD_160__", + "_id": "__REQ_3766__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -5153,8 +5153,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2975__", + "parentId": "__FLD_176__", + "_id": "__REQ_3767__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#compare-two-commits", @@ -5169,8 +5169,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2976__", + "parentId": "__FLD_176__", + "_id": "__REQ_3768__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.20/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content", @@ -5190,8 +5190,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2977__", + "parentId": "__FLD_176__", + "_id": "__REQ_3769__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-or-update-file-contents", @@ -5206,8 +5206,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2978__", + "parentId": "__FLD_176__", + "_id": "__REQ_3770__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-file", @@ -5222,8 +5222,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2979__", + "parentId": "__FLD_176__", + "_id": "__REQ_3771__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-contributors", @@ -5253,8 +5253,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2980__", + "parentId": "__FLD_176__", + "_id": "__REQ_3772__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployments", @@ -5305,8 +5305,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2981__", + "parentId": "__FLD_176__", + "_id": "__REQ_3773__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment", @@ -5326,8 +5326,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2982__", + "parentId": "__FLD_176__", + "_id": "__REQ_3774__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment", @@ -5347,8 +5347,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2983__", + "parentId": "__FLD_176__", + "_id": "__REQ_3775__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployment-statuses", @@ -5379,8 +5379,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2984__", + "parentId": "__FLD_176__", + "_id": "__REQ_3776__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment-status", @@ -5400,8 +5400,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2985__", + "parentId": "__FLD_176__", + "_id": "__REQ_3777__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment-status", @@ -5421,8 +5421,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2986__", + "parentId": "__FLD_157__", + "_id": "__REQ_3778__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-events", @@ -5448,8 +5448,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2987__", + "parentId": "__FLD_176__", + "_id": "__REQ_3779__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-forks", @@ -5480,8 +5480,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_2988__", + "parentId": "__FLD_176__", + "_id": "__REQ_3780__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-fork", @@ -5496,8 +5496,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2989__", + "parentId": "__FLD_164__", + "_id": "__REQ_3781__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-blob", @@ -5512,8 +5512,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2990__", + "parentId": "__FLD_164__", + "_id": "__REQ_3782__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-blob", @@ -5528,8 +5528,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2991__", + "parentId": "__FLD_164__", + "_id": "__REQ_3783__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit", @@ -5544,8 +5544,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2992__", + "parentId": "__FLD_164__", + "_id": "__REQ_3784__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-commit", @@ -5560,8 +5560,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2993__", + "parentId": "__FLD_164__", + "_id": "__REQ_3785__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#list-matching-references", @@ -5587,8 +5587,8 @@ ] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2994__", + "parentId": "__FLD_164__", + "_id": "__REQ_3786__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-reference", @@ -5603,8 +5603,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2995__", + "parentId": "__FLD_164__", + "_id": "__REQ_3787__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference", @@ -5619,8 +5619,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2996__", + "parentId": "__FLD_164__", + "_id": "__REQ_3788__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference", @@ -5635,8 +5635,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2997__", + "parentId": "__FLD_164__", + "_id": "__REQ_3789__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#delete-a-reference", @@ -5651,8 +5651,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2998__", + "parentId": "__FLD_164__", + "_id": "__REQ_3790__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tag-object", @@ -5667,8 +5667,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_2999__", + "parentId": "__FLD_164__", + "_id": "__REQ_3791__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tag", @@ -5683,8 +5683,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_3000__", + "parentId": "__FLD_164__", + "_id": "__REQ_3792__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tree", @@ -5699,8 +5699,8 @@ "parameters": [] }, { - "parentId": "__FLD_130__", - "_id": "__REQ_3001__", + "parentId": "__FLD_164__", + "_id": "__REQ_3793__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree", @@ -5720,8 +5720,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3002__", + "parentId": "__FLD_176__", + "_id": "__REQ_3794__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-webhooks", @@ -5747,8 +5747,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3003__", + "parentId": "__FLD_176__", + "_id": "__REQ_3795__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-webhook", @@ -5763,8 +5763,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3004__", + "parentId": "__FLD_176__", + "_id": "__REQ_3796__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-webhook", @@ -5779,8 +5779,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3005__", + "parentId": "__FLD_176__", + "_id": "__REQ_3797__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-webhook", @@ -5795,8 +5795,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3006__", + "parentId": "__FLD_176__", + "_id": "__REQ_3798__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-webhook", @@ -5811,8 +5811,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3007__", + "parentId": "__FLD_176__", + "_id": "__REQ_3799__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#ping-a-repository-webhook", @@ -5827,8 +5827,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3008__", + "parentId": "__FLD_176__", + "_id": "__REQ_3800__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#test-the-push-repository-webhook", @@ -5843,8 +5843,8 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_3009__", + "parentId": "__FLD_158__", + "_id": "__REQ_3801__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -5864,8 +5864,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3010__", + "parentId": "__FLD_176__", + "_id": "__REQ_3802__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-invitations", @@ -5891,8 +5891,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3011__", + "parentId": "__FLD_176__", + "_id": "__REQ_3803__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-invitation", @@ -5907,8 +5907,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3012__", + "parentId": "__FLD_176__", + "_id": "__REQ_3804__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-invitation", @@ -5923,8 +5923,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3013__", + "parentId": "__FLD_166__", + "_id": "__REQ_3805__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-repository-issues", @@ -5994,8 +5994,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3014__", + "parentId": "__FLD_166__", + "_id": "__REQ_3806__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#create-an-issue", @@ -6010,8 +6010,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3015__", + "parentId": "__FLD_166__", + "_id": "__REQ_3807__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments-for-a-repository", @@ -6055,8 +6055,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3016__", + "parentId": "__FLD_166__", + "_id": "__REQ_3808__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-comment", @@ -6076,8 +6076,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3017__", + "parentId": "__FLD_166__", + "_id": "__REQ_3809__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-an-issue-comment", @@ -6092,8 +6092,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3018__", + "parentId": "__FLD_166__", + "_id": "__REQ_3810__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-an-issue-comment", @@ -6108,8 +6108,8 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3019__", + "parentId": "__FLD_175__", + "_id": "__REQ_3811__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue-comment", @@ -6144,8 +6144,8 @@ ] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3020__", + "parentId": "__FLD_175__", + "_id": "__REQ_3812__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue-comment", @@ -6165,8 +6165,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3021__", + "parentId": "__FLD_166__", + "_id": "__REQ_3813__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events-for-a-repository", @@ -6197,8 +6197,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3022__", + "parentId": "__FLD_166__", + "_id": "__REQ_3814__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-event", @@ -6218,8 +6218,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3023__", + "parentId": "__FLD_166__", + "_id": "__REQ_3815__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#get-an-issue", @@ -6239,8 +6239,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3024__", + "parentId": "__FLD_166__", + "_id": "__REQ_3816__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#update-an-issue", @@ -6255,8 +6255,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3025__", + "parentId": "__FLD_166__", + "_id": "__REQ_3817__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-assignees-to-an-issue", @@ -6271,8 +6271,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3026__", + "parentId": "__FLD_166__", + "_id": "__REQ_3818__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-assignees-from-an-issue", @@ -6287,8 +6287,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3027__", + "parentId": "__FLD_166__", + "_id": "__REQ_3819__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments", @@ -6323,8 +6323,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3028__", + "parentId": "__FLD_166__", + "_id": "__REQ_3820__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment", @@ -6339,8 +6339,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3029__", + "parentId": "__FLD_166__", + "_id": "__REQ_3821__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events", @@ -6371,8 +6371,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3030__", + "parentId": "__FLD_166__", + "_id": "__REQ_3822__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-an-issue", @@ -6398,8 +6398,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3031__", + "parentId": "__FLD_166__", + "_id": "__REQ_3823__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-labels-to-an-issue", @@ -6414,8 +6414,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3032__", + "parentId": "__FLD_166__", + "_id": "__REQ_3824__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#set-labels-for-an-issue", @@ -6430,8 +6430,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3033__", + "parentId": "__FLD_166__", + "_id": "__REQ_3825__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6446,8 +6446,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3034__", + "parentId": "__FLD_166__", + "_id": "__REQ_3826__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-a-label-from-an-issue", @@ -6462,8 +6462,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3035__", + "parentId": "__FLD_166__", + "_id": "__REQ_3827__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#lock-an-issue", @@ -6483,8 +6483,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3036__", + "parentId": "__FLD_166__", + "_id": "__REQ_3828__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#unlock-an-issue", @@ -6499,8 +6499,8 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3037__", + "parentId": "__FLD_175__", + "_id": "__REQ_3829__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue", @@ -6535,8 +6535,8 @@ ] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3038__", + "parentId": "__FLD_175__", + "_id": "__REQ_3830__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue", @@ -6556,8 +6556,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3039__", + "parentId": "__FLD_166__", + "_id": "__REQ_3831__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-timeline-events-for-an-issue", @@ -6588,8 +6588,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3040__", + "parentId": "__FLD_176__", + "_id": "__REQ_3832__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deploy-keys", @@ -6615,8 +6615,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3041__", + "parentId": "__FLD_176__", + "_id": "__REQ_3833__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deploy-key", @@ -6631,8 +6631,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3042__", + "parentId": "__FLD_176__", + "_id": "__REQ_3834__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deploy-key", @@ -6647,8 +6647,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3043__", + "parentId": "__FLD_176__", + "_id": "__REQ_3835__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-deploy-key", @@ -6663,8 +6663,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3044__", + "parentId": "__FLD_166__", + "_id": "__REQ_3836__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-a-repository", @@ -6690,8 +6690,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3045__", + "parentId": "__FLD_166__", + "_id": "__REQ_3837__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-label", @@ -6706,8 +6706,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3046__", + "parentId": "__FLD_166__", + "_id": "__REQ_3838__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-label", @@ -6722,8 +6722,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3047__", + "parentId": "__FLD_166__", + "_id": "__REQ_3839__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-label", @@ -6738,8 +6738,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3048__", + "parentId": "__FLD_166__", + "_id": "__REQ_3840__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-label", @@ -6754,8 +6754,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3049__", + "parentId": "__FLD_176__", + "_id": "__REQ_3841__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-languages", @@ -6770,8 +6770,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3050__", + "parentId": "__FLD_167__", + "_id": "__REQ_3842__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-the-license-for-a-repository", @@ -6786,8 +6786,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3051__", + "parentId": "__FLD_176__", + "_id": "__REQ_3843__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#merge-a-branch", @@ -6802,8 +6802,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3052__", + "parentId": "__FLD_166__", + "_id": "__REQ_3844__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-milestones", @@ -6844,8 +6844,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3053__", + "parentId": "__FLD_166__", + "_id": "__REQ_3845__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-milestone", @@ -6860,8 +6860,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3054__", + "parentId": "__FLD_166__", + "_id": "__REQ_3846__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-milestone", @@ -6876,8 +6876,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3055__", + "parentId": "__FLD_166__", + "_id": "__REQ_3847__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-milestone", @@ -6892,8 +6892,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3056__", + "parentId": "__FLD_166__", + "_id": "__REQ_3848__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-milestone", @@ -6908,8 +6908,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3057__", + "parentId": "__FLD_166__", + "_id": "__REQ_3849__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6935,8 +6935,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3058__", + "parentId": "__FLD_157__", + "_id": "__REQ_3850__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6980,8 +6980,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3059__", + "parentId": "__FLD_157__", + "_id": "__REQ_3851__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-repository-notifications-as-read", @@ -6996,8 +6996,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3060__", + "parentId": "__FLD_176__", + "_id": "__REQ_3852__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-github-pages-site", @@ -7012,8 +7012,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3061__", + "parentId": "__FLD_176__", + "_id": "__REQ_3853__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-github-pages-site", @@ -7033,8 +7033,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3062__", + "parentId": "__FLD_176__", + "_id": "__REQ_3854__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-information-about-a-github-pages-site", @@ -7049,8 +7049,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3063__", + "parentId": "__FLD_176__", + "_id": "__REQ_3855__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-github-pages-site", @@ -7070,8 +7070,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3064__", + "parentId": "__FLD_176__", + "_id": "__REQ_3856__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-github-pages-builds", @@ -7097,8 +7097,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3065__", + "parentId": "__FLD_176__", + "_id": "__REQ_3857__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#request-a-github-pages-build", @@ -7113,8 +7113,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3066__", + "parentId": "__FLD_176__", + "_id": "__REQ_3858__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-latest-pages-build", @@ -7129,8 +7129,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3067__", + "parentId": "__FLD_176__", + "_id": "__REQ_3859__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-github-pages-build", @@ -7145,8 +7145,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3068__", + "parentId": "__FLD_162__", + "_id": "__REQ_3860__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7177,8 +7177,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3069__", + "parentId": "__FLD_162__", + "_id": "__REQ_3861__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7198,8 +7198,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3070__", + "parentId": "__FLD_162__", + "_id": "__REQ_3862__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7219,8 +7219,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3071__", + "parentId": "__FLD_162__", + "_id": "__REQ_3863__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7240,8 +7240,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3072__", + "parentId": "__FLD_172__", + "_id": "__REQ_3864__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-repository-projects", @@ -7277,8 +7277,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3073__", + "parentId": "__FLD_172__", + "_id": "__REQ_3865__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-a-repository-project", @@ -7298,8 +7298,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3074__", + "parentId": "__FLD_173__", + "_id": "__REQ_3866__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests", @@ -7352,8 +7352,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3075__", + "parentId": "__FLD_173__", + "_id": "__REQ_3867__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#create-a-pull-request", @@ -7373,8 +7373,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3076__", + "parentId": "__FLD_173__", + "_id": "__REQ_3868__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7418,8 +7418,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3077__", + "parentId": "__FLD_173__", + "_id": "__REQ_3869__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7439,8 +7439,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3078__", + "parentId": "__FLD_173__", + "_id": "__REQ_3870__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7460,8 +7460,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3079__", + "parentId": "__FLD_173__", + "_id": "__REQ_3871__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7476,8 +7476,8 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3080__", + "parentId": "__FLD_175__", + "_id": "__REQ_3872__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7512,8 +7512,8 @@ ] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3081__", + "parentId": "__FLD_175__", + "_id": "__REQ_3873__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7533,8 +7533,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3082__", + "parentId": "__FLD_173__", + "_id": "__REQ_3874__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#get-a-pull-request", @@ -7549,8 +7549,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3083__", + "parentId": "__FLD_173__", + "_id": "__REQ_3875__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request", @@ -7570,8 +7570,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3084__", + "parentId": "__FLD_173__", + "_id": "__REQ_3876__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7615,8 +7615,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3085__", + "parentId": "__FLD_173__", + "_id": "__REQ_3877__", "_type": "request", "name": "Create a review comment for a pull request", "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -7636,8 +7636,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3086__", + "parentId": "__FLD_173__", + "_id": "__REQ_3878__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -7652,8 +7652,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3087__", + "parentId": "__FLD_173__", + "_id": "__REQ_3879__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-commits-on-a-pull-request", @@ -7679,8 +7679,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3088__", + "parentId": "__FLD_173__", + "_id": "__REQ_3880__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests-files", @@ -7706,8 +7706,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3089__", + "parentId": "__FLD_173__", + "_id": "__REQ_3881__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -7722,8 +7722,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3090__", + "parentId": "__FLD_173__", + "_id": "__REQ_3882__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#merge-a-pull-request", @@ -7738,8 +7738,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3091__", + "parentId": "__FLD_173__", + "_id": "__REQ_3883__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7765,8 +7765,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3092__", + "parentId": "__FLD_173__", + "_id": "__REQ_3884__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -7781,8 +7781,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3093__", + "parentId": "__FLD_173__", + "_id": "__REQ_3885__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7797,8 +7797,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3094__", + "parentId": "__FLD_173__", + "_id": "__REQ_3886__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7824,8 +7824,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3095__", + "parentId": "__FLD_173__", + "_id": "__REQ_3887__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -7840,8 +7840,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3096__", + "parentId": "__FLD_173__", + "_id": "__REQ_3888__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7856,8 +7856,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3097__", + "parentId": "__FLD_173__", + "_id": "__REQ_3889__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7872,8 +7872,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3098__", + "parentId": "__FLD_173__", + "_id": "__REQ_3890__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7888,8 +7888,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3099__", + "parentId": "__FLD_173__", + "_id": "__REQ_3891__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7915,8 +7915,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3100__", + "parentId": "__FLD_173__", + "_id": "__REQ_3892__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7931,8 +7931,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3101__", + "parentId": "__FLD_173__", + "_id": "__REQ_3893__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7947,8 +7947,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3102__", + "parentId": "__FLD_173__", + "_id": "__REQ_3894__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request-branch", @@ -7968,8 +7968,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3103__", + "parentId": "__FLD_176__", + "_id": "__REQ_3895__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-readme", @@ -7989,8 +7989,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3104__", + "parentId": "__FLD_176__", + "_id": "__REQ_3896__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-releases", @@ -8016,8 +8016,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3105__", + "parentId": "__FLD_176__", + "_id": "__REQ_3897__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release", @@ -8032,8 +8032,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3106__", + "parentId": "__FLD_176__", + "_id": "__REQ_3898__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-asset", @@ -8048,8 +8048,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3107__", + "parentId": "__FLD_176__", + "_id": "__REQ_3899__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release-asset", @@ -8064,8 +8064,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3108__", + "parentId": "__FLD_176__", + "_id": "__REQ_3900__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release-asset", @@ -8080,8 +8080,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3109__", + "parentId": "__FLD_176__", + "_id": "__REQ_3901__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-latest-release", @@ -8096,8 +8096,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3110__", + "parentId": "__FLD_176__", + "_id": "__REQ_3902__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-by-tag-name", @@ -8112,8 +8112,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3111__", + "parentId": "__FLD_176__", + "_id": "__REQ_3903__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release", @@ -8128,8 +8128,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3112__", + "parentId": "__FLD_176__", + "_id": "__REQ_3904__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release", @@ -8144,8 +8144,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3113__", + "parentId": "__FLD_176__", + "_id": "__REQ_3905__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release", @@ -8160,8 +8160,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3114__", + "parentId": "__FLD_176__", + "_id": "__REQ_3906__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-release-assets", @@ -8187,8 +8187,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3115__", + "parentId": "__FLD_176__", + "_id": "__REQ_3907__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#upload-a-release-asset", @@ -8212,8 +8212,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3116__", + "parentId": "__FLD_157__", + "_id": "__REQ_3908__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-stargazers", @@ -8239,8 +8239,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3117__", + "parentId": "__FLD_176__", + "_id": "__REQ_3909__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-activity", @@ -8255,8 +8255,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3118__", + "parentId": "__FLD_176__", + "_id": "__REQ_3910__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8271,8 +8271,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3119__", + "parentId": "__FLD_176__", + "_id": "__REQ_3911__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-contributor-commit-activity", @@ -8287,8 +8287,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3120__", + "parentId": "__FLD_176__", + "_id": "__REQ_3912__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-count", @@ -8303,8 +8303,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3121__", + "parentId": "__FLD_176__", + "_id": "__REQ_3913__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8319,8 +8319,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3122__", + "parentId": "__FLD_176__", + "_id": "__REQ_3914__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-status", @@ -8335,8 +8335,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3123__", + "parentId": "__FLD_157__", + "_id": "__REQ_3915__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-watchers", @@ -8362,8 +8362,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3124__", + "parentId": "__FLD_157__", + "_id": "__REQ_3916__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription", @@ -8378,8 +8378,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3125__", + "parentId": "__FLD_157__", + "_id": "__REQ_3917__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription", @@ -8394,8 +8394,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_3126__", + "parentId": "__FLD_157__", + "_id": "__REQ_3918__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription", @@ -8410,8 +8410,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3127__", + "parentId": "__FLD_176__", + "_id": "__REQ_3919__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-tags", @@ -8437,8 +8437,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3128__", + "parentId": "__FLD_176__", + "_id": "__REQ_3920__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", @@ -8453,8 +8453,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3129__", + "parentId": "__FLD_176__", + "_id": "__REQ_3921__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-teams", @@ -8480,8 +8480,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3130__", + "parentId": "__FLD_176__", + "_id": "__REQ_3922__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-all-repository-topics", @@ -8501,8 +8501,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3131__", + "parentId": "__FLD_176__", + "_id": "__REQ_3923__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#replace-all-repository-topics", @@ -8522,8 +8522,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3132__", + "parentId": "__FLD_176__", + "_id": "__REQ_3924__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#transfer-a-repository", @@ -8538,8 +8538,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3133__", + "parentId": "__FLD_176__", + "_id": "__REQ_3925__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#enable-vulnerability-alerts", @@ -8559,8 +8559,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3134__", + "parentId": "__FLD_176__", + "_id": "__REQ_3926__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#disable-vulnerability-alerts", @@ -8580,8 +8580,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3135__", + "parentId": "__FLD_176__", + "_id": "__REQ_3927__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", @@ -8596,8 +8596,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3136__", + "parentId": "__FLD_176__", + "_id": "__REQ_3928__", "_type": "request", "name": "Create a repository using a template", "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-a-repository-using-a-template", @@ -8617,8 +8617,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3137__", + "parentId": "__FLD_176__", + "_id": "__REQ_3929__", "_type": "request", "name": "List public repositories", "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-public-repositories", @@ -8643,8 +8643,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3138__", + "parentId": "__FLD_177__", + "_id": "__REQ_3930__", "_type": "request", "name": "Search code", "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-code", @@ -8683,8 +8683,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3139__", + "parentId": "__FLD_177__", + "_id": "__REQ_3931__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-commits", @@ -8728,8 +8728,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3140__", + "parentId": "__FLD_177__", + "_id": "__REQ_3932__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-issues-and-pull-requests", @@ -8768,8 +8768,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3141__", + "parentId": "__FLD_177__", + "_id": "__REQ_3933__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-labels", @@ -8802,8 +8802,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3142__", + "parentId": "__FLD_177__", + "_id": "__REQ_3934__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-repositories", @@ -8847,8 +8847,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3143__", + "parentId": "__FLD_177__", + "_id": "__REQ_3935__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-topics", @@ -8873,8 +8873,8 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3144__", + "parentId": "__FLD_177__", + "_id": "__REQ_3936__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-users", @@ -8913,8 +8913,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3145__", + "parentId": "__FLD_162__", + "_id": "__REQ_3937__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8929,8 +8929,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3146__", + "parentId": "__FLD_162__", + "_id": "__REQ_3938__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8945,8 +8945,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3147__", + "parentId": "__FLD_162__", + "_id": "__REQ_3939__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8961,8 +8961,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3148__", + "parentId": "__FLD_162__", + "_id": "__REQ_3940__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", @@ -8977,8 +8977,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3149__", + "parentId": "__FLD_162__", + "_id": "__REQ_3941__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings", @@ -8993,8 +8993,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3150__", + "parentId": "__FLD_162__", + "_id": "__REQ_3942__", "_type": "request", "name": "Set settings", "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#set-settings", @@ -9009,8 +9009,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3151__", + "parentId": "__FLD_162__", + "_id": "__REQ_3943__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -9025,8 +9025,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3152__", + "parentId": "__FLD_162__", + "_id": "__REQ_3944__", "_type": "request", "name": "Add an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#add-an-authorized-ssh-key", @@ -9041,8 +9041,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3153__", + "parentId": "__FLD_162__", + "_id": "__REQ_3945__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", @@ -9057,8 +9057,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_3154__", + "parentId": "__FLD_162__", + "_id": "__REQ_3946__", "_type": "request", "name": "Create a GitHub license", "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", @@ -9068,4 +9068,2296 @@ "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/setup/api \ No newline at end of file + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_3947__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3948__", + "_type": "request", + "name": "Get a team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#get-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3949__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3950__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3951__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3952__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3953__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3954__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3955__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3956__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3957__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3958__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3959__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3960__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_3961__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_3962__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_3963__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_3964__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3965__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3966__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3967__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3968__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3969__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3970__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3971__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3972__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3973__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3974__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3975__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3976__", + "_type": "request", + "name": "List team repositories", + "description": "If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3977__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3978__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3979__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_3980__", + "_type": "request", + "name": "List child teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3981__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3982__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3983__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3984__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3985__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3986__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3987__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3988__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3989__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3990__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3991__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3992__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3993__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_3994__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3995__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3996__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3997__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.20/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3998__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.20/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3999__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4000__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4001__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4002__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4003__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4004__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4005__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4006__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4007__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_4008__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4009__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4010__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4011__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4012__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4013__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4014__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4015__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4016__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4017__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4018__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4019__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4020__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4021__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4022__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.20/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4023__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4024__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4025__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4026__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4027__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4028__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_163__", + "_id": "__REQ_4029__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4030__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4031__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_4032__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4033__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4034__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_4035__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4036__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4037__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_176__", + "_id": "__REQ_4038__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_4039__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_4040__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4041__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4042__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_4043__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_4044__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_169__", + "_id": "__REQ_4045__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-2.21.json b/routes/ghes-2.21.json index ebea4b8..d7bb2bf 100644 --- a/routes/ghes-2.21.json +++ b/routes/ghes-2.21.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.229Z", + "__export_date": "2021-02-18T17:02:27.004Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_1__", + "_id": "__FLD_180__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -78,146 +78,146 @@ } }, { - "parentId": "__FLD_1__", - "_id": "__FLD_2__", + "parentId": "__FLD_180__", + "_id": "__FLD_181__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_3__", + "parentId": "__FLD_180__", + "_id": "__FLD_182__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_4__", + "parentId": "__FLD_180__", + "_id": "__FLD_183__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_5__", + "parentId": "__FLD_180__", + "_id": "__FLD_184__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_6__", + "parentId": "__FLD_180__", + "_id": "__FLD_185__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_7__", + "parentId": "__FLD_180__", + "_id": "__FLD_186__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_8__", + "parentId": "__FLD_180__", + "_id": "__FLD_187__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_9__", + "parentId": "__FLD_180__", + "_id": "__FLD_188__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_10__", + "parentId": "__FLD_180__", + "_id": "__FLD_189__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_11__", + "parentId": "__FLD_180__", + "_id": "__FLD_190__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_12__", + "parentId": "__FLD_180__", + "_id": "__FLD_191__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_13__", + "parentId": "__FLD_180__", + "_id": "__FLD_192__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_14__", + "parentId": "__FLD_180__", + "_id": "__FLD_193__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_15__", + "parentId": "__FLD_180__", + "_id": "__FLD_194__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_16__", + "parentId": "__FLD_180__", + "_id": "__FLD_195__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_17__", + "parentId": "__FLD_180__", + "_id": "__FLD_196__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_18__", + "parentId": "__FLD_180__", + "_id": "__FLD_197__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_19__", + "parentId": "__FLD_180__", + "_id": "__FLD_198__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_20__", + "parentId": "__FLD_180__", + "_id": "__FLD_199__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_21__", + "parentId": "__FLD_180__", + "_id": "__FLD_200__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_22__", + "parentId": "__FLD_180__", + "_id": "__FLD_201__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_23__", + "parentId": "__FLD_180__", + "_id": "__FLD_202__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_24__", + "parentId": "__FLD_180__", + "_id": "__FLD_203__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_14__", - "_id": "__REQ_1__", + "parentId": "__FLD_193__", + "_id": "__REQ_4046__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -232,8 +232,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_2__", + "parentId": "__FLD_186__", + "_id": "__REQ_4047__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +264,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_3__", + "parentId": "__FLD_186__", + "_id": "__REQ_4048__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +285,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_4__", + "parentId": "__FLD_186__", + "_id": "__REQ_4049__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +306,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_5__", + "parentId": "__FLD_186__", + "_id": "__REQ_4050__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +327,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_6__", + "parentId": "__FLD_186__", + "_id": "__REQ_4051__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +348,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_7__", + "parentId": "__FLD_186__", + "_id": "__REQ_4052__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +369,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_8__", + "parentId": "__FLD_186__", + "_id": "__REQ_4053__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-public-keys", @@ -396,8 +396,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_9__", + "parentId": "__FLD_186__", + "_id": "__REQ_4054__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,8 +412,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_10__", + "parentId": "__FLD_186__", + "_id": "__REQ_4055__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -428,8 +428,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_11__", + "parentId": "__FLD_186__", + "_id": "__REQ_4056__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -444,8 +444,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_12__", + "parentId": "__FLD_186__", + "_id": "__REQ_4057__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -460,8 +460,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_13__", + "parentId": "__FLD_186__", + "_id": "__REQ_4058__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -476,8 +476,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_14__", + "parentId": "__FLD_186__", + "_id": "__REQ_4059__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-organization", @@ -492,8 +492,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_15__", + "parentId": "__FLD_186__", + "_id": "__REQ_4060__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-an-organization-name", @@ -508,8 +508,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_16__", + "parentId": "__FLD_186__", + "_id": "__REQ_4061__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -540,8 +540,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_17__", + "parentId": "__FLD_186__", + "_id": "__REQ_4062__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -561,8 +561,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_18__", + "parentId": "__FLD_186__", + "_id": "__REQ_4063__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -582,8 +582,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_19__", + "parentId": "__FLD_186__", + "_id": "__REQ_4064__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -603,8 +603,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_20__", + "parentId": "__FLD_186__", + "_id": "__REQ_4065__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -624,8 +624,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_21__", + "parentId": "__FLD_186__", + "_id": "__REQ_4066__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -645,8 +645,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_22__", + "parentId": "__FLD_186__", + "_id": "__REQ_4067__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -666,8 +666,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_23__", + "parentId": "__FLD_186__", + "_id": "__REQ_4068__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -698,8 +698,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_24__", + "parentId": "__FLD_186__", + "_id": "__REQ_4069__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -719,8 +719,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_25__", + "parentId": "__FLD_186__", + "_id": "__REQ_4070__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -740,8 +740,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_26__", + "parentId": "__FLD_186__", + "_id": "__REQ_4071__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -761,8 +761,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_27__", + "parentId": "__FLD_186__", + "_id": "__REQ_4072__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -782,8 +782,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_28__", + "parentId": "__FLD_186__", + "_id": "__REQ_4073__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -809,8 +809,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_29__", + "parentId": "__FLD_186__", + "_id": "__REQ_4074__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -825,8 +825,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_30__", + "parentId": "__FLD_186__", + "_id": "__REQ_4075__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-user", @@ -841,8 +841,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_31__", + "parentId": "__FLD_186__", + "_id": "__REQ_4076__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -857,8 +857,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_32__", + "parentId": "__FLD_186__", + "_id": "__REQ_4077__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-user", @@ -873,8 +873,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_33__", + "parentId": "__FLD_186__", + "_id": "__REQ_4078__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -889,8 +889,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_34__", + "parentId": "__FLD_186__", + "_id": "__REQ_4079__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -905,8 +905,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_35__", + "parentId": "__FLD_182__", + "_id": "__REQ_4080__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-the-authenticated-app", @@ -926,8 +926,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_36__", + "parentId": "__FLD_182__", + "_id": "__REQ_4081__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-a-github-app-from-a-manifest", @@ -942,8 +942,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_37__", + "parentId": "__FLD_182__", + "_id": "__REQ_4082__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#list-installations-for-the-authenticated-app", @@ -974,8 +974,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_38__", + "parentId": "__FLD_182__", + "_id": "__REQ_4083__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -995,8 +995,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_39__", + "parentId": "__FLD_182__", + "_id": "__REQ_4084__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1016,8 +1016,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_40__", + "parentId": "__FLD_182__", + "_id": "__REQ_4085__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1037,8 +1037,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_41__", + "parentId": "__FLD_194__", + "_id": "__REQ_4086__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-grants", @@ -1064,8 +1064,8 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_42__", + "parentId": "__FLD_194__", + "_id": "__REQ_4087__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1080,8 +1080,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_43__", + "parentId": "__FLD_194__", + "_id": "__REQ_4088__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-a-grant", @@ -1096,8 +1096,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_44__", + "parentId": "__FLD_182__", + "_id": "__REQ_4089__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-authorization", @@ -1112,8 +1112,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_45__", + "parentId": "__FLD_182__", + "_id": "__REQ_4090__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1128,8 +1128,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_46__", + "parentId": "__FLD_182__", + "_id": "__REQ_4091__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-a-token", @@ -1144,8 +1144,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_47__", + "parentId": "__FLD_182__", + "_id": "__REQ_4092__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-a-token", @@ -1160,8 +1160,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_48__", + "parentId": "__FLD_182__", + "_id": "__REQ_4093__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-token", @@ -1176,8 +1176,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_49__", + "parentId": "__FLD_182__", + "_id": "__REQ_4094__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-an-authorization", @@ -1192,8 +1192,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_50__", + "parentId": "__FLD_182__", + "_id": "__REQ_4095__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-an-authorization", @@ -1208,8 +1208,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_51__", + "parentId": "__FLD_182__", + "_id": "__REQ_4096__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1224,8 +1224,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_52__", + "parentId": "__FLD_182__", + "_id": "__REQ_4097__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-app", @@ -1245,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_53__", + "parentId": "__FLD_194__", + "_id": "__REQ_4098__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1272,8 +1272,8 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_54__", + "parentId": "__FLD_194__", + "_id": "__REQ_4099__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1288,8 +1288,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_55__", + "parentId": "__FLD_194__", + "_id": "__REQ_4100__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1304,8 +1304,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_56__", + "parentId": "__FLD_194__", + "_id": "__REQ_4101__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1320,8 +1320,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_57__", + "parentId": "__FLD_194__", + "_id": "__REQ_4102__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1336,8 +1336,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_58__", + "parentId": "__FLD_194__", + "_id": "__REQ_4103__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1352,8 +1352,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_59__", + "parentId": "__FLD_194__", + "_id": "__REQ_4104__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1368,8 +1368,8 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_60__", + "parentId": "__FLD_184__", + "_id": "__REQ_4105__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1389,8 +1389,8 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_61__", + "parentId": "__FLD_184__", + "_id": "__REQ_4106__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1410,8 +1410,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_62__", + "parentId": "__FLD_182__", + "_id": "__REQ_4107__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.21/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-a-content-attachment", @@ -1431,8 +1431,8 @@ "parameters": [] }, { - "parentId": "__FLD_6__", - "_id": "__REQ_63__", + "parentId": "__FLD_185__", + "_id": "__REQ_4108__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/emojis/#get-emojis", @@ -1447,8 +1447,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_64__", + "parentId": "__FLD_186__", + "_id": "__REQ_4109__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-license-information", @@ -1463,8 +1463,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_65__", + "parentId": "__FLD_186__", + "_id": "__REQ_4110__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-statistics", @@ -1479,8 +1479,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_66__", + "parentId": "__FLD_181__", + "_id": "__REQ_4111__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events", @@ -1506,8 +1506,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_67__", + "parentId": "__FLD_181__", + "_id": "__REQ_4112__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-feeds", @@ -1522,8 +1522,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_68__", + "parentId": "__FLD_187__", + "_id": "__REQ_4113__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gists-for-the-authenticated-user", @@ -1553,8 +1553,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_69__", + "parentId": "__FLD_187__", + "_id": "__REQ_4114__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#create-a-gist", @@ -1569,8 +1569,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_70__", + "parentId": "__FLD_187__", + "_id": "__REQ_4115__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-public-gists", @@ -1600,8 +1600,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_71__", + "parentId": "__FLD_187__", + "_id": "__REQ_4116__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-starred-gists", @@ -1631,8 +1631,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_72__", + "parentId": "__FLD_187__", + "_id": "__REQ_4117__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist", @@ -1647,8 +1647,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_73__", + "parentId": "__FLD_187__", + "_id": "__REQ_4118__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#update-a-gist", @@ -1663,8 +1663,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_74__", + "parentId": "__FLD_187__", + "_id": "__REQ_4119__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#delete-a-gist", @@ -1679,8 +1679,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_75__", + "parentId": "__FLD_187__", + "_id": "__REQ_4120__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gist-comments", @@ -1706,8 +1706,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_76__", + "parentId": "__FLD_187__", + "_id": "__REQ_4121__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#create-a-gist-comment", @@ -1722,8 +1722,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_77__", + "parentId": "__FLD_187__", + "_id": "__REQ_4122__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#get-a-gist-comment", @@ -1738,8 +1738,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_78__", + "parentId": "__FLD_187__", + "_id": "__REQ_4123__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#update-a-gist-comment", @@ -1754,8 +1754,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_79__", + "parentId": "__FLD_187__", + "_id": "__REQ_4124__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#delete-a-gist-comment", @@ -1770,8 +1770,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_80__", + "parentId": "__FLD_187__", + "_id": "__REQ_4125__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-commits", @@ -1797,8 +1797,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_81__", + "parentId": "__FLD_187__", + "_id": "__REQ_4126__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-forks", @@ -1824,8 +1824,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_82__", + "parentId": "__FLD_187__", + "_id": "__REQ_4127__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#fork-a-gist", @@ -1840,8 +1840,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_83__", + "parentId": "__FLD_187__", + "_id": "__REQ_4128__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#check-if-a-gist-is-starred", @@ -1856,8 +1856,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_84__", + "parentId": "__FLD_187__", + "_id": "__REQ_4129__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#star-a-gist", @@ -1872,8 +1872,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_85__", + "parentId": "__FLD_187__", + "_id": "__REQ_4130__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#unstar-a-gist", @@ -1888,8 +1888,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_86__", + "parentId": "__FLD_187__", + "_id": "__REQ_4131__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist-revision", @@ -1904,8 +1904,8 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_87__", + "parentId": "__FLD_189__", + "_id": "__REQ_4132__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-all-gitignore-templates", @@ -1920,8 +1920,8 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_88__", + "parentId": "__FLD_189__", + "_id": "__REQ_4133__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-a-gitignore-template", @@ -1936,8 +1936,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_89__", + "parentId": "__FLD_182__", + "_id": "__REQ_4134__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1968,8 +1968,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_90__", + "parentId": "__FLD_182__", + "_id": "__REQ_4135__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-installation-access-token", @@ -1984,8 +1984,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_91__", + "parentId": "__FLD_190__", + "_id": "__REQ_4136__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -2060,8 +2060,8 @@ ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_92__", + "parentId": "__FLD_191__", + "_id": "__REQ_4137__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-all-commonly-used-licenses", @@ -2086,8 +2086,8 @@ ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_93__", + "parentId": "__FLD_191__", + "_id": "__REQ_4138__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-a-license", @@ -2102,8 +2102,8 @@ "parameters": [] }, { - "parentId": "__FLD_13__", - "_id": "__REQ_94__", + "parentId": "__FLD_192__", + "_id": "__REQ_4139__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document", @@ -2118,8 +2118,8 @@ "parameters": [] }, { - "parentId": "__FLD_13__", - "_id": "__REQ_95__", + "parentId": "__FLD_192__", + "_id": "__REQ_4140__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2134,8 +2134,8 @@ "parameters": [] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_96__", + "parentId": "__FLD_193__", + "_id": "__REQ_4141__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/meta/#get-github-meta-information", @@ -2150,8 +2150,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_97__", + "parentId": "__FLD_181__", + "_id": "__REQ_4142__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2177,8 +2177,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_98__", + "parentId": "__FLD_181__", + "_id": "__REQ_4143__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2222,8 +2222,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_99__", + "parentId": "__FLD_181__", + "_id": "__REQ_4144__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-notifications-as-read", @@ -2238,8 +2238,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_100__", + "parentId": "__FLD_181__", + "_id": "__REQ_4145__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread", @@ -2254,8 +2254,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_101__", + "parentId": "__FLD_181__", + "_id": "__REQ_4146__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-a-thread-as-read", @@ -2270,8 +2270,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_102__", + "parentId": "__FLD_181__", + "_id": "__REQ_4147__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2286,8 +2286,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_103__", + "parentId": "__FLD_181__", + "_id": "__REQ_4148__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription", @@ -2302,8 +2302,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_104__", + "parentId": "__FLD_181__", + "_id": "__REQ_4149__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription", @@ -2318,8 +2318,8 @@ "parameters": [] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_105__", + "parentId": "__FLD_193__", + "_id": "__REQ_4150__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2339,8 +2339,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_106__", + "parentId": "__FLD_195__", + "_id": "__REQ_4151__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations", @@ -2365,8 +2365,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_107__", + "parentId": "__FLD_195__", + "_id": "__REQ_4152__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#get-an-organization", @@ -2386,8 +2386,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_108__", + "parentId": "__FLD_195__", + "_id": "__REQ_4153__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#update-an-organization", @@ -2407,8 +2407,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_109__", + "parentId": "__FLD_181__", + "_id": "__REQ_4154__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-organization-events", @@ -2434,8 +2434,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_110__", + "parentId": "__FLD_195__", + "_id": "__REQ_4155__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-webhooks", @@ -2461,8 +2461,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_111__", + "parentId": "__FLD_195__", + "_id": "__REQ_4156__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#create-an-organization-webhook", @@ -2477,8 +2477,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_112__", + "parentId": "__FLD_195__", + "_id": "__REQ_4157__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization-webhook", @@ -2493,8 +2493,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_113__", + "parentId": "__FLD_195__", + "_id": "__REQ_4158__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#update-an-organization-webhook", @@ -2509,8 +2509,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_114__", + "parentId": "__FLD_195__", + "_id": "__REQ_4159__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#delete-an-organization-webhook", @@ -2525,8 +2525,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_115__", + "parentId": "__FLD_195__", + "_id": "__REQ_4160__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#ping-an-organization-webhook", @@ -2541,8 +2541,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_116__", + "parentId": "__FLD_182__", + "_id": "__REQ_4161__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -2562,8 +2562,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_117__", + "parentId": "__FLD_195__", + "_id": "__REQ_4162__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-app-installations-for-an-organization", @@ -2594,8 +2594,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_118__", + "parentId": "__FLD_190__", + "_id": "__REQ_4163__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -2654,8 +2654,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_119__", + "parentId": "__FLD_195__", + "_id": "__REQ_4164__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-members", @@ -2691,8 +2691,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_120__", + "parentId": "__FLD_195__", + "_id": "__REQ_4165__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2707,8 +2707,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_121__", + "parentId": "__FLD_195__", + "_id": "__REQ_4166__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-an-organization-member", @@ -2723,8 +2723,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_122__", + "parentId": "__FLD_195__", + "_id": "__REQ_4167__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user", @@ -2739,8 +2739,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_123__", + "parentId": "__FLD_195__", + "_id": "__REQ_4168__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2755,8 +2755,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_124__", + "parentId": "__FLD_195__", + "_id": "__REQ_4169__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2771,8 +2771,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_125__", + "parentId": "__FLD_195__", + "_id": "__REQ_4170__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2803,8 +2803,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_126__", + "parentId": "__FLD_195__", + "_id": "__REQ_4171__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2819,8 +2819,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_127__", + "parentId": "__FLD_195__", + "_id": "__REQ_4172__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2835,8 +2835,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_128__", + "parentId": "__FLD_186__", + "_id": "__REQ_4173__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2867,8 +2867,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_129__", + "parentId": "__FLD_186__", + "_id": "__REQ_4174__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2888,8 +2888,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_130__", + "parentId": "__FLD_186__", + "_id": "__REQ_4175__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2909,8 +2909,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_131__", + "parentId": "__FLD_186__", + "_id": "__REQ_4176__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2930,8 +2930,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_132__", + "parentId": "__FLD_196__", + "_id": "__REQ_4177__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-organization-projects", @@ -2967,8 +2967,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_133__", + "parentId": "__FLD_196__", + "_id": "__REQ_4178__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-an-organization-project", @@ -2988,8 +2988,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_134__", + "parentId": "__FLD_195__", + "_id": "__REQ_4179__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-public-organization-members", @@ -3015,8 +3015,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_135__", + "parentId": "__FLD_195__", + "_id": "__REQ_4180__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3031,8 +3031,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_136__", + "parentId": "__FLD_195__", + "_id": "__REQ_4181__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3047,8 +3047,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_137__", + "parentId": "__FLD_195__", + "_id": "__REQ_4182__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3063,8 +3063,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_138__", + "parentId": "__FLD_200__", + "_id": "__REQ_4183__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-organization-repositories", @@ -3108,8 +3108,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_139__", + "parentId": "__FLD_200__", + "_id": "__REQ_4184__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-an-organization-repository", @@ -3129,8 +3129,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_140__", + "parentId": "__FLD_202__", + "_id": "__REQ_4185__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-teams", @@ -3156,8 +3156,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_141__", + "parentId": "__FLD_202__", + "_id": "__REQ_4186__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team", @@ -3172,8 +3172,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_142__", + "parentId": "__FLD_202__", + "_id": "__REQ_4187__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#get-a-team-by-name", @@ -3188,8 +3188,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_143__", + "parentId": "__FLD_202__", + "_id": "__REQ_4188__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#update-a-team", @@ -3204,8 +3204,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_144__", + "parentId": "__FLD_202__", + "_id": "__REQ_4189__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#delete-a-team", @@ -3220,8 +3220,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_145__", + "parentId": "__FLD_202__", + "_id": "__REQ_4190__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions", @@ -3257,8 +3257,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_146__", + "parentId": "__FLD_202__", + "_id": "__REQ_4191__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion", @@ -3278,8 +3278,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_147__", + "parentId": "__FLD_202__", + "_id": "__REQ_4192__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion", @@ -3299,8 +3299,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_148__", + "parentId": "__FLD_202__", + "_id": "__REQ_4193__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion", @@ -3320,8 +3320,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_149__", + "parentId": "__FLD_202__", + "_id": "__REQ_4194__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion", @@ -3336,8 +3336,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_150__", + "parentId": "__FLD_202__", + "_id": "__REQ_4195__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments", @@ -3373,8 +3373,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_151__", + "parentId": "__FLD_202__", + "_id": "__REQ_4196__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment", @@ -3394,8 +3394,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_152__", + "parentId": "__FLD_202__", + "_id": "__REQ_4197__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment", @@ -3415,8 +3415,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_153__", + "parentId": "__FLD_202__", + "_id": "__REQ_4198__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment", @@ -3436,8 +3436,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_154__", + "parentId": "__FLD_202__", + "_id": "__REQ_4199__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment", @@ -3452,8 +3452,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_155__", + "parentId": "__FLD_199__", + "_id": "__REQ_4200__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -3488,8 +3488,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_156__", + "parentId": "__FLD_199__", + "_id": "__REQ_4201__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -3509,8 +3509,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_157__", + "parentId": "__FLD_199__", + "_id": "__REQ_4202__", "_type": "request", "name": "Delete team discussion comment reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-comment-reaction", @@ -3530,8 +3530,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_158__", + "parentId": "__FLD_199__", + "_id": "__REQ_4203__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion", @@ -3566,8 +3566,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_159__", + "parentId": "__FLD_199__", + "_id": "__REQ_4204__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion", @@ -3587,8 +3587,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_160__", + "parentId": "__FLD_199__", + "_id": "__REQ_4205__", "_type": "request", "name": "Delete team discussion reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-reaction", @@ -3608,8 +3608,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_161__", + "parentId": "__FLD_202__", + "_id": "__REQ_4206__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members", @@ -3640,8 +3640,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_162__", + "parentId": "__FLD_202__", + "_id": "__REQ_4207__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user", @@ -3656,8 +3656,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_163__", + "parentId": "__FLD_202__", + "_id": "__REQ_4208__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -3672,8 +3672,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_164__", + "parentId": "__FLD_202__", + "_id": "__REQ_4209__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user", @@ -3688,8 +3688,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_165__", + "parentId": "__FLD_202__", + "_id": "__REQ_4210__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-projects", @@ -3720,8 +3720,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_166__", + "parentId": "__FLD_202__", + "_id": "__REQ_4211__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-project", @@ -3741,8 +3741,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_167__", + "parentId": "__FLD_202__", + "_id": "__REQ_4212__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-project-permissions", @@ -3762,8 +3762,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_168__", + "parentId": "__FLD_202__", + "_id": "__REQ_4213__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-project-from-a-team", @@ -3778,8 +3778,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_169__", + "parentId": "__FLD_202__", + "_id": "__REQ_4214__", "_type": "request", "name": "List team repositories", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-repositories", @@ -3805,8 +3805,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_170__", + "parentId": "__FLD_202__", + "_id": "__REQ_4215__", "_type": "request", "name": "Check team permissions for a repository", "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-repository", @@ -3821,8 +3821,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_171__", + "parentId": "__FLD_202__", + "_id": "__REQ_4216__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-repository-permissions", @@ -3837,8 +3837,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_172__", + "parentId": "__FLD_202__", + "_id": "__REQ_4217__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-repository-from-a-team", @@ -3853,8 +3853,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_173__", + "parentId": "__FLD_202__", + "_id": "__REQ_4218__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-child-teams", @@ -3880,8 +3880,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_174__", + "parentId": "__FLD_196__", + "_id": "__REQ_4219__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-card", @@ -3901,8 +3901,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_175__", + "parentId": "__FLD_196__", + "_id": "__REQ_4220__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-card", @@ -3922,8 +3922,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_176__", + "parentId": "__FLD_196__", + "_id": "__REQ_4221__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-card", @@ -3943,8 +3943,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_177__", + "parentId": "__FLD_196__", + "_id": "__REQ_4222__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-card", @@ -3964,8 +3964,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_178__", + "parentId": "__FLD_196__", + "_id": "__REQ_4223__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-column", @@ -3985,8 +3985,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_179__", + "parentId": "__FLD_196__", + "_id": "__REQ_4224__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-column", @@ -4006,8 +4006,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_180__", + "parentId": "__FLD_196__", + "_id": "__REQ_4225__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-column", @@ -4027,8 +4027,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_181__", + "parentId": "__FLD_196__", + "_id": "__REQ_4226__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-cards", @@ -4064,8 +4064,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_182__", + "parentId": "__FLD_196__", + "_id": "__REQ_4227__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-card", @@ -4085,8 +4085,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_183__", + "parentId": "__FLD_196__", + "_id": "__REQ_4228__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-column", @@ -4106,8 +4106,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_184__", + "parentId": "__FLD_196__", + "_id": "__REQ_4229__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#get-a-project", @@ -4127,8 +4127,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_185__", + "parentId": "__FLD_196__", + "_id": "__REQ_4230__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#update-a-project", @@ -4148,8 +4148,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_186__", + "parentId": "__FLD_196__", + "_id": "__REQ_4231__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#delete-a-project", @@ -4169,8 +4169,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_187__", + "parentId": "__FLD_196__", + "_id": "__REQ_4232__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-collaborators", @@ -4206,8 +4206,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_188__", + "parentId": "__FLD_196__", + "_id": "__REQ_4233__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#add-project-collaborator", @@ -4227,8 +4227,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_189__", + "parentId": "__FLD_196__", + "_id": "__REQ_4234__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#remove-project-collaborator", @@ -4248,8 +4248,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_190__", + "parentId": "__FLD_196__", + "_id": "__REQ_4235__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-project-permission-for-a-user", @@ -4269,8 +4269,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_191__", + "parentId": "__FLD_196__", + "_id": "__REQ_4236__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-columns", @@ -4301,8 +4301,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_192__", + "parentId": "__FLD_196__", + "_id": "__REQ_4237__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-column", @@ -4322,8 +4322,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_193__", + "parentId": "__FLD_198__", + "_id": "__REQ_4238__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -4338,8 +4338,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_194__", + "parentId": "__FLD_199__", + "_id": "__REQ_4239__", "_type": "request", "name": "Delete a reaction (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-reaction-legacy", @@ -4359,8 +4359,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_195__", + "parentId": "__FLD_200__", + "_id": "__REQ_4240__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-a-repository", @@ -4380,8 +4380,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_196__", + "parentId": "__FLD_200__", + "_id": "__REQ_4241__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#update-a-repository", @@ -4401,8 +4401,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_197__", + "parentId": "__FLD_200__", + "_id": "__REQ_4242__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#delete-a-repository", @@ -4417,8 +4417,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_198__", + "parentId": "__FLD_190__", + "_id": "__REQ_4243__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-assignees", @@ -4444,8 +4444,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_199__", + "parentId": "__FLD_190__", + "_id": "__REQ_4244__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -4460,8 +4460,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_200__", + "parentId": "__FLD_200__", + "_id": "__REQ_4245__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches", @@ -4491,8 +4491,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_201__", + "parentId": "__FLD_200__", + "_id": "__REQ_4246__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-branch", @@ -4507,8 +4507,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_202__", + "parentId": "__FLD_200__", + "_id": "__REQ_4247__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-branch-protection", @@ -4528,8 +4528,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_203__", + "parentId": "__FLD_200__", + "_id": "__REQ_4248__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-branch-protection", @@ -4549,8 +4549,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_204__", + "parentId": "__FLD_200__", + "_id": "__REQ_4249__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-branch-protection", @@ -4565,8 +4565,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_205__", + "parentId": "__FLD_200__", + "_id": "__REQ_4250__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-admin-branch-protection", @@ -4581,8 +4581,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_206__", + "parentId": "__FLD_200__", + "_id": "__REQ_4251__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-admin-branch-protection", @@ -4597,8 +4597,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_207__", + "parentId": "__FLD_200__", + "_id": "__REQ_4252__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-admin-branch-protection", @@ -4613,8 +4613,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_208__", + "parentId": "__FLD_200__", + "_id": "__REQ_4253__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-pull-request-review-protection", @@ -4634,8 +4634,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_209__", + "parentId": "__FLD_200__", + "_id": "__REQ_4254__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-pull-request-review-protection", @@ -4655,8 +4655,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_210__", + "parentId": "__FLD_200__", + "_id": "__REQ_4255__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-pull-request-review-protection", @@ -4671,8 +4671,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_211__", + "parentId": "__FLD_200__", + "_id": "__REQ_4256__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-commit-signature-protection", @@ -4692,8 +4692,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_212__", + "parentId": "__FLD_200__", + "_id": "__REQ_4257__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-commit-signature-protection", @@ -4713,8 +4713,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_213__", + "parentId": "__FLD_200__", + "_id": "__REQ_4258__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-commit-signature-protection", @@ -4734,8 +4734,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_214__", + "parentId": "__FLD_200__", + "_id": "__REQ_4259__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-status-checks-protection", @@ -4750,8 +4750,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_215__", + "parentId": "__FLD_200__", + "_id": "__REQ_4260__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-status-check-potection", @@ -4766,8 +4766,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_216__", + "parentId": "__FLD_200__", + "_id": "__REQ_4261__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-protection", @@ -4782,8 +4782,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_217__", + "parentId": "__FLD_200__", + "_id": "__REQ_4262__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-status-check-contexts", @@ -4798,8 +4798,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_218__", + "parentId": "__FLD_200__", + "_id": "__REQ_4263__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-status-check-contexts", @@ -4814,8 +4814,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_219__", + "parentId": "__FLD_200__", + "_id": "__REQ_4264__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-status-check-contexts", @@ -4830,8 +4830,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_220__", + "parentId": "__FLD_200__", + "_id": "__REQ_4265__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-contexts", @@ -4846,8 +4846,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_221__", + "parentId": "__FLD_200__", + "_id": "__REQ_4266__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-access-restrictions", @@ -4862,8 +4862,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_222__", + "parentId": "__FLD_200__", + "_id": "__REQ_4267__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-access-restrictions", @@ -4878,8 +4878,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_223__", + "parentId": "__FLD_200__", + "_id": "__REQ_4268__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4894,8 +4894,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_224__", + "parentId": "__FLD_200__", + "_id": "__REQ_4269__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-app-access-restrictions", @@ -4910,8 +4910,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_225__", + "parentId": "__FLD_200__", + "_id": "__REQ_4270__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-app-access-restrictions", @@ -4926,8 +4926,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_226__", + "parentId": "__FLD_200__", + "_id": "__REQ_4271__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-app-access-restrictions", @@ -4942,8 +4942,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_227__", + "parentId": "__FLD_200__", + "_id": "__REQ_4272__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4958,8 +4958,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_228__", + "parentId": "__FLD_200__", + "_id": "__REQ_4273__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-team-access-restrictions", @@ -4974,8 +4974,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_229__", + "parentId": "__FLD_200__", + "_id": "__REQ_4274__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-team-access-restrictions", @@ -4990,8 +4990,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_230__", + "parentId": "__FLD_200__", + "_id": "__REQ_4275__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-team-access-restrictions", @@ -5006,8 +5006,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_231__", + "parentId": "__FLD_200__", + "_id": "__REQ_4276__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -5022,8 +5022,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_232__", + "parentId": "__FLD_200__", + "_id": "__REQ_4277__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-user-access-restrictions", @@ -5038,8 +5038,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_233__", + "parentId": "__FLD_200__", + "_id": "__REQ_4278__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-user-access-restrictions", @@ -5054,8 +5054,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_234__", + "parentId": "__FLD_200__", + "_id": "__REQ_4279__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-user-access-restrictions", @@ -5070,8 +5070,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_235__", + "parentId": "__FLD_183__", + "_id": "__REQ_4280__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-run", @@ -5091,8 +5091,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_236__", + "parentId": "__FLD_183__", + "_id": "__REQ_4281__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-run", @@ -5112,8 +5112,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_237__", + "parentId": "__FLD_183__", + "_id": "__REQ_4282__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-a-check-run", @@ -5133,8 +5133,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_238__", + "parentId": "__FLD_183__", + "_id": "__REQ_4283__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-run-annotations", @@ -5165,8 +5165,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_239__", + "parentId": "__FLD_183__", + "_id": "__REQ_4284__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite", @@ -5186,8 +5186,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_240__", + "parentId": "__FLD_183__", + "_id": "__REQ_4285__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -5207,8 +5207,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_241__", + "parentId": "__FLD_183__", + "_id": "__REQ_4286__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-suite", @@ -5228,8 +5228,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_242__", + "parentId": "__FLD_183__", + "_id": "__REQ_4287__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -5273,8 +5273,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_243__", + "parentId": "__FLD_183__", + "_id": "__REQ_4288__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#rerequest-a-check-suite", @@ -5294,8 +5294,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_244__", + "parentId": "__FLD_200__", + "_id": "__REQ_4289__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-collaborators", @@ -5326,8 +5326,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_245__", + "parentId": "__FLD_200__", + "_id": "__REQ_4290__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -5342,8 +5342,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_246__", + "parentId": "__FLD_200__", + "_id": "__REQ_4291__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-a-repository-collaborator", @@ -5358,8 +5358,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_247__", + "parentId": "__FLD_200__", + "_id": "__REQ_4292__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-a-repository-collaborator", @@ -5374,8 +5374,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_248__", + "parentId": "__FLD_200__", + "_id": "__REQ_4293__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-permissions-for-a-user", @@ -5390,8 +5390,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_249__", + "parentId": "__FLD_200__", + "_id": "__REQ_4294__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments-for-a-repository", @@ -5422,8 +5422,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_250__", + "parentId": "__FLD_200__", + "_id": "__REQ_4295__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit-comment", @@ -5443,8 +5443,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_251__", + "parentId": "__FLD_200__", + "_id": "__REQ_4296__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-commit-comment", @@ -5459,8 +5459,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_252__", + "parentId": "__FLD_200__", + "_id": "__REQ_4297__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-commit-comment", @@ -5475,8 +5475,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_253__", + "parentId": "__FLD_199__", + "_id": "__REQ_4298__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-commit-comment", @@ -5511,8 +5511,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_254__", + "parentId": "__FLD_199__", + "_id": "__REQ_4299__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-commit-comment", @@ -5532,8 +5532,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_255__", + "parentId": "__FLD_199__", + "_id": "__REQ_4300__", "_type": "request", "name": "Delete a commit comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-commit-comment-reaction", @@ -5553,8 +5553,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_256__", + "parentId": "__FLD_200__", + "_id": "__REQ_4301__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits", @@ -5600,8 +5600,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_257__", + "parentId": "__FLD_200__", + "_id": "__REQ_4302__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches-for-head-commit", @@ -5621,8 +5621,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_258__", + "parentId": "__FLD_200__", + "_id": "__REQ_4303__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments", @@ -5653,8 +5653,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_259__", + "parentId": "__FLD_200__", + "_id": "__REQ_4304__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-comment", @@ -5669,8 +5669,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_260__", + "parentId": "__FLD_200__", + "_id": "__REQ_4305__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -5701,8 +5701,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_261__", + "parentId": "__FLD_200__", + "_id": "__REQ_4306__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit", @@ -5717,8 +5717,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_262__", + "parentId": "__FLD_183__", + "_id": "__REQ_4307__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5762,8 +5762,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_263__", + "parentId": "__FLD_183__", + "_id": "__REQ_4308__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5802,8 +5802,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_264__", + "parentId": "__FLD_200__", + "_id": "__REQ_4309__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5818,8 +5818,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_265__", + "parentId": "__FLD_200__", + "_id": "__REQ_4310__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5845,8 +5845,8 @@ ] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_266__", + "parentId": "__FLD_184__", + "_id": "__REQ_4311__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -5866,8 +5866,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_267__", + "parentId": "__FLD_200__", + "_id": "__REQ_4312__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#compare-two-commits", @@ -5882,8 +5882,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_268__", + "parentId": "__FLD_200__", + "_id": "__REQ_4313__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.21/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content", @@ -5903,8 +5903,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_269__", + "parentId": "__FLD_200__", + "_id": "__REQ_4314__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-or-update-file-contents", @@ -5919,8 +5919,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_270__", + "parentId": "__FLD_200__", + "_id": "__REQ_4315__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-file", @@ -5935,8 +5935,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_271__", + "parentId": "__FLD_200__", + "_id": "__REQ_4316__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-contributors", @@ -5966,8 +5966,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_272__", + "parentId": "__FLD_200__", + "_id": "__REQ_4317__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployments", @@ -6018,8 +6018,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_273__", + "parentId": "__FLD_200__", + "_id": "__REQ_4318__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment", @@ -6039,8 +6039,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_274__", + "parentId": "__FLD_200__", + "_id": "__REQ_4319__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment", @@ -6060,8 +6060,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_275__", + "parentId": "__FLD_200__", + "_id": "__REQ_4320__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deployment", @@ -6076,8 +6076,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_276__", + "parentId": "__FLD_200__", + "_id": "__REQ_4321__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployment-statuses", @@ -6108,8 +6108,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_277__", + "parentId": "__FLD_200__", + "_id": "__REQ_4322__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status", @@ -6129,8 +6129,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_278__", + "parentId": "__FLD_200__", + "_id": "__REQ_4323__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment-status", @@ -6150,8 +6150,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_279__", + "parentId": "__FLD_200__", + "_id": "__REQ_4324__", "_type": "request", "name": "Create a repository dispatch event", "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-dispatch-event", @@ -6166,8 +6166,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_280__", + "parentId": "__FLD_181__", + "_id": "__REQ_4325__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-events", @@ -6193,8 +6193,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_281__", + "parentId": "__FLD_200__", + "_id": "__REQ_4326__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-forks", @@ -6225,8 +6225,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_282__", + "parentId": "__FLD_200__", + "_id": "__REQ_4327__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-fork", @@ -6241,8 +6241,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_283__", + "parentId": "__FLD_188__", + "_id": "__REQ_4328__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-blob", @@ -6257,8 +6257,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_284__", + "parentId": "__FLD_188__", + "_id": "__REQ_4329__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-blob", @@ -6273,8 +6273,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_285__", + "parentId": "__FLD_188__", + "_id": "__REQ_4330__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit", @@ -6289,8 +6289,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_286__", + "parentId": "__FLD_188__", + "_id": "__REQ_4331__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-commit", @@ -6305,8 +6305,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_287__", + "parentId": "__FLD_188__", + "_id": "__REQ_4332__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#list-matching-references", @@ -6332,8 +6332,8 @@ ] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_288__", + "parentId": "__FLD_188__", + "_id": "__REQ_4333__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-reference", @@ -6348,8 +6348,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_289__", + "parentId": "__FLD_188__", + "_id": "__REQ_4334__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference", @@ -6364,8 +6364,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_290__", + "parentId": "__FLD_188__", + "_id": "__REQ_4335__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference", @@ -6380,8 +6380,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_291__", + "parentId": "__FLD_188__", + "_id": "__REQ_4336__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#delete-a-reference", @@ -6396,8 +6396,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_292__", + "parentId": "__FLD_188__", + "_id": "__REQ_4337__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tag-object", @@ -6412,8 +6412,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_293__", + "parentId": "__FLD_188__", + "_id": "__REQ_4338__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tag", @@ -6428,8 +6428,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_294__", + "parentId": "__FLD_188__", + "_id": "__REQ_4339__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tree", @@ -6444,8 +6444,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_295__", + "parentId": "__FLD_188__", + "_id": "__REQ_4340__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree", @@ -6465,8 +6465,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_296__", + "parentId": "__FLD_200__", + "_id": "__REQ_4341__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-webhooks", @@ -6492,8 +6492,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_297__", + "parentId": "__FLD_200__", + "_id": "__REQ_4342__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-webhook", @@ -6508,8 +6508,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_298__", + "parentId": "__FLD_200__", + "_id": "__REQ_4343__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-webhook", @@ -6524,8 +6524,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_299__", + "parentId": "__FLD_200__", + "_id": "__REQ_4344__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-webhook", @@ -6540,8 +6540,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_300__", + "parentId": "__FLD_200__", + "_id": "__REQ_4345__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-webhook", @@ -6556,8 +6556,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_301__", + "parentId": "__FLD_200__", + "_id": "__REQ_4346__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#ping-a-repository-webhook", @@ -6572,8 +6572,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_302__", + "parentId": "__FLD_200__", + "_id": "__REQ_4347__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#test-the-push-repository-webhook", @@ -6588,8 +6588,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_303__", + "parentId": "__FLD_182__", + "_id": "__REQ_4348__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -6609,8 +6609,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_304__", + "parentId": "__FLD_200__", + "_id": "__REQ_4349__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-invitations", @@ -6636,8 +6636,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_305__", + "parentId": "__FLD_200__", + "_id": "__REQ_4350__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-invitation", @@ -6652,8 +6652,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_306__", + "parentId": "__FLD_200__", + "_id": "__REQ_4351__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-invitation", @@ -6668,8 +6668,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_307__", + "parentId": "__FLD_190__", + "_id": "__REQ_4352__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-repository-issues", @@ -6739,8 +6739,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_308__", + "parentId": "__FLD_190__", + "_id": "__REQ_4353__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#create-an-issue", @@ -6755,8 +6755,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_309__", + "parentId": "__FLD_190__", + "_id": "__REQ_4354__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments-for-a-repository", @@ -6800,8 +6800,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_310__", + "parentId": "__FLD_190__", + "_id": "__REQ_4355__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-comment", @@ -6821,8 +6821,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_311__", + "parentId": "__FLD_190__", + "_id": "__REQ_4356__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-an-issue-comment", @@ -6837,8 +6837,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_312__", + "parentId": "__FLD_190__", + "_id": "__REQ_4357__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-an-issue-comment", @@ -6853,8 +6853,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_313__", + "parentId": "__FLD_199__", + "_id": "__REQ_4358__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue-comment", @@ -6889,8 +6889,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_314__", + "parentId": "__FLD_199__", + "_id": "__REQ_4359__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue-comment", @@ -6910,8 +6910,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_315__", + "parentId": "__FLD_199__", + "_id": "__REQ_4360__", "_type": "request", "name": "Delete an issue comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-comment-reaction", @@ -6931,8 +6931,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_316__", + "parentId": "__FLD_190__", + "_id": "__REQ_4361__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events-for-a-repository", @@ -6963,8 +6963,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_317__", + "parentId": "__FLD_190__", + "_id": "__REQ_4362__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-event", @@ -6984,8 +6984,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_318__", + "parentId": "__FLD_190__", + "_id": "__REQ_4363__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#get-an-issue", @@ -7005,8 +7005,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_319__", + "parentId": "__FLD_190__", + "_id": "__REQ_4364__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#update-an-issue", @@ -7021,8 +7021,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_320__", + "parentId": "__FLD_190__", + "_id": "__REQ_4365__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-assignees-to-an-issue", @@ -7037,8 +7037,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_321__", + "parentId": "__FLD_190__", + "_id": "__REQ_4366__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-assignees-from-an-issue", @@ -7053,8 +7053,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_322__", + "parentId": "__FLD_190__", + "_id": "__REQ_4367__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments", @@ -7089,8 +7089,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_323__", + "parentId": "__FLD_190__", + "_id": "__REQ_4368__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment", @@ -7105,8 +7105,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_324__", + "parentId": "__FLD_190__", + "_id": "__REQ_4369__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events", @@ -7137,8 +7137,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_325__", + "parentId": "__FLD_190__", + "_id": "__REQ_4370__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-an-issue", @@ -7164,8 +7164,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_326__", + "parentId": "__FLD_190__", + "_id": "__REQ_4371__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-labels-to-an-issue", @@ -7180,8 +7180,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_327__", + "parentId": "__FLD_190__", + "_id": "__REQ_4372__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#set-labels-for-an-issue", @@ -7196,8 +7196,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_328__", + "parentId": "__FLD_190__", + "_id": "__REQ_4373__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-all-labels-from-an-issue", @@ -7212,8 +7212,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_329__", + "parentId": "__FLD_190__", + "_id": "__REQ_4374__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-a-label-from-an-issue", @@ -7228,8 +7228,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_330__", + "parentId": "__FLD_190__", + "_id": "__REQ_4375__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#lock-an-issue", @@ -7249,8 +7249,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_331__", + "parentId": "__FLD_190__", + "_id": "__REQ_4376__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#unlock-an-issue", @@ -7265,8 +7265,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_332__", + "parentId": "__FLD_199__", + "_id": "__REQ_4377__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue", @@ -7301,8 +7301,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_333__", + "parentId": "__FLD_199__", + "_id": "__REQ_4378__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue", @@ -7322,8 +7322,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_334__", + "parentId": "__FLD_199__", + "_id": "__REQ_4379__", "_type": "request", "name": "Delete an issue reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-reaction", @@ -7343,8 +7343,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_335__", + "parentId": "__FLD_190__", + "_id": "__REQ_4380__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-timeline-events-for-an-issue", @@ -7375,8 +7375,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_336__", + "parentId": "__FLD_200__", + "_id": "__REQ_4381__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deploy-keys", @@ -7402,8 +7402,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_337__", + "parentId": "__FLD_200__", + "_id": "__REQ_4382__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deploy-key", @@ -7418,8 +7418,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_338__", + "parentId": "__FLD_200__", + "_id": "__REQ_4383__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deploy-key", @@ -7434,8 +7434,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_339__", + "parentId": "__FLD_200__", + "_id": "__REQ_4384__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deploy-key", @@ -7450,8 +7450,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_340__", + "parentId": "__FLD_190__", + "_id": "__REQ_4385__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-a-repository", @@ -7477,8 +7477,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_341__", + "parentId": "__FLD_190__", + "_id": "__REQ_4386__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-label", @@ -7493,8 +7493,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_342__", + "parentId": "__FLD_190__", + "_id": "__REQ_4387__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-label", @@ -7509,8 +7509,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_343__", + "parentId": "__FLD_190__", + "_id": "__REQ_4388__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-label", @@ -7525,8 +7525,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_344__", + "parentId": "__FLD_190__", + "_id": "__REQ_4389__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-label", @@ -7541,8 +7541,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_345__", + "parentId": "__FLD_200__", + "_id": "__REQ_4390__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-languages", @@ -7557,8 +7557,8 @@ "parameters": [] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_346__", + "parentId": "__FLD_191__", + "_id": "__REQ_4391__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-the-license-for-a-repository", @@ -7573,8 +7573,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_347__", + "parentId": "__FLD_200__", + "_id": "__REQ_4392__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#merge-a-branch", @@ -7589,8 +7589,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_348__", + "parentId": "__FLD_190__", + "_id": "__REQ_4393__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-milestones", @@ -7631,8 +7631,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_349__", + "parentId": "__FLD_190__", + "_id": "__REQ_4394__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-milestone", @@ -7647,8 +7647,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_350__", + "parentId": "__FLD_190__", + "_id": "__REQ_4395__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-milestone", @@ -7663,8 +7663,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_351__", + "parentId": "__FLD_190__", + "_id": "__REQ_4396__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-milestone", @@ -7679,8 +7679,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_352__", + "parentId": "__FLD_190__", + "_id": "__REQ_4397__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-milestone", @@ -7695,8 +7695,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_353__", + "parentId": "__FLD_190__", + "_id": "__REQ_4398__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -7722,8 +7722,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_354__", + "parentId": "__FLD_181__", + "_id": "__REQ_4399__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -7767,8 +7767,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_355__", + "parentId": "__FLD_181__", + "_id": "__REQ_4400__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-repository-notifications-as-read", @@ -7783,8 +7783,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_356__", + "parentId": "__FLD_200__", + "_id": "__REQ_4401__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-github-pages-site", @@ -7799,8 +7799,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_357__", + "parentId": "__FLD_200__", + "_id": "__REQ_4402__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-github-pages-site", @@ -7820,8 +7820,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_358__", + "parentId": "__FLD_200__", + "_id": "__REQ_4403__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-information-about-a-github-pages-site", @@ -7836,8 +7836,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_359__", + "parentId": "__FLD_200__", + "_id": "__REQ_4404__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-github-pages-site", @@ -7857,8 +7857,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_360__", + "parentId": "__FLD_200__", + "_id": "__REQ_4405__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-github-pages-builds", @@ -7884,8 +7884,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_361__", + "parentId": "__FLD_200__", + "_id": "__REQ_4406__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#request-a-github-pages-build", @@ -7900,8 +7900,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_362__", + "parentId": "__FLD_200__", + "_id": "__REQ_4407__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-latest-pages-build", @@ -7916,8 +7916,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_363__", + "parentId": "__FLD_200__", + "_id": "__REQ_4408__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-github-pages-build", @@ -7932,8 +7932,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_364__", + "parentId": "__FLD_186__", + "_id": "__REQ_4409__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7964,8 +7964,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_365__", + "parentId": "__FLD_186__", + "_id": "__REQ_4410__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7985,8 +7985,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_366__", + "parentId": "__FLD_186__", + "_id": "__REQ_4411__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -8006,8 +8006,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_367__", + "parentId": "__FLD_186__", + "_id": "__REQ_4412__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -8027,8 +8027,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_368__", + "parentId": "__FLD_196__", + "_id": "__REQ_4413__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-repository-projects", @@ -8064,8 +8064,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_369__", + "parentId": "__FLD_196__", + "_id": "__REQ_4414__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-a-repository-project", @@ -8085,8 +8085,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_370__", + "parentId": "__FLD_197__", + "_id": "__REQ_4415__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests", @@ -8139,8 +8139,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_371__", + "parentId": "__FLD_197__", + "_id": "__REQ_4416__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#create-a-pull-request", @@ -8160,8 +8160,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_372__", + "parentId": "__FLD_197__", + "_id": "__REQ_4417__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-in-a-repository", @@ -8205,8 +8205,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_373__", + "parentId": "__FLD_197__", + "_id": "__REQ_4418__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -8226,8 +8226,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_374__", + "parentId": "__FLD_197__", + "_id": "__REQ_4419__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -8247,8 +8247,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_375__", + "parentId": "__FLD_197__", + "_id": "__REQ_4420__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -8263,8 +8263,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_376__", + "parentId": "__FLD_199__", + "_id": "__REQ_4421__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -8299,8 +8299,8 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_377__", + "parentId": "__FLD_199__", + "_id": "__REQ_4422__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -8320,8 +8320,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_378__", + "parentId": "__FLD_199__", + "_id": "__REQ_4423__", "_type": "request", "name": "Delete a pull request comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-pull-request-comment-reaction", @@ -8341,8 +8341,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_379__", + "parentId": "__FLD_197__", + "_id": "__REQ_4424__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#get-a-pull-request", @@ -8357,8 +8357,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_380__", + "parentId": "__FLD_197__", + "_id": "__REQ_4425__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request", @@ -8378,8 +8378,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_381__", + "parentId": "__FLD_197__", + "_id": "__REQ_4426__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -8423,8 +8423,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_382__", + "parentId": "__FLD_197__", + "_id": "__REQ_4427__", "_type": "request", "name": "Create a review comment for a pull request", "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -8444,8 +8444,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_383__", + "parentId": "__FLD_197__", + "_id": "__REQ_4428__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -8460,8 +8460,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_384__", + "parentId": "__FLD_197__", + "_id": "__REQ_4429__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-commits-on-a-pull-request", @@ -8487,8 +8487,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_385__", + "parentId": "__FLD_197__", + "_id": "__REQ_4430__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests-files", @@ -8514,8 +8514,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_386__", + "parentId": "__FLD_197__", + "_id": "__REQ_4431__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -8530,8 +8530,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_387__", + "parentId": "__FLD_197__", + "_id": "__REQ_4432__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#merge-a-pull-request", @@ -8546,8 +8546,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_388__", + "parentId": "__FLD_197__", + "_id": "__REQ_4433__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -8573,8 +8573,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_389__", + "parentId": "__FLD_197__", + "_id": "__REQ_4434__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -8589,8 +8589,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_390__", + "parentId": "__FLD_197__", + "_id": "__REQ_4435__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -8605,8 +8605,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_391__", + "parentId": "__FLD_197__", + "_id": "__REQ_4436__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -8632,8 +8632,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_392__", + "parentId": "__FLD_197__", + "_id": "__REQ_4437__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -8648,8 +8648,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_393__", + "parentId": "__FLD_197__", + "_id": "__REQ_4438__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -8664,8 +8664,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_394__", + "parentId": "__FLD_197__", + "_id": "__REQ_4439__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -8680,8 +8680,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_395__", + "parentId": "__FLD_197__", + "_id": "__REQ_4440__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -8696,8 +8696,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_396__", + "parentId": "__FLD_197__", + "_id": "__REQ_4441__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -8723,8 +8723,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_397__", + "parentId": "__FLD_197__", + "_id": "__REQ_4442__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -8739,8 +8739,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_398__", + "parentId": "__FLD_197__", + "_id": "__REQ_4443__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -8755,8 +8755,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_399__", + "parentId": "__FLD_197__", + "_id": "__REQ_4444__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request-branch", @@ -8776,8 +8776,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_400__", + "parentId": "__FLD_200__", + "_id": "__REQ_4445__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-readme", @@ -8797,8 +8797,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_401__", + "parentId": "__FLD_200__", + "_id": "__REQ_4446__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-releases", @@ -8824,8 +8824,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_402__", + "parentId": "__FLD_200__", + "_id": "__REQ_4447__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release", @@ -8840,8 +8840,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_403__", + "parentId": "__FLD_200__", + "_id": "__REQ_4448__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-asset", @@ -8856,8 +8856,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_404__", + "parentId": "__FLD_200__", + "_id": "__REQ_4449__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release-asset", @@ -8872,8 +8872,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_405__", + "parentId": "__FLD_200__", + "_id": "__REQ_4450__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release-asset", @@ -8888,8 +8888,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_406__", + "parentId": "__FLD_200__", + "_id": "__REQ_4451__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-latest-release", @@ -8904,8 +8904,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_407__", + "parentId": "__FLD_200__", + "_id": "__REQ_4452__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-by-tag-name", @@ -8920,8 +8920,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_408__", + "parentId": "__FLD_200__", + "_id": "__REQ_4453__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release", @@ -8936,8 +8936,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_409__", + "parentId": "__FLD_200__", + "_id": "__REQ_4454__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release", @@ -8952,8 +8952,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_410__", + "parentId": "__FLD_200__", + "_id": "__REQ_4455__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release", @@ -8968,8 +8968,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_411__", + "parentId": "__FLD_200__", + "_id": "__REQ_4456__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-release-assets", @@ -8995,8 +8995,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_412__", + "parentId": "__FLD_200__", + "_id": "__REQ_4457__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#upload-a-release-asset", @@ -9020,8 +9020,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_413__", + "parentId": "__FLD_181__", + "_id": "__REQ_4458__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-stargazers", @@ -9047,8 +9047,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_414__", + "parentId": "__FLD_200__", + "_id": "__REQ_4459__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-activity", @@ -9063,8 +9063,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_415__", + "parentId": "__FLD_200__", + "_id": "__REQ_4460__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -9079,8 +9079,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_416__", + "parentId": "__FLD_200__", + "_id": "__REQ_4461__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-contributor-commit-activity", @@ -9095,8 +9095,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_417__", + "parentId": "__FLD_200__", + "_id": "__REQ_4462__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-count", @@ -9111,8 +9111,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_418__", + "parentId": "__FLD_200__", + "_id": "__REQ_4463__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -9127,8 +9127,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_419__", + "parentId": "__FLD_200__", + "_id": "__REQ_4464__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-status", @@ -9143,8 +9143,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_420__", + "parentId": "__FLD_181__", + "_id": "__REQ_4465__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-watchers", @@ -9170,8 +9170,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_421__", + "parentId": "__FLD_181__", + "_id": "__REQ_4466__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription", @@ -9186,8 +9186,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_422__", + "parentId": "__FLD_181__", + "_id": "__REQ_4467__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription", @@ -9202,8 +9202,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_423__", + "parentId": "__FLD_181__", + "_id": "__REQ_4468__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription", @@ -9218,8 +9218,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_424__", + "parentId": "__FLD_200__", + "_id": "__REQ_4469__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-tags", @@ -9245,8 +9245,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_425__", + "parentId": "__FLD_200__", + "_id": "__REQ_4470__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#download-a-repository-archive", @@ -9261,8 +9261,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_426__", + "parentId": "__FLD_200__", + "_id": "__REQ_4471__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-teams", @@ -9288,8 +9288,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_427__", + "parentId": "__FLD_200__", + "_id": "__REQ_4472__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-all-repository-topics", @@ -9309,8 +9309,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_428__", + "parentId": "__FLD_200__", + "_id": "__REQ_4473__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#replace-all-repository-topics", @@ -9327,4 +9327,2845 @@ "method": "PUT", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - \ No newline at end of file + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4474__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4475__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4476__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4477__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4478__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4479__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4480__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4481__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4482__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4483__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4484__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4485__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4486__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4487__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4488__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4489__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4490__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4491__", + "_type": "request", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4492__", + "_type": "request", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4493__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4494__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4495__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4496__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4497__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4498__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4499__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4500__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4501__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4502__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4503__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4504__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4505__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4506__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4507__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4508__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4509__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4510__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4511__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4512__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4513__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_199__", + "_id": "__REQ_4514__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4515__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4516__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4517__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4518__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4519__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4520__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4521__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4522__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4523__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4524__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4525__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4526__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4527__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4528__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4529__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4530__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4531__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4532__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4533__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4534__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4535__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4536__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4537__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4538__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4539__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4540__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4541__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4542__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4543__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4544__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4545__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4546__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4547__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.21/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4548__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.21/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4549__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4550__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4551__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4552__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4553__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4554__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4555__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4556__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4557__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4558__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4559__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4560__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4561__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4562__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4563__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4564__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4565__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4566__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4567__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4568__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4569__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_202__", + "_id": "__REQ_4570__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4571__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4572__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.21/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4573__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4574__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4575__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4576__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4577__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4578__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_187__", + "_id": "__REQ_4579__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4580__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4581__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_182__", + "_id": "__REQ_4582__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_203__", + "_id": "__REQ_4583__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_195__", + "_id": "__REQ_4584__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_196__", + "_id": "__REQ_4585__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4586__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4587__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4588__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4589__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4590__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4591__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4592__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4593__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_186__", + "_id": "__REQ_4594__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4595__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-2.22.json b/routes/ghes-2.22.json index a8b5b28..42d2f47 100644 --- a/routes/ghes-2.22.json +++ b/routes/ghes-2.22.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.329Z", + "__export_date": "2021-02-18T17:02:26.983Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_178__", + "_id": "__FLD_130__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -89,158 +89,158 @@ } }, { - "parentId": "__FLD_178__", - "_id": "__FLD_179__", + "parentId": "__FLD_130__", + "_id": "__FLD_131__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_180__", + "parentId": "__FLD_130__", + "_id": "__FLD_132__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_181__", + "parentId": "__FLD_130__", + "_id": "__FLD_133__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_182__", + "parentId": "__FLD_130__", + "_id": "__FLD_134__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_183__", + "parentId": "__FLD_130__", + "_id": "__FLD_135__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_184__", + "parentId": "__FLD_130__", + "_id": "__FLD_136__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_185__", + "parentId": "__FLD_130__", + "_id": "__FLD_137__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_186__", + "parentId": "__FLD_130__", + "_id": "__FLD_138__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_187__", + "parentId": "__FLD_130__", + "_id": "__FLD_139__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_188__", + "parentId": "__FLD_130__", + "_id": "__FLD_140__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_189__", + "parentId": "__FLD_130__", + "_id": "__FLD_141__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_190__", + "parentId": "__FLD_130__", + "_id": "__FLD_142__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_191__", + "parentId": "__FLD_130__", + "_id": "__FLD_143__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_192__", + "parentId": "__FLD_130__", + "_id": "__FLD_144__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_193__", + "parentId": "__FLD_130__", + "_id": "__FLD_145__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_194__", + "parentId": "__FLD_130__", + "_id": "__FLD_146__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_195__", + "parentId": "__FLD_130__", + "_id": "__FLD_147__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_196__", + "parentId": "__FLD_130__", + "_id": "__FLD_148__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_197__", + "parentId": "__FLD_130__", + "_id": "__FLD_149__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_198__", + "parentId": "__FLD_130__", + "_id": "__FLD_150__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_199__", + "parentId": "__FLD_130__", + "_id": "__FLD_151__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_200__", + "parentId": "__FLD_130__", + "_id": "__FLD_152__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_201__", + "parentId": "__FLD_130__", + "_id": "__FLD_153__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_202__", + "parentId": "__FLD_130__", + "_id": "__FLD_154__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_178__", - "_id": "__FLD_203__", + "parentId": "__FLD_130__", + "_id": "__FLD_155__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_193__", - "_id": "__REQ_3964__", + "parentId": "__FLD_145__", + "_id": "__REQ_2901__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -255,8 +255,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3965__", + "parentId": "__FLD_138__", + "_id": "__REQ_2902__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-global-webhooks", @@ -287,8 +287,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3966__", + "parentId": "__FLD_138__", + "_id": "__REQ_2903__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-global-webhook", @@ -308,8 +308,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3967__", + "parentId": "__FLD_138__", + "_id": "__REQ_2904__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-global-webhook", @@ -329,8 +329,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3968__", + "parentId": "__FLD_138__", + "_id": "__REQ_2905__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-global-webhook", @@ -350,8 +350,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3969__", + "parentId": "__FLD_138__", + "_id": "__REQ_2906__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -371,8 +371,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3970__", + "parentId": "__FLD_138__", + "_id": "__REQ_2907__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -392,8 +392,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3971__", + "parentId": "__FLD_138__", + "_id": "__REQ_2908__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-public-keys", @@ -419,8 +419,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3972__", + "parentId": "__FLD_138__", + "_id": "__REQ_2909__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-public-key", @@ -435,8 +435,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3973__", + "parentId": "__FLD_138__", + "_id": "__REQ_2910__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -456,8 +456,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3974__", + "parentId": "__FLD_138__", + "_id": "__REQ_2911__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -472,8 +472,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3975__", + "parentId": "__FLD_138__", + "_id": "__REQ_2912__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -488,8 +488,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3976__", + "parentId": "__FLD_138__", + "_id": "__REQ_2913__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -504,8 +504,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3977__", + "parentId": "__FLD_138__", + "_id": "__REQ_2914__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-organization", @@ -520,8 +520,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3978__", + "parentId": "__FLD_138__", + "_id": "__REQ_2915__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-an-organization-name", @@ -536,8 +536,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3979__", + "parentId": "__FLD_138__", + "_id": "__REQ_2916__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -568,8 +568,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3980__", + "parentId": "__FLD_138__", + "_id": "__REQ_2917__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -589,8 +589,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3981__", + "parentId": "__FLD_138__", + "_id": "__REQ_2918__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -610,8 +610,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3982__", + "parentId": "__FLD_138__", + "_id": "__REQ_2919__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -631,8 +631,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3983__", + "parentId": "__FLD_138__", + "_id": "__REQ_2920__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -652,8 +652,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3984__", + "parentId": "__FLD_138__", + "_id": "__REQ_2921__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -673,8 +673,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3985__", + "parentId": "__FLD_138__", + "_id": "__REQ_2922__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -694,8 +694,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3986__", + "parentId": "__FLD_138__", + "_id": "__REQ_2923__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -726,8 +726,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3987__", + "parentId": "__FLD_138__", + "_id": "__REQ_2924__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -747,8 +747,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3988__", + "parentId": "__FLD_138__", + "_id": "__REQ_2925__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -768,8 +768,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3989__", + "parentId": "__FLD_138__", + "_id": "__REQ_2926__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -789,8 +789,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3990__", + "parentId": "__FLD_138__", + "_id": "__REQ_2927__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -810,8 +810,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3991__", + "parentId": "__FLD_138__", + "_id": "__REQ_2928__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -837,8 +837,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3992__", + "parentId": "__FLD_138__", + "_id": "__REQ_2929__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -853,8 +853,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3993__", + "parentId": "__FLD_138__", + "_id": "__REQ_2930__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-user", @@ -869,8 +869,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3994__", + "parentId": "__FLD_138__", + "_id": "__REQ_2931__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -885,8 +885,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3995__", + "parentId": "__FLD_138__", + "_id": "__REQ_2932__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-user", @@ -901,8 +901,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3996__", + "parentId": "__FLD_138__", + "_id": "__REQ_2933__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -917,8 +917,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_3997__", + "parentId": "__FLD_138__", + "_id": "__REQ_2934__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -933,8 +933,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_3998__", + "parentId": "__FLD_133__", + "_id": "__REQ_2935__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-the-authenticated-app", @@ -949,8 +949,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_3999__", + "parentId": "__FLD_133__", + "_id": "__REQ_2936__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-a-github-app-from-a-manifest", @@ -965,8 +965,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4000__", + "parentId": "__FLD_133__", + "_id": "__REQ_2937__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#list-installations-for-the-authenticated-app", @@ -1000,8 +1000,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4001__", + "parentId": "__FLD_133__", + "_id": "__REQ_2938__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -1016,8 +1016,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4002__", + "parentId": "__FLD_133__", + "_id": "__REQ_2939__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@2.22/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1032,8 +1032,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4003__", + "parentId": "__FLD_133__", + "_id": "__REQ_2940__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1048,8 +1048,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4004__", + "parentId": "__FLD_146__", + "_id": "__REQ_2941__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-grants", @@ -1075,8 +1075,8 @@ ] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4005__", + "parentId": "__FLD_146__", + "_id": "__REQ_2942__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1091,8 +1091,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4006__", + "parentId": "__FLD_146__", + "_id": "__REQ_2943__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-a-grant", @@ -1107,8 +1107,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4007__", + "parentId": "__FLD_133__", + "_id": "__REQ_2944__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-authorization", @@ -1123,8 +1123,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4008__", + "parentId": "__FLD_133__", + "_id": "__REQ_2945__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1139,8 +1139,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4009__", + "parentId": "__FLD_133__", + "_id": "__REQ_2946__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-a-token", @@ -1155,8 +1155,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4010__", + "parentId": "__FLD_133__", + "_id": "__REQ_2947__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-a-token", @@ -1171,8 +1171,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4011__", + "parentId": "__FLD_133__", + "_id": "__REQ_2948__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-token", @@ -1187,8 +1187,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4012__", + "parentId": "__FLD_133__", + "_id": "__REQ_2949__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-an-authorization", @@ -1203,8 +1203,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4013__", + "parentId": "__FLD_133__", + "_id": "__REQ_2950__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-an-authorization", @@ -1219,8 +1219,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4014__", + "parentId": "__FLD_133__", + "_id": "__REQ_2951__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1235,8 +1235,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4015__", + "parentId": "__FLD_133__", + "_id": "__REQ_2952__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-app", @@ -1251,8 +1251,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4016__", + "parentId": "__FLD_146__", + "_id": "__REQ_2953__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1278,8 +1278,8 @@ ] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4017__", + "parentId": "__FLD_146__", + "_id": "__REQ_2954__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1294,8 +1294,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4018__", + "parentId": "__FLD_146__", + "_id": "__REQ_2955__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1310,8 +1310,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4019__", + "parentId": "__FLD_146__", + "_id": "__REQ_2956__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1326,8 +1326,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4020__", + "parentId": "__FLD_146__", + "_id": "__REQ_2957__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1342,8 +1342,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4021__", + "parentId": "__FLD_146__", + "_id": "__REQ_2958__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1358,8 +1358,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4022__", + "parentId": "__FLD_146__", + "_id": "__REQ_2959__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1374,8 +1374,8 @@ "parameters": [] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4023__", + "parentId": "__FLD_136__", + "_id": "__REQ_2960__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1395,8 +1395,8 @@ "parameters": [] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4024__", + "parentId": "__FLD_136__", + "_id": "__REQ_2961__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1416,8 +1416,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4025__", + "parentId": "__FLD_133__", + "_id": "__REQ_2962__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.22/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-a-content-attachment", @@ -1437,8 +1437,8 @@ "parameters": [] }, { - "parentId": "__FLD_185__", - "_id": "__REQ_4026__", + "parentId": "__FLD_137__", + "_id": "__REQ_2963__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/emojis/#get-emojis", @@ -1453,8 +1453,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4027__", + "parentId": "__FLD_138__", + "_id": "__REQ_2964__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-license-information", @@ -1469,8 +1469,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4028__", + "parentId": "__FLD_138__", + "_id": "__REQ_2965__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-statistics", @@ -1485,8 +1485,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4029__", + "parentId": "__FLD_138__", + "_id": "__REQ_2966__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", @@ -1512,8 +1512,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4030__", + "parentId": "__FLD_138__", + "_id": "__REQ_2967__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", @@ -1528,8 +1528,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4031__", + "parentId": "__FLD_138__", + "_id": "__REQ_2968__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", @@ -1544,8 +1544,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4032__", + "parentId": "__FLD_138__", + "_id": "__REQ_2969__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", @@ -1560,8 +1560,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4033__", + "parentId": "__FLD_138__", + "_id": "__REQ_2970__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", @@ -1576,8 +1576,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4034__", + "parentId": "__FLD_138__", + "_id": "__REQ_2971__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", @@ -1603,8 +1603,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4035__", + "parentId": "__FLD_138__", + "_id": "__REQ_2972__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1619,8 +1619,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4036__", + "parentId": "__FLD_138__", + "_id": "__REQ_2973__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1635,8 +1635,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4037__", + "parentId": "__FLD_138__", + "_id": "__REQ_2974__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1651,8 +1651,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4038__", + "parentId": "__FLD_138__", + "_id": "__REQ_2975__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1678,8 +1678,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4039__", + "parentId": "__FLD_138__", + "_id": "__REQ_2976__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1694,8 +1694,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4040__", + "parentId": "__FLD_138__", + "_id": "__REQ_2977__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", @@ -1710,8 +1710,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4041__", + "parentId": "__FLD_138__", + "_id": "__REQ_2978__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", @@ -1726,8 +1726,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4042__", + "parentId": "__FLD_138__", + "_id": "__REQ_2979__", "_type": "request", "name": "List self-hosted runners for an enterprise", "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", @@ -1753,8 +1753,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4043__", + "parentId": "__FLD_138__", + "_id": "__REQ_2980__", "_type": "request", "name": "List runner applications for an enterprise", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", @@ -1769,8 +1769,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4044__", + "parentId": "__FLD_138__", + "_id": "__REQ_2981__", "_type": "request", "name": "Create a registration token for an enterprise", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", @@ -1785,8 +1785,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4045__", + "parentId": "__FLD_138__", + "_id": "__REQ_2982__", "_type": "request", "name": "Create a remove token for an enterprise", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", @@ -1801,8 +1801,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4046__", + "parentId": "__FLD_138__", + "_id": "__REQ_2983__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", @@ -1817,8 +1817,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4047__", + "parentId": "__FLD_138__", + "_id": "__REQ_2984__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", @@ -1833,8 +1833,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4048__", + "parentId": "__FLD_132__", + "_id": "__REQ_2985__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events", @@ -1860,8 +1860,8 @@ ] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4049__", + "parentId": "__FLD_132__", + "_id": "__REQ_2986__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-feeds", @@ -1876,8 +1876,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4050__", + "parentId": "__FLD_139__", + "_id": "__REQ_2987__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gists-for-the-authenticated-user", @@ -1907,8 +1907,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4051__", + "parentId": "__FLD_139__", + "_id": "__REQ_2988__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#create-a-gist", @@ -1923,8 +1923,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4052__", + "parentId": "__FLD_139__", + "_id": "__REQ_2989__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-public-gists", @@ -1954,8 +1954,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4053__", + "parentId": "__FLD_139__", + "_id": "__REQ_2990__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-starred-gists", @@ -1985,8 +1985,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4054__", + "parentId": "__FLD_139__", + "_id": "__REQ_2991__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist", @@ -2001,8 +2001,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4055__", + "parentId": "__FLD_139__", + "_id": "__REQ_2992__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#update-a-gist", @@ -2017,8 +2017,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4056__", + "parentId": "__FLD_139__", + "_id": "__REQ_2993__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#delete-a-gist", @@ -2033,8 +2033,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4057__", + "parentId": "__FLD_139__", + "_id": "__REQ_2994__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gist-comments", @@ -2060,8 +2060,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4058__", + "parentId": "__FLD_139__", + "_id": "__REQ_2995__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#create-a-gist-comment", @@ -2076,8 +2076,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4059__", + "parentId": "__FLD_139__", + "_id": "__REQ_2996__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#get-a-gist-comment", @@ -2092,8 +2092,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4060__", + "parentId": "__FLD_139__", + "_id": "__REQ_2997__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#update-a-gist-comment", @@ -2108,8 +2108,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4061__", + "parentId": "__FLD_139__", + "_id": "__REQ_2998__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#delete-a-gist-comment", @@ -2124,8 +2124,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4062__", + "parentId": "__FLD_139__", + "_id": "__REQ_2999__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-commits", @@ -2151,8 +2151,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4063__", + "parentId": "__FLD_139__", + "_id": "__REQ_3000__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-forks", @@ -2178,8 +2178,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4064__", + "parentId": "__FLD_139__", + "_id": "__REQ_3001__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#fork-a-gist", @@ -2194,8 +2194,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4065__", + "parentId": "__FLD_139__", + "_id": "__REQ_3002__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#check-if-a-gist-is-starred", @@ -2210,8 +2210,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4066__", + "parentId": "__FLD_139__", + "_id": "__REQ_3003__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#star-a-gist", @@ -2226,8 +2226,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4067__", + "parentId": "__FLD_139__", + "_id": "__REQ_3004__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#unstar-a-gist", @@ -2242,8 +2242,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4068__", + "parentId": "__FLD_139__", + "_id": "__REQ_3005__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist-revision", @@ -2258,8 +2258,8 @@ "parameters": [] }, { - "parentId": "__FLD_189__", - "_id": "__REQ_4069__", + "parentId": "__FLD_141__", + "_id": "__REQ_3006__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-all-gitignore-templates", @@ -2274,8 +2274,8 @@ "parameters": [] }, { - "parentId": "__FLD_189__", - "_id": "__REQ_4070__", + "parentId": "__FLD_141__", + "_id": "__REQ_3007__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-a-gitignore-template", @@ -2290,8 +2290,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4071__", + "parentId": "__FLD_133__", + "_id": "__REQ_3008__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -2322,8 +2322,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4072__", + "parentId": "__FLD_133__", + "_id": "__REQ_3009__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-installation-access-token", @@ -2338,8 +2338,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4073__", + "parentId": "__FLD_142__", + "_id": "__REQ_3010__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -2414,8 +2414,8 @@ ] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4074__", + "parentId": "__FLD_143__", + "_id": "__REQ_3011__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-all-commonly-used-licenses", @@ -2440,8 +2440,8 @@ ] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4075__", + "parentId": "__FLD_143__", + "_id": "__REQ_3012__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-a-license", @@ -2456,8 +2456,8 @@ "parameters": [] }, { - "parentId": "__FLD_192__", - "_id": "__REQ_4076__", + "parentId": "__FLD_144__", + "_id": "__REQ_3013__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document", @@ -2472,8 +2472,8 @@ "parameters": [] }, { - "parentId": "__FLD_192__", - "_id": "__REQ_4077__", + "parentId": "__FLD_144__", + "_id": "__REQ_3014__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2488,8 +2488,8 @@ "parameters": [] }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4078__", + "parentId": "__FLD_145__", + "_id": "__REQ_3015__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/meta/#get-github-meta-information", @@ -2504,8 +2504,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4079__", + "parentId": "__FLD_132__", + "_id": "__REQ_3016__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2531,8 +2531,8 @@ ] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4080__", + "parentId": "__FLD_132__", + "_id": "__REQ_3017__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2576,8 +2576,8 @@ ] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4081__", + "parentId": "__FLD_132__", + "_id": "__REQ_3018__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-notifications-as-read", @@ -2592,8 +2592,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4082__", + "parentId": "__FLD_132__", + "_id": "__REQ_3019__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread", @@ -2608,8 +2608,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4083__", + "parentId": "__FLD_132__", + "_id": "__REQ_3020__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-a-thread-as-read", @@ -2624,8 +2624,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4084__", + "parentId": "__FLD_132__", + "_id": "__REQ_3021__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2640,8 +2640,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4085__", + "parentId": "__FLD_132__", + "_id": "__REQ_3022__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription", @@ -2656,8 +2656,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4086__", + "parentId": "__FLD_132__", + "_id": "__REQ_3023__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription", @@ -2672,8 +2672,8 @@ "parameters": [] }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4087__", + "parentId": "__FLD_145__", + "_id": "__REQ_3024__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2693,8 +2693,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4088__", + "parentId": "__FLD_147__", + "_id": "__REQ_3025__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations", @@ -2719,8 +2719,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4089__", + "parentId": "__FLD_147__", + "_id": "__REQ_3026__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#get-an-organization", @@ -2740,8 +2740,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4090__", + "parentId": "__FLD_147__", + "_id": "__REQ_3027__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#update-an-organization", @@ -2761,8 +2761,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4091__", + "parentId": "__FLD_131__", + "_id": "__REQ_3028__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -2788,8 +2788,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4092__", + "parentId": "__FLD_131__", + "_id": "__REQ_3029__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -2804,8 +2804,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4093__", + "parentId": "__FLD_131__", + "_id": "__REQ_3030__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -2820,8 +2820,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4094__", + "parentId": "__FLD_131__", + "_id": "__REQ_3031__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -2836,8 +2836,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4095__", + "parentId": "__FLD_131__", + "_id": "__REQ_3032__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -2852,8 +2852,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4096__", + "parentId": "__FLD_131__", + "_id": "__REQ_3033__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2868,8 +2868,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4097__", + "parentId": "__FLD_131__", + "_id": "__REQ_3034__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2884,8 +2884,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4098__", + "parentId": "__FLD_131__", + "_id": "__REQ_3035__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -2900,8 +2900,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4099__", + "parentId": "__FLD_131__", + "_id": "__REQ_3036__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2916,8 +2916,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4100__", + "parentId": "__FLD_131__", + "_id": "__REQ_3037__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -2943,8 +2943,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4101__", + "parentId": "__FLD_131__", + "_id": "__REQ_3038__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -2959,8 +2959,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4102__", + "parentId": "__FLD_131__", + "_id": "__REQ_3039__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -2975,8 +2975,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4103__", + "parentId": "__FLD_131__", + "_id": "__REQ_3040__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -2991,8 +2991,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4104__", + "parentId": "__FLD_131__", + "_id": "__REQ_3041__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -3018,8 +3018,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4105__", + "parentId": "__FLD_131__", + "_id": "__REQ_3042__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-an-organization", @@ -3034,8 +3034,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4106__", + "parentId": "__FLD_131__", + "_id": "__REQ_3043__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -3050,8 +3050,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4107__", + "parentId": "__FLD_131__", + "_id": "__REQ_3044__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3066,8 +3066,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4108__", + "parentId": "__FLD_131__", + "_id": "__REQ_3045__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3082,8 +3082,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4109__", + "parentId": "__FLD_131__", + "_id": "__REQ_3046__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3098,8 +3098,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4110__", + "parentId": "__FLD_131__", + "_id": "__REQ_3047__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-organization-secrets", @@ -3125,8 +3125,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4111__", + "parentId": "__FLD_131__", + "_id": "__REQ_3048__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-public-key", @@ -3141,8 +3141,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4112__", + "parentId": "__FLD_131__", + "_id": "__REQ_3049__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-secret", @@ -3157,8 +3157,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4113__", + "parentId": "__FLD_131__", + "_id": "__REQ_3050__", "_type": "request", "name": "Create or update an organization secret", "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret", @@ -3173,8 +3173,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4114__", + "parentId": "__FLD_131__", + "_id": "__REQ_3051__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-organization-secret", @@ -3189,8 +3189,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4115__", + "parentId": "__FLD_131__", + "_id": "__REQ_3052__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3205,8 +3205,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4116__", + "parentId": "__FLD_131__", + "_id": "__REQ_3053__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3221,8 +3221,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4117__", + "parentId": "__FLD_131__", + "_id": "__REQ_3054__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3237,8 +3237,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4118__", + "parentId": "__FLD_131__", + "_id": "__REQ_3055__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3253,8 +3253,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4119__", + "parentId": "__FLD_132__", + "_id": "__REQ_3056__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-organization-events", @@ -3280,8 +3280,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4120__", + "parentId": "__FLD_147__", + "_id": "__REQ_3057__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-webhooks", @@ -3307,8 +3307,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4121__", + "parentId": "__FLD_147__", + "_id": "__REQ_3058__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#create-an-organization-webhook", @@ -3323,8 +3323,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4122__", + "parentId": "__FLD_147__", + "_id": "__REQ_3059__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization-webhook", @@ -3339,8 +3339,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4123__", + "parentId": "__FLD_147__", + "_id": "__REQ_3060__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#update-an-organization-webhook", @@ -3355,8 +3355,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4124__", + "parentId": "__FLD_147__", + "_id": "__REQ_3061__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#delete-an-organization-webhook", @@ -3371,8 +3371,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4125__", + "parentId": "__FLD_147__", + "_id": "__REQ_3062__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#ping-an-organization-webhook", @@ -3387,8 +3387,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4126__", + "parentId": "__FLD_133__", + "_id": "__REQ_3063__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -3403,8 +3403,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4127__", + "parentId": "__FLD_147__", + "_id": "__REQ_3064__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-app-installations-for-an-organization", @@ -3430,8 +3430,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4128__", + "parentId": "__FLD_142__", + "_id": "__REQ_3065__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -3490,8 +3490,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4129__", + "parentId": "__FLD_147__", + "_id": "__REQ_3066__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-members", @@ -3527,8 +3527,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4130__", + "parentId": "__FLD_147__", + "_id": "__REQ_3067__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-organization-membership-for-a-user", @@ -3543,8 +3543,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4131__", + "parentId": "__FLD_147__", + "_id": "__REQ_3068__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-an-organization-member", @@ -3559,8 +3559,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4132__", + "parentId": "__FLD_147__", + "_id": "__REQ_3069__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user", @@ -3575,8 +3575,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4133__", + "parentId": "__FLD_147__", + "_id": "__REQ_3070__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-organization-membership-for-a-user", @@ -3591,8 +3591,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4134__", + "parentId": "__FLD_147__", + "_id": "__REQ_3071__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -3607,8 +3607,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4135__", + "parentId": "__FLD_147__", + "_id": "__REQ_3072__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -3639,8 +3639,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4136__", + "parentId": "__FLD_147__", + "_id": "__REQ_3073__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -3655,8 +3655,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4137__", + "parentId": "__FLD_147__", + "_id": "__REQ_3074__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -3671,8 +3671,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4138__", + "parentId": "__FLD_138__", + "_id": "__REQ_3075__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -3703,8 +3703,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4139__", + "parentId": "__FLD_138__", + "_id": "__REQ_3076__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -3724,8 +3724,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4140__", + "parentId": "__FLD_138__", + "_id": "__REQ_3077__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -3745,8 +3745,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4141__", + "parentId": "__FLD_138__", + "_id": "__REQ_3078__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -3766,8 +3766,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4142__", + "parentId": "__FLD_148__", + "_id": "__REQ_3079__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-organization-projects", @@ -3803,8 +3803,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4143__", + "parentId": "__FLD_148__", + "_id": "__REQ_3080__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-an-organization-project", @@ -3824,8 +3824,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4144__", + "parentId": "__FLD_147__", + "_id": "__REQ_3081__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-public-organization-members", @@ -3851,8 +3851,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4145__", + "parentId": "__FLD_147__", + "_id": "__REQ_3082__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3867,8 +3867,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4146__", + "parentId": "__FLD_147__", + "_id": "__REQ_3083__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3883,8 +3883,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4147__", + "parentId": "__FLD_147__", + "_id": "__REQ_3084__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3899,8 +3899,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4148__", + "parentId": "__FLD_152__", + "_id": "__REQ_3085__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-organization-repositories", @@ -3944,8 +3944,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4149__", + "parentId": "__FLD_152__", + "_id": "__REQ_3086__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-an-organization-repository", @@ -3965,8 +3965,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4150__", + "parentId": "__FLD_154__", + "_id": "__REQ_3087__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-teams", @@ -3992,8 +3992,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4151__", + "parentId": "__FLD_154__", + "_id": "__REQ_3088__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team", @@ -4008,8 +4008,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4152__", + "parentId": "__FLD_154__", + "_id": "__REQ_3089__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#get-a-team-by-name", @@ -4024,8 +4024,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4153__", + "parentId": "__FLD_154__", + "_id": "__REQ_3090__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#update-a-team", @@ -4040,8 +4040,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4154__", + "parentId": "__FLD_154__", + "_id": "__REQ_3091__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#delete-a-team", @@ -4056,8 +4056,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4155__", + "parentId": "__FLD_154__", + "_id": "__REQ_3092__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions", @@ -4093,8 +4093,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4156__", + "parentId": "__FLD_154__", + "_id": "__REQ_3093__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion", @@ -4114,8 +4114,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4157__", + "parentId": "__FLD_154__", + "_id": "__REQ_3094__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion", @@ -4135,8 +4135,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4158__", + "parentId": "__FLD_154__", + "_id": "__REQ_3095__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion", @@ -4156,8 +4156,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4159__", + "parentId": "__FLD_154__", + "_id": "__REQ_3096__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion", @@ -4172,8 +4172,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4160__", + "parentId": "__FLD_154__", + "_id": "__REQ_3097__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments", @@ -4209,8 +4209,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4161__", + "parentId": "__FLD_154__", + "_id": "__REQ_3098__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment", @@ -4230,8 +4230,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4162__", + "parentId": "__FLD_154__", + "_id": "__REQ_3099__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment", @@ -4251,8 +4251,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4163__", + "parentId": "__FLD_154__", + "_id": "__REQ_3100__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment", @@ -4272,8 +4272,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4164__", + "parentId": "__FLD_154__", + "_id": "__REQ_3101__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment", @@ -4288,8 +4288,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4165__", + "parentId": "__FLD_151__", + "_id": "__REQ_3102__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -4324,8 +4324,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4166__", + "parentId": "__FLD_151__", + "_id": "__REQ_3103__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -4345,8 +4345,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4167__", + "parentId": "__FLD_151__", + "_id": "__REQ_3104__", "_type": "request", "name": "Delete team discussion comment reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-comment-reaction", @@ -4366,8 +4366,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4168__", + "parentId": "__FLD_151__", + "_id": "__REQ_3105__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion", @@ -4402,8 +4402,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4169__", + "parentId": "__FLD_151__", + "_id": "__REQ_3106__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion", @@ -4423,8 +4423,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4170__", + "parentId": "__FLD_151__", + "_id": "__REQ_3107__", "_type": "request", "name": "Delete team discussion reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-reaction", @@ -4444,8 +4444,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4171__", + "parentId": "__FLD_154__", + "_id": "__REQ_3108__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members", @@ -4476,8 +4476,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4172__", + "parentId": "__FLD_154__", + "_id": "__REQ_3109__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user", @@ -4492,8 +4492,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4173__", + "parentId": "__FLD_154__", + "_id": "__REQ_3110__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -4508,8 +4508,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4174__", + "parentId": "__FLD_154__", + "_id": "__REQ_3111__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user", @@ -4524,8 +4524,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4175__", + "parentId": "__FLD_154__", + "_id": "__REQ_3112__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-projects", @@ -4556,8 +4556,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4176__", + "parentId": "__FLD_154__", + "_id": "__REQ_3113__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-project", @@ -4577,8 +4577,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4177__", + "parentId": "__FLD_154__", + "_id": "__REQ_3114__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-project-permissions", @@ -4598,8 +4598,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4178__", + "parentId": "__FLD_154__", + "_id": "__REQ_3115__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-project-from-a-team", @@ -4614,8 +4614,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4179__", + "parentId": "__FLD_154__", + "_id": "__REQ_3116__", "_type": "request", "name": "List team repositories", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-repositories", @@ -4641,8 +4641,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4180__", + "parentId": "__FLD_154__", + "_id": "__REQ_3117__", "_type": "request", "name": "Check team permissions for a repository", "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-repository", @@ -4657,8 +4657,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4181__", + "parentId": "__FLD_154__", + "_id": "__REQ_3118__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-repository-permissions", @@ -4673,8 +4673,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4182__", + "parentId": "__FLD_154__", + "_id": "__REQ_3119__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-repository-from-a-team", @@ -4689,8 +4689,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4183__", + "parentId": "__FLD_154__", + "_id": "__REQ_3120__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-child-teams", @@ -4716,8 +4716,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4184__", + "parentId": "__FLD_148__", + "_id": "__REQ_3121__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-card", @@ -4737,8 +4737,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4185__", + "parentId": "__FLD_148__", + "_id": "__REQ_3122__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-card", @@ -4758,8 +4758,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4186__", + "parentId": "__FLD_148__", + "_id": "__REQ_3123__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-card", @@ -4779,8 +4779,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4187__", + "parentId": "__FLD_148__", + "_id": "__REQ_3124__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-card", @@ -4800,8 +4800,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4188__", + "parentId": "__FLD_148__", + "_id": "__REQ_3125__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-column", @@ -4821,8 +4821,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4189__", + "parentId": "__FLD_148__", + "_id": "__REQ_3126__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-column", @@ -4842,8 +4842,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4190__", + "parentId": "__FLD_148__", + "_id": "__REQ_3127__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-column", @@ -4863,8 +4863,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4191__", + "parentId": "__FLD_148__", + "_id": "__REQ_3128__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-cards", @@ -4900,8 +4900,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4192__", + "parentId": "__FLD_148__", + "_id": "__REQ_3129__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-card", @@ -4921,8 +4921,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4193__", + "parentId": "__FLD_148__", + "_id": "__REQ_3130__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-column", @@ -4942,8 +4942,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4194__", + "parentId": "__FLD_148__", + "_id": "__REQ_3131__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#get-a-project", @@ -4963,8 +4963,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4195__", + "parentId": "__FLD_148__", + "_id": "__REQ_3132__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#update-a-project", @@ -4984,8 +4984,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4196__", + "parentId": "__FLD_148__", + "_id": "__REQ_3133__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#delete-a-project", @@ -5005,8 +5005,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4197__", + "parentId": "__FLD_148__", + "_id": "__REQ_3134__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-collaborators", @@ -5042,8 +5042,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4198__", + "parentId": "__FLD_148__", + "_id": "__REQ_3135__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#add-project-collaborator", @@ -5063,8 +5063,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4199__", + "parentId": "__FLD_148__", + "_id": "__REQ_3136__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#remove-project-collaborator", @@ -5084,8 +5084,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4200__", + "parentId": "__FLD_148__", + "_id": "__REQ_3137__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-project-permission-for-a-user", @@ -5105,8 +5105,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4201__", + "parentId": "__FLD_148__", + "_id": "__REQ_3138__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-columns", @@ -5137,8 +5137,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4202__", + "parentId": "__FLD_148__", + "_id": "__REQ_3139__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-column", @@ -5158,8 +5158,8 @@ "parameters": [] }, { - "parentId": "__FLD_198__", - "_id": "__REQ_4203__", + "parentId": "__FLD_150__", + "_id": "__REQ_3140__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -5174,8 +5174,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4204__", + "parentId": "__FLD_151__", + "_id": "__REQ_3141__", "_type": "request", "name": "Delete a reaction (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-reaction-legacy", @@ -5195,8 +5195,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4205__", + "parentId": "__FLD_152__", + "_id": "__REQ_3142__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#get-a-repository", @@ -5216,8 +5216,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4206__", + "parentId": "__FLD_152__", + "_id": "__REQ_3143__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#update-a-repository", @@ -5237,8 +5237,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4207__", + "parentId": "__FLD_152__", + "_id": "__REQ_3144__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#delete-a-repository", @@ -5253,8 +5253,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4208__", + "parentId": "__FLD_131__", + "_id": "__REQ_3145__", "_type": "request", "name": "List artifacts for a repository", "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-artifacts-for-a-repository", @@ -5280,8 +5280,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4209__", + "parentId": "__FLD_131__", + "_id": "__REQ_3146__", "_type": "request", "name": "Get an artifact", "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-artifact", @@ -5296,8 +5296,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4210__", + "parentId": "__FLD_131__", + "_id": "__REQ_3147__", "_type": "request", "name": "Delete an artifact", "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-artifact", @@ -5312,8 +5312,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4211__", + "parentId": "__FLD_131__", + "_id": "__REQ_3148__", "_type": "request", "name": "Download an artifact", "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-an-artifact", @@ -5328,8 +5328,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4212__", + "parentId": "__FLD_131__", + "_id": "__REQ_3149__", "_type": "request", "name": "Get a job for a workflow run", "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-job-for-a-workflow-run", @@ -5344,8 +5344,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4213__", + "parentId": "__FLD_131__", + "_id": "__REQ_3150__", "_type": "request", "name": "Download job logs for a workflow run", "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-job-logs-for-a-workflow-run", @@ -5360,8 +5360,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4214__", + "parentId": "__FLD_131__", + "_id": "__REQ_3151__", "_type": "request", "name": "List self-hosted runners for a repository", "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-a-repository", @@ -5387,8 +5387,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4215__", + "parentId": "__FLD_131__", + "_id": "__REQ_3152__", "_type": "request", "name": "List runner applications for a repository", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-a-repository", @@ -5403,8 +5403,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4216__", + "parentId": "__FLD_131__", + "_id": "__REQ_3153__", "_type": "request", "name": "Create a registration token for a repository", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-a-repository", @@ -5419,8 +5419,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4217__", + "parentId": "__FLD_131__", + "_id": "__REQ_3154__", "_type": "request", "name": "Create a remove token for a repository", "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-a-repository", @@ -5435,8 +5435,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4218__", + "parentId": "__FLD_131__", + "_id": "__REQ_3155__", "_type": "request", "name": "Get a self-hosted runner for a repository", "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", @@ -5451,8 +5451,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4219__", + "parentId": "__FLD_131__", + "_id": "__REQ_3156__", "_type": "request", "name": "Delete a self-hosted runner from a repository", "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", @@ -5467,8 +5467,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4220__", + "parentId": "__FLD_131__", + "_id": "__REQ_3157__", "_type": "request", "name": "List workflow runs for a repository", "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs-for-a-repository", @@ -5510,8 +5510,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4221__", + "parentId": "__FLD_131__", + "_id": "__REQ_3158__", "_type": "request", "name": "Get a workflow run", "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow-run", @@ -5526,8 +5526,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4222__", + "parentId": "__FLD_131__", + "_id": "__REQ_3159__", "_type": "request", "name": "Delete a workflow run", "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-workflow-run", @@ -5542,8 +5542,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4223__", + "parentId": "__FLD_131__", + "_id": "__REQ_3160__", "_type": "request", "name": "List workflow run artifacts", "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-run-artifacts", @@ -5569,8 +5569,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4224__", + "parentId": "__FLD_131__", + "_id": "__REQ_3161__", "_type": "request", "name": "Cancel a workflow run", "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#cancel-a-workflow-run", @@ -5585,8 +5585,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4225__", + "parentId": "__FLD_131__", + "_id": "__REQ_3162__", "_type": "request", "name": "List jobs for a workflow run", "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-jobs-for-a-workflow-run", @@ -5617,8 +5617,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4226__", + "parentId": "__FLD_131__", + "_id": "__REQ_3163__", "_type": "request", "name": "Download workflow run logs", "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-workflow-run-logs", @@ -5633,8 +5633,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4227__", + "parentId": "__FLD_131__", + "_id": "__REQ_3164__", "_type": "request", "name": "Delete workflow run logs", "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-workflow-run-logs", @@ -5649,8 +5649,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4228__", + "parentId": "__FLD_131__", + "_id": "__REQ_3165__", "_type": "request", "name": "Re-run a workflow", "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#re-run-a-workflow", @@ -5665,8 +5665,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4229__", + "parentId": "__FLD_131__", + "_id": "__REQ_3166__", "_type": "request", "name": "List repository secrets", "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-secrets", @@ -5692,8 +5692,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4230__", + "parentId": "__FLD_131__", + "_id": "__REQ_3167__", "_type": "request", "name": "Get a repository public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-public-key", @@ -5708,8 +5708,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4231__", + "parentId": "__FLD_131__", + "_id": "__REQ_3168__", "_type": "request", "name": "Get a repository secret", "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-secret", @@ -5724,8 +5724,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4232__", + "parentId": "__FLD_131__", + "_id": "__REQ_3169__", "_type": "request", "name": "Create or update a repository secret", "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-a-repository-secret", @@ -5740,8 +5740,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4233__", + "parentId": "__FLD_131__", + "_id": "__REQ_3170__", "_type": "request", "name": "Delete a repository secret", "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-repository-secret", @@ -5756,8 +5756,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4234__", + "parentId": "__FLD_131__", + "_id": "__REQ_3171__", "_type": "request", "name": "List repository workflows", "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-workflows", @@ -5783,8 +5783,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4235__", + "parentId": "__FLD_131__", + "_id": "__REQ_3172__", "_type": "request", "name": "Get a workflow", "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow", @@ -5799,8 +5799,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4236__", + "parentId": "__FLD_131__", + "_id": "__REQ_3173__", "_type": "request", "name": "Create a workflow dispatch event", "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-workflow-dispatch-event", @@ -5815,8 +5815,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4237__", + "parentId": "__FLD_131__", + "_id": "__REQ_3174__", "_type": "request", "name": "List workflow runs", "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs", @@ -5858,8 +5858,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4238__", + "parentId": "__FLD_142__", + "_id": "__REQ_3175__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-assignees", @@ -5885,8 +5885,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4239__", + "parentId": "__FLD_142__", + "_id": "__REQ_3176__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -5901,8 +5901,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4240__", + "parentId": "__FLD_152__", + "_id": "__REQ_3177__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches", @@ -5932,8 +5932,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4241__", + "parentId": "__FLD_152__", + "_id": "__REQ_3178__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-branch", @@ -5948,8 +5948,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4242__", + "parentId": "__FLD_152__", + "_id": "__REQ_3179__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-branch-protection", @@ -5969,8 +5969,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4243__", + "parentId": "__FLD_152__", + "_id": "__REQ_3180__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-branch-protection", @@ -5990,8 +5990,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4244__", + "parentId": "__FLD_152__", + "_id": "__REQ_3181__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-branch-protection", @@ -6006,8 +6006,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4245__", + "parentId": "__FLD_152__", + "_id": "__REQ_3182__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-admin-branch-protection", @@ -6022,8 +6022,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4246__", + "parentId": "__FLD_152__", + "_id": "__REQ_3183__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-admin-branch-protection", @@ -6038,8 +6038,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4247__", + "parentId": "__FLD_152__", + "_id": "__REQ_3184__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-admin-branch-protection", @@ -6054,8 +6054,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4248__", + "parentId": "__FLD_152__", + "_id": "__REQ_3185__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-pull-request-review-protection", @@ -6075,8 +6075,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4249__", + "parentId": "__FLD_152__", + "_id": "__REQ_3186__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-pull-request-review-protection", @@ -6096,8 +6096,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4250__", + "parentId": "__FLD_152__", + "_id": "__REQ_3187__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-pull-request-review-protection", @@ -6112,8 +6112,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4251__", + "parentId": "__FLD_152__", + "_id": "__REQ_3188__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-commit-signature-protection", @@ -6133,8 +6133,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4252__", + "parentId": "__FLD_152__", + "_id": "__REQ_3189__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-commit-signature-protection", @@ -6154,8 +6154,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4253__", + "parentId": "__FLD_152__", + "_id": "__REQ_3190__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-commit-signature-protection", @@ -6175,8 +6175,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4254__", + "parentId": "__FLD_152__", + "_id": "__REQ_3191__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-status-checks-protection", @@ -6191,8 +6191,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4255__", + "parentId": "__FLD_152__", + "_id": "__REQ_3192__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-status-check-potection", @@ -6207,8 +6207,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4256__", + "parentId": "__FLD_152__", + "_id": "__REQ_3193__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-protection", @@ -6223,8 +6223,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4257__", + "parentId": "__FLD_152__", + "_id": "__REQ_3194__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-status-check-contexts", @@ -6239,8 +6239,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4258__", + "parentId": "__FLD_152__", + "_id": "__REQ_3195__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-status-check-contexts", @@ -6255,8 +6255,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4259__", + "parentId": "__FLD_152__", + "_id": "__REQ_3196__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-status-check-contexts", @@ -6271,8 +6271,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4260__", + "parentId": "__FLD_152__", + "_id": "__REQ_3197__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-contexts", @@ -6287,8 +6287,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4261__", + "parentId": "__FLD_152__", + "_id": "__REQ_3198__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-access-restrictions", @@ -6303,8 +6303,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4262__", + "parentId": "__FLD_152__", + "_id": "__REQ_3199__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-access-restrictions", @@ -6319,8 +6319,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4263__", + "parentId": "__FLD_152__", + "_id": "__REQ_3200__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -6335,8 +6335,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4264__", + "parentId": "__FLD_152__", + "_id": "__REQ_3201__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-app-access-restrictions", @@ -6351,8 +6351,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4265__", + "parentId": "__FLD_152__", + "_id": "__REQ_3202__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-app-access-restrictions", @@ -6367,8 +6367,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4266__", + "parentId": "__FLD_152__", + "_id": "__REQ_3203__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-app-access-restrictions", @@ -6383,8 +6383,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4267__", + "parentId": "__FLD_152__", + "_id": "__REQ_3204__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -6399,8 +6399,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4268__", + "parentId": "__FLD_152__", + "_id": "__REQ_3205__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-team-access-restrictions", @@ -6415,8 +6415,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4269__", + "parentId": "__FLD_152__", + "_id": "__REQ_3206__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-team-access-restrictions", @@ -6431,8 +6431,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4270__", + "parentId": "__FLD_152__", + "_id": "__REQ_3207__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-team-access-restrictions", @@ -6447,8 +6447,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4271__", + "parentId": "__FLD_152__", + "_id": "__REQ_3208__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -6463,8 +6463,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4272__", + "parentId": "__FLD_152__", + "_id": "__REQ_3209__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-user-access-restrictions", @@ -6479,8 +6479,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4273__", + "parentId": "__FLD_152__", + "_id": "__REQ_3210__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-user-access-restrictions", @@ -6495,8 +6495,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4274__", + "parentId": "__FLD_152__", + "_id": "__REQ_3211__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-user-access-restrictions", @@ -6511,8 +6511,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4275__", + "parentId": "__FLD_134__", + "_id": "__REQ_3212__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-run", @@ -6532,8 +6532,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4276__", + "parentId": "__FLD_134__", + "_id": "__REQ_3213__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-run", @@ -6553,8 +6553,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4277__", + "parentId": "__FLD_134__", + "_id": "__REQ_3214__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-a-check-run", @@ -6574,8 +6574,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4278__", + "parentId": "__FLD_134__", + "_id": "__REQ_3215__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-run-annotations", @@ -6606,8 +6606,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4279__", + "parentId": "__FLD_134__", + "_id": "__REQ_3216__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite", @@ -6627,8 +6627,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4280__", + "parentId": "__FLD_134__", + "_id": "__REQ_3217__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -6648,8 +6648,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4281__", + "parentId": "__FLD_134__", + "_id": "__REQ_3218__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-suite", @@ -6669,8 +6669,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4282__", + "parentId": "__FLD_134__", + "_id": "__REQ_3219__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -6714,8 +6714,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4283__", + "parentId": "__FLD_134__", + "_id": "__REQ_3220__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#rerequest-a-check-suite", @@ -6735,8 +6735,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4284__", + "parentId": "__FLD_135__", + "_id": "__REQ_3221__", "_type": "request", "name": "List code scanning alerts for a repository", "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", @@ -6760,8 +6760,8 @@ ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4285__", + "parentId": "__FLD_135__", + "_id": "__REQ_3222__", "_type": "request", "name": "Get a code scanning alert", "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#get-a-code-scanning-alert", @@ -6776,8 +6776,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4286__", + "parentId": "__FLD_135__", + "_id": "__REQ_3223__", "_type": "request", "name": "Update a code scanning alert", "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-code-scanning-alert", @@ -6792,8 +6792,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4287__", + "parentId": "__FLD_135__", + "_id": "__REQ_3224__", "_type": "request", "name": "List recent code scanning analyses for a repository", "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-recent-analyses", @@ -6817,8 +6817,8 @@ ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4288__", + "parentId": "__FLD_135__", + "_id": "__REQ_3225__", "_type": "request", "name": "Upload a SARIF file", "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-sarif-analysis", @@ -6833,8 +6833,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4289__", + "parentId": "__FLD_152__", + "_id": "__REQ_3226__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-collaborators", @@ -6865,8 +6865,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4290__", + "parentId": "__FLD_152__", + "_id": "__REQ_3227__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -6881,8 +6881,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4291__", + "parentId": "__FLD_152__", + "_id": "__REQ_3228__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-a-repository-collaborator", @@ -6897,8 +6897,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4292__", + "parentId": "__FLD_152__", + "_id": "__REQ_3229__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-a-repository-collaborator", @@ -6913,8 +6913,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4293__", + "parentId": "__FLD_152__", + "_id": "__REQ_3230__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-permissions-for-a-user", @@ -6929,8 +6929,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4294__", + "parentId": "__FLD_152__", + "_id": "__REQ_3231__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments-for-a-repository", @@ -6961,8 +6961,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4295__", + "parentId": "__FLD_152__", + "_id": "__REQ_3232__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit-comment", @@ -6982,8 +6982,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4296__", + "parentId": "__FLD_152__", + "_id": "__REQ_3233__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-commit-comment", @@ -6998,8 +6998,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4297__", + "parentId": "__FLD_152__", + "_id": "__REQ_3234__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-commit-comment", @@ -7014,8 +7014,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4298__", + "parentId": "__FLD_151__", + "_id": "__REQ_3235__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-commit-comment", @@ -7050,8 +7050,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4299__", + "parentId": "__FLD_151__", + "_id": "__REQ_3236__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-commit-comment", @@ -7071,8 +7071,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4300__", + "parentId": "__FLD_151__", + "_id": "__REQ_3237__", "_type": "request", "name": "Delete a commit comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-commit-comment-reaction", @@ -7092,8 +7092,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4301__", + "parentId": "__FLD_152__", + "_id": "__REQ_3238__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits", @@ -7139,8 +7139,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4302__", + "parentId": "__FLD_152__", + "_id": "__REQ_3239__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches-for-head-commit", @@ -7160,8 +7160,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4303__", + "parentId": "__FLD_152__", + "_id": "__REQ_3240__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments", @@ -7192,8 +7192,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4304__", + "parentId": "__FLD_152__", + "_id": "__REQ_3241__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-comment", @@ -7208,8 +7208,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4305__", + "parentId": "__FLD_152__", + "_id": "__REQ_3242__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -7240,8 +7240,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4306__", + "parentId": "__FLD_152__", + "_id": "__REQ_3243__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit", @@ -7256,8 +7256,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4307__", + "parentId": "__FLD_134__", + "_id": "__REQ_3244__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -7301,8 +7301,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4308__", + "parentId": "__FLD_134__", + "_id": "__REQ_3245__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -7341,8 +7341,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4309__", + "parentId": "__FLD_152__", + "_id": "__REQ_3246__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -7357,8 +7357,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4310__", + "parentId": "__FLD_152__", + "_id": "__REQ_3247__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -7384,8 +7384,8 @@ ] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4311__", + "parentId": "__FLD_136__", + "_id": "__REQ_3248__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -7405,8 +7405,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4312__", + "parentId": "__FLD_152__", + "_id": "__REQ_3249__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#compare-two-commits", @@ -7421,8 +7421,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4313__", + "parentId": "__FLD_152__", + "_id": "__REQ_3250__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.22/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content", @@ -7442,8 +7442,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4314__", + "parentId": "__FLD_152__", + "_id": "__REQ_3251__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-or-update-file-contents", @@ -7458,8 +7458,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4315__", + "parentId": "__FLD_152__", + "_id": "__REQ_3252__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-file", @@ -7474,8 +7474,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4316__", + "parentId": "__FLD_152__", + "_id": "__REQ_3253__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-contributors", @@ -7505,8 +7505,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4317__", + "parentId": "__FLD_152__", + "_id": "__REQ_3254__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployments", @@ -7557,8 +7557,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4318__", + "parentId": "__FLD_152__", + "_id": "__REQ_3255__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment", @@ -7578,8 +7578,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4319__", + "parentId": "__FLD_152__", + "_id": "__REQ_3256__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment", @@ -7599,8 +7599,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4320__", + "parentId": "__FLD_152__", + "_id": "__REQ_3257__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deployment", @@ -7615,8 +7615,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4321__", + "parentId": "__FLD_152__", + "_id": "__REQ_3258__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployment-statuses", @@ -7647,8 +7647,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4322__", + "parentId": "__FLD_152__", + "_id": "__REQ_3259__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status", @@ -7668,8 +7668,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4323__", + "parentId": "__FLD_152__", + "_id": "__REQ_3260__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment-status", @@ -7689,8 +7689,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4324__", + "parentId": "__FLD_152__", + "_id": "__REQ_3261__", "_type": "request", "name": "Create a repository dispatch event", "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-dispatch-event", @@ -7705,8 +7705,8 @@ "parameters": [] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4325__", + "parentId": "__FLD_132__", + "_id": "__REQ_3262__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-events", @@ -7732,8 +7732,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4326__", + "parentId": "__FLD_152__", + "_id": "__REQ_3263__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-forks", @@ -7764,8 +7764,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4327__", + "parentId": "__FLD_152__", + "_id": "__REQ_3264__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-fork", @@ -7780,8 +7780,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4328__", + "parentId": "__FLD_140__", + "_id": "__REQ_3265__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-blob", @@ -7796,8 +7796,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4329__", + "parentId": "__FLD_140__", + "_id": "__REQ_3266__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-blob", @@ -7812,8 +7812,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4330__", + "parentId": "__FLD_140__", + "_id": "__REQ_3267__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit", @@ -7828,8 +7828,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4331__", + "parentId": "__FLD_140__", + "_id": "__REQ_3268__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-commit", @@ -7844,8 +7844,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4332__", + "parentId": "__FLD_140__", + "_id": "__REQ_3269__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#list-matching-references", @@ -7871,8 +7871,8 @@ ] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4333__", + "parentId": "__FLD_140__", + "_id": "__REQ_3270__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-reference", @@ -7887,8 +7887,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4334__", + "parentId": "__FLD_140__", + "_id": "__REQ_3271__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference", @@ -7903,8 +7903,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4335__", + "parentId": "__FLD_140__", + "_id": "__REQ_3272__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference", @@ -7919,8 +7919,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4336__", + "parentId": "__FLD_140__", + "_id": "__REQ_3273__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#delete-a-reference", @@ -7935,8 +7935,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4337__", + "parentId": "__FLD_140__", + "_id": "__REQ_3274__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tag-object", @@ -7951,8 +7951,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4338__", + "parentId": "__FLD_140__", + "_id": "__REQ_3275__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tag", @@ -7967,8 +7967,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4339__", + "parentId": "__FLD_140__", + "_id": "__REQ_3276__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tree", @@ -7983,8 +7983,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4340__", + "parentId": "__FLD_140__", + "_id": "__REQ_3277__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree", @@ -8004,8 +8004,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4341__", + "parentId": "__FLD_152__", + "_id": "__REQ_3278__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-webhooks", @@ -8031,8 +8031,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4342__", + "parentId": "__FLD_152__", + "_id": "__REQ_3279__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-webhook", @@ -8047,8 +8047,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4343__", + "parentId": "__FLD_152__", + "_id": "__REQ_3280__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-webhook", @@ -8063,8 +8063,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4344__", + "parentId": "__FLD_152__", + "_id": "__REQ_3281__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-webhook", @@ -8079,8 +8079,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4345__", + "parentId": "__FLD_152__", + "_id": "__REQ_3282__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-webhook", @@ -8095,8 +8095,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4346__", + "parentId": "__FLD_152__", + "_id": "__REQ_3283__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#ping-a-repository-webhook", @@ -8111,8 +8111,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4347__", + "parentId": "__FLD_152__", + "_id": "__REQ_3284__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#test-the-push-repository-webhook", @@ -8127,8 +8127,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4348__", + "parentId": "__FLD_133__", + "_id": "__REQ_3285__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -8143,8 +8143,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4349__", + "parentId": "__FLD_152__", + "_id": "__REQ_3286__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-invitations", @@ -8170,8 +8170,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4350__", + "parentId": "__FLD_152__", + "_id": "__REQ_3287__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-invitation", @@ -8186,8 +8186,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4351__", + "parentId": "__FLD_152__", + "_id": "__REQ_3288__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-invitation", @@ -8202,8 +8202,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4352__", + "parentId": "__FLD_142__", + "_id": "__REQ_3289__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-repository-issues", @@ -8273,8 +8273,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4353__", + "parentId": "__FLD_142__", + "_id": "__REQ_3290__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#create-an-issue", @@ -8289,8 +8289,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4354__", + "parentId": "__FLD_142__", + "_id": "__REQ_3291__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments-for-a-repository", @@ -8334,8 +8334,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4355__", + "parentId": "__FLD_142__", + "_id": "__REQ_3292__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-comment", @@ -8355,8 +8355,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4356__", + "parentId": "__FLD_142__", + "_id": "__REQ_3293__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-an-issue-comment", @@ -8371,8 +8371,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4357__", + "parentId": "__FLD_142__", + "_id": "__REQ_3294__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-an-issue-comment", @@ -8387,8 +8387,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4358__", + "parentId": "__FLD_151__", + "_id": "__REQ_3295__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue-comment", @@ -8423,8 +8423,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4359__", + "parentId": "__FLD_151__", + "_id": "__REQ_3296__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue-comment", @@ -8444,8 +8444,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4360__", + "parentId": "__FLD_151__", + "_id": "__REQ_3297__", "_type": "request", "name": "Delete an issue comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-comment-reaction", @@ -8465,8 +8465,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4361__", + "parentId": "__FLD_142__", + "_id": "__REQ_3298__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events-for-a-repository", @@ -8497,8 +8497,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4362__", + "parentId": "__FLD_142__", + "_id": "__REQ_3299__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-event", @@ -8518,8 +8518,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4363__", + "parentId": "__FLD_142__", + "_id": "__REQ_3300__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#get-an-issue", @@ -8539,8 +8539,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4364__", + "parentId": "__FLD_142__", + "_id": "__REQ_3301__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#update-an-issue", @@ -8555,8 +8555,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4365__", + "parentId": "__FLD_142__", + "_id": "__REQ_3302__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-assignees-to-an-issue", @@ -8571,8 +8571,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4366__", + "parentId": "__FLD_142__", + "_id": "__REQ_3303__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-assignees-from-an-issue", @@ -8587,8 +8587,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4367__", + "parentId": "__FLD_142__", + "_id": "__REQ_3304__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments", @@ -8623,8 +8623,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4368__", + "parentId": "__FLD_142__", + "_id": "__REQ_3305__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment", @@ -8639,8 +8639,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4369__", + "parentId": "__FLD_142__", + "_id": "__REQ_3306__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events", @@ -8671,8 +8671,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4370__", + "parentId": "__FLD_142__", + "_id": "__REQ_3307__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-an-issue", @@ -8698,8 +8698,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4371__", + "parentId": "__FLD_142__", + "_id": "__REQ_3308__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-labels-to-an-issue", @@ -8714,8 +8714,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4372__", + "parentId": "__FLD_142__", + "_id": "__REQ_3309__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#set-labels-for-an-issue", @@ -8730,8 +8730,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4373__", + "parentId": "__FLD_142__", + "_id": "__REQ_3310__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-all-labels-from-an-issue", @@ -8746,8 +8746,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4374__", + "parentId": "__FLD_142__", + "_id": "__REQ_3311__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-a-label-from-an-issue", @@ -8762,8 +8762,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4375__", + "parentId": "__FLD_142__", + "_id": "__REQ_3312__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#lock-an-issue", @@ -8778,8 +8778,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4376__", + "parentId": "__FLD_142__", + "_id": "__REQ_3313__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#unlock-an-issue", @@ -8794,8 +8794,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4377__", + "parentId": "__FLD_151__", + "_id": "__REQ_3314__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue", @@ -8830,8 +8830,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4378__", + "parentId": "__FLD_151__", + "_id": "__REQ_3315__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue", @@ -8851,8 +8851,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4379__", + "parentId": "__FLD_151__", + "_id": "__REQ_3316__", "_type": "request", "name": "Delete an issue reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-reaction", @@ -8872,8 +8872,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4380__", + "parentId": "__FLD_142__", + "_id": "__REQ_3317__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-timeline-events-for-an-issue", @@ -8904,8 +8904,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4381__", + "parentId": "__FLD_152__", + "_id": "__REQ_3318__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deploy-keys", @@ -8931,8 +8931,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4382__", + "parentId": "__FLD_152__", + "_id": "__REQ_3319__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deploy-key", @@ -8947,8 +8947,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4383__", + "parentId": "__FLD_152__", + "_id": "__REQ_3320__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deploy-key", @@ -8963,8 +8963,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4384__", + "parentId": "__FLD_152__", + "_id": "__REQ_3321__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deploy-key", @@ -8979,8 +8979,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4385__", + "parentId": "__FLD_142__", + "_id": "__REQ_3322__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-a-repository", @@ -9006,8 +9006,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4386__", + "parentId": "__FLD_142__", + "_id": "__REQ_3323__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-label", @@ -9022,8 +9022,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4387__", + "parentId": "__FLD_142__", + "_id": "__REQ_3324__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-label", @@ -9038,8 +9038,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4388__", + "parentId": "__FLD_142__", + "_id": "__REQ_3325__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-label", @@ -9054,8 +9054,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4389__", + "parentId": "__FLD_142__", + "_id": "__REQ_3326__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-label", @@ -9070,8 +9070,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4390__", + "parentId": "__FLD_152__", + "_id": "__REQ_3327__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-languages", @@ -9086,8 +9086,8 @@ "parameters": [] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4391__", + "parentId": "__FLD_143__", + "_id": "__REQ_3328__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-the-license-for-a-repository", @@ -9102,8 +9102,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4392__", + "parentId": "__FLD_152__", + "_id": "__REQ_3329__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#merge-a-branch", @@ -9118,8 +9118,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4393__", + "parentId": "__FLD_142__", + "_id": "__REQ_3330__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-milestones", @@ -9160,8 +9160,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4394__", + "parentId": "__FLD_142__", + "_id": "__REQ_3331__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-milestone", @@ -9176,8 +9176,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4395__", + "parentId": "__FLD_142__", + "_id": "__REQ_3332__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-milestone", @@ -9192,8 +9192,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4396__", + "parentId": "__FLD_142__", + "_id": "__REQ_3333__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-milestone", @@ -9208,8 +9208,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4397__", + "parentId": "__FLD_142__", + "_id": "__REQ_3334__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-milestone", @@ -9224,8 +9224,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4398__", + "parentId": "__FLD_142__", + "_id": "__REQ_3335__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -9251,8 +9251,8 @@ ] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4399__", + "parentId": "__FLD_132__", + "_id": "__REQ_3336__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -9296,8 +9296,8 @@ ] }, { - "parentId": "__FLD_180__", - "_id": "__REQ_4400__", + "parentId": "__FLD_132__", + "_id": "__REQ_3337__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-repository-notifications-as-read", @@ -9312,8 +9312,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4401__", + "parentId": "__FLD_152__", + "_id": "__REQ_3338__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-github-pages-site", @@ -9328,8 +9328,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4402__", + "parentId": "__FLD_152__", + "_id": "__REQ_3339__", "_type": "request", "name": "Create a GitHub Enterprise Server Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-github-pages-site", @@ -9349,8 +9349,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4403__", + "parentId": "__FLD_152__", + "_id": "__REQ_3340__", "_type": "request", "name": "Update information about a GitHub Enterprise Server Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-information-about-a-github-pages-site", @@ -9365,8 +9365,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4404__", + "parentId": "__FLD_152__", + "_id": "__REQ_3341__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-github-pages-site", @@ -9386,8 +9386,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4405__", + "parentId": "__FLD_152__", + "_id": "__REQ_3342__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-github-pages-builds", @@ -9413,8 +9413,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4406__", + "parentId": "__FLD_152__", + "_id": "__REQ_3343__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#request-a-github-pages-build", @@ -9429,8 +9429,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4407__", + "parentId": "__FLD_152__", + "_id": "__REQ_3344__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-latest-pages-build", @@ -9445,8 +9445,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4408__", + "parentId": "__FLD_152__", + "_id": "__REQ_3345__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-github-pages-build", @@ -9461,8 +9461,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4409__", + "parentId": "__FLD_138__", + "_id": "__REQ_3346__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -9493,8 +9493,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4410__", + "parentId": "__FLD_138__", + "_id": "__REQ_3347__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -9514,8 +9514,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4411__", + "parentId": "__FLD_138__", + "_id": "__REQ_3348__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -9535,8 +9535,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4412__", + "parentId": "__FLD_138__", + "_id": "__REQ_3349__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -9556,8 +9556,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4413__", + "parentId": "__FLD_148__", + "_id": "__REQ_3350__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-repository-projects", @@ -9593,8 +9593,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4414__", + "parentId": "__FLD_148__", + "_id": "__REQ_3351__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-a-repository-project", @@ -9614,8 +9614,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4415__", + "parentId": "__FLD_149__", + "_id": "__REQ_3352__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests", @@ -9663,8 +9663,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4416__", + "parentId": "__FLD_149__", + "_id": "__REQ_3353__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#create-a-pull-request", @@ -9679,8 +9679,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4417__", + "parentId": "__FLD_149__", + "_id": "__REQ_3354__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-in-a-repository", @@ -9724,8 +9724,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4418__", + "parentId": "__FLD_149__", + "_id": "__REQ_3355__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -9745,8 +9745,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4419__", + "parentId": "__FLD_149__", + "_id": "__REQ_3356__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -9766,8 +9766,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4420__", + "parentId": "__FLD_149__", + "_id": "__REQ_3357__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -9782,8 +9782,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4421__", + "parentId": "__FLD_151__", + "_id": "__REQ_3358__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -9818,8 +9818,8 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4422__", + "parentId": "__FLD_151__", + "_id": "__REQ_3359__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -9839,8 +9839,8 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4423__", + "parentId": "__FLD_151__", + "_id": "__REQ_3360__", "_type": "request", "name": "Delete a pull request comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-pull-request-comment-reaction", @@ -9860,8 +9860,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4424__", + "parentId": "__FLD_149__", + "_id": "__REQ_3361__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#get-a-pull-request", @@ -9876,8 +9876,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4425__", + "parentId": "__FLD_149__", + "_id": "__REQ_3362__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request", @@ -9892,8 +9892,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4426__", + "parentId": "__FLD_149__", + "_id": "__REQ_3363__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -9937,8 +9937,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4427__", + "parentId": "__FLD_149__", + "_id": "__REQ_3364__", "_type": "request", "name": "Create a review comment for a pull request", "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -9958,8 +9958,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4428__", + "parentId": "__FLD_149__", + "_id": "__REQ_3365__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -9974,8 +9974,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4429__", + "parentId": "__FLD_149__", + "_id": "__REQ_3366__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-commits-on-a-pull-request", @@ -10001,8 +10001,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4430__", + "parentId": "__FLD_149__", + "_id": "__REQ_3367__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests-files", @@ -10028,8 +10028,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4431__", + "parentId": "__FLD_149__", + "_id": "__REQ_3368__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -10044,8 +10044,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4432__", + "parentId": "__FLD_149__", + "_id": "__REQ_3369__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#merge-a-pull-request", @@ -10060,8 +10060,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4433__", + "parentId": "__FLD_149__", + "_id": "__REQ_3370__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -10087,8 +10087,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4434__", + "parentId": "__FLD_149__", + "_id": "__REQ_3371__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -10103,8 +10103,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4435__", + "parentId": "__FLD_149__", + "_id": "__REQ_3372__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -10119,8 +10119,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4436__", + "parentId": "__FLD_149__", + "_id": "__REQ_3373__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -10146,8 +10146,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4437__", + "parentId": "__FLD_149__", + "_id": "__REQ_3374__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -10162,8 +10162,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4438__", + "parentId": "__FLD_149__", + "_id": "__REQ_3375__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -10178,8 +10178,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4439__", + "parentId": "__FLD_149__", + "_id": "__REQ_3376__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -10194,8 +10194,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4440__", + "parentId": "__FLD_149__", + "_id": "__REQ_3377__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -10210,8 +10210,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4441__", + "parentId": "__FLD_149__", + "_id": "__REQ_3378__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -10237,8 +10237,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4442__", + "parentId": "__FLD_149__", + "_id": "__REQ_3379__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -10253,8 +10253,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4443__", + "parentId": "__FLD_149__", + "_id": "__REQ_3380__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -10269,8 +10269,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4444__", + "parentId": "__FLD_149__", + "_id": "__REQ_3381__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request-branch", @@ -10290,8 +10290,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4445__", + "parentId": "__FLD_152__", + "_id": "__REQ_3382__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-readme", @@ -10311,8 +10311,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4446__", + "parentId": "__FLD_152__", + "_id": "__REQ_3383__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-releases", @@ -10338,8 +10338,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4447__", + "parentId": "__FLD_152__", + "_id": "__REQ_3384__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release", @@ -10354,8 +10354,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4448__", + "parentId": "__FLD_152__", + "_id": "__REQ_3385__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-asset", @@ -10370,8 +10370,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4449__", + "parentId": "__FLD_152__", + "_id": "__REQ_3386__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release-asset", @@ -10386,8 +10386,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4450__", + "parentId": "__FLD_152__", + "_id": "__REQ_3387__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-release-asset", @@ -10402,8 +10402,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4451__", + "parentId": "__FLD_152__", + "_id": "__REQ_3388__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-latest-release", @@ -10418,8 +10418,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4452__", + "parentId": "__FLD_152__", + "_id": "__REQ_3389__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-by-tag-name", @@ -10434,8 +10434,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4453__", + "parentId": "__FLD_152__", + "_id": "__REQ_3390__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release", @@ -10450,8 +10450,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4454__", + "parentId": "__FLD_152__", + "_id": "__REQ_3391__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release", @@ -10466,6 +10466,3200 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4455__", - "_type": " \ No newline at end of file + "parentId": "__FLD_152__", + "_id": "__REQ_3392__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3393__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3394__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3395__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3396__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3397__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3398__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3399__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3400__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3401__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3402__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3403__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3404__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3405__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3406__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3407__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3408__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3409__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3410__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3411__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3412__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3413__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3414__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3415__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3416__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3417__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3418__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3419__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3420__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3421__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3422__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3423__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3424__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3425__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3426__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3427__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3428__", + "_type": "request", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3429__", + "_type": "request", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3430__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3431__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3432__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3433__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3434__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3435__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3436__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3437__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3438__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3439__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3440__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3441__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3442__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3443__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3444__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3445__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3446__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3447__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3448__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3449__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3450__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3451__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3452__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3453__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3454__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3455__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3456__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3457__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3458__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3459__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3460__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3461__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3462__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3463__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3464__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3465__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3466__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3467__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3468__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3469__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3470__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3471__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3472__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3473__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3474__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3475__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3476__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3477__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3478__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3479__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3480__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3481__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3482__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3483__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3484__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.22/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3485__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.22/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_142__", + "_id": "__REQ_3486__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3487__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3488__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3489__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3490__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3491__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3492__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3493__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3494__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_148__", + "_id": "__REQ_3495__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3496__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3497__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3498__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3499__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3500__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3501__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3502__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3503__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3504__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3505__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3506__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3507__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3508__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3509__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.22/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3510__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3511__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3512__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3513__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3514__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3515__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_3516__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3517__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3518__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_133__", + "_id": "__REQ_3519__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3520__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_147__", + "_id": "__REQ_3521__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_148__", + "_id": "__REQ_3522__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3523__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3524__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3525__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3526__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3527__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3528__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_132__", + "_id": "__REQ_3529__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3530__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_138__", + "_id": "__REQ_3531__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_145__", + "_id": "__REQ_3532__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.0.json b/routes/ghes-3.0.json index 5ca879e..97cca4f 100644 --- a/routes/ghes-3.0.json +++ b/routes/ghes-3.0.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.246Z", + "__export_date": "2021-02-18T17:02:26.971Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_25__", + "_id": "__FLD_104__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -89,158 +89,158 @@ } }, { - "parentId": "__FLD_25__", - "_id": "__FLD_26__", + "parentId": "__FLD_104__", + "_id": "__FLD_105__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_27__", + "parentId": "__FLD_104__", + "_id": "__FLD_106__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_28__", + "parentId": "__FLD_104__", + "_id": "__FLD_107__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_29__", + "parentId": "__FLD_104__", + "_id": "__FLD_108__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_30__", + "parentId": "__FLD_104__", + "_id": "__FLD_109__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_31__", + "parentId": "__FLD_104__", + "_id": "__FLD_110__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_32__", + "parentId": "__FLD_104__", + "_id": "__FLD_111__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_33__", + "parentId": "__FLD_104__", + "_id": "__FLD_112__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_34__", + "parentId": "__FLD_104__", + "_id": "__FLD_113__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_35__", + "parentId": "__FLD_104__", + "_id": "__FLD_114__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_36__", + "parentId": "__FLD_104__", + "_id": "__FLD_115__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_37__", + "parentId": "__FLD_104__", + "_id": "__FLD_116__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_38__", + "parentId": "__FLD_104__", + "_id": "__FLD_117__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_39__", + "parentId": "__FLD_104__", + "_id": "__FLD_118__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_40__", + "parentId": "__FLD_104__", + "_id": "__FLD_119__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_41__", + "parentId": "__FLD_104__", + "_id": "__FLD_120__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_42__", + "parentId": "__FLD_104__", + "_id": "__FLD_121__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_43__", + "parentId": "__FLD_104__", + "_id": "__FLD_122__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_44__", + "parentId": "__FLD_104__", + "_id": "__FLD_123__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_45__", + "parentId": "__FLD_104__", + "_id": "__FLD_124__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_46__", + "parentId": "__FLD_104__", + "_id": "__FLD_125__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_47__", + "parentId": "__FLD_104__", + "_id": "__FLD_126__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_48__", + "parentId": "__FLD_104__", + "_id": "__FLD_127__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_49__", + "parentId": "__FLD_104__", + "_id": "__FLD_128__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_50__", + "parentId": "__FLD_104__", + "_id": "__FLD_129__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_40__", - "_id": "__REQ_551__", + "parentId": "__FLD_119__", + "_id": "__REQ_2237__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -255,8 +255,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_552__", + "parentId": "__FLD_112__", + "_id": "__REQ_2238__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-global-webhooks", @@ -287,8 +287,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_553__", + "parentId": "__FLD_112__", + "_id": "__REQ_2239__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-global-webhook", @@ -308,8 +308,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_554__", + "parentId": "__FLD_112__", + "_id": "__REQ_2240__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-global-webhook", @@ -329,8 +329,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_555__", + "parentId": "__FLD_112__", + "_id": "__REQ_2241__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-global-webhook", @@ -350,8 +350,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_556__", + "parentId": "__FLD_112__", + "_id": "__REQ_2242__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -371,8 +371,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_557__", + "parentId": "__FLD_112__", + "_id": "__REQ_2243__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -392,8 +392,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_558__", + "parentId": "__FLD_112__", + "_id": "__REQ_2244__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-public-keys", @@ -419,8 +419,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_559__", + "parentId": "__FLD_112__", + "_id": "__REQ_2245__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-public-key", @@ -435,8 +435,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_560__", + "parentId": "__FLD_112__", + "_id": "__REQ_2246__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", @@ -456,8 +456,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_561__", + "parentId": "__FLD_112__", + "_id": "__REQ_2247__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -472,8 +472,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_562__", + "parentId": "__FLD_112__", + "_id": "__REQ_2248__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -488,8 +488,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_563__", + "parentId": "__FLD_112__", + "_id": "__REQ_2249__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -504,8 +504,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_564__", + "parentId": "__FLD_112__", + "_id": "__REQ_2250__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-organization", @@ -520,8 +520,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_565__", + "parentId": "__FLD_112__", + "_id": "__REQ_2251__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-an-organization-name", @@ -536,8 +536,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_566__", + "parentId": "__FLD_112__", + "_id": "__REQ_2252__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -568,8 +568,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_567__", + "parentId": "__FLD_112__", + "_id": "__REQ_2253__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -589,8 +589,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_568__", + "parentId": "__FLD_112__", + "_id": "__REQ_2254__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -610,8 +610,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_569__", + "parentId": "__FLD_112__", + "_id": "__REQ_2255__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -631,8 +631,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_570__", + "parentId": "__FLD_112__", + "_id": "__REQ_2256__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -652,8 +652,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_571__", + "parentId": "__FLD_112__", + "_id": "__REQ_2257__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -673,8 +673,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_572__", + "parentId": "__FLD_112__", + "_id": "__REQ_2258__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -694,8 +694,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_573__", + "parentId": "__FLD_112__", + "_id": "__REQ_2259__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -726,8 +726,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_574__", + "parentId": "__FLD_112__", + "_id": "__REQ_2260__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -747,8 +747,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_575__", + "parentId": "__FLD_112__", + "_id": "__REQ_2261__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -768,8 +768,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_576__", + "parentId": "__FLD_112__", + "_id": "__REQ_2262__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -789,8 +789,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_577__", + "parentId": "__FLD_112__", + "_id": "__REQ_2263__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -810,8 +810,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_578__", + "parentId": "__FLD_112__", + "_id": "__REQ_2264__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -837,8 +837,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_579__", + "parentId": "__FLD_112__", + "_id": "__REQ_2265__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -853,8 +853,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_580__", + "parentId": "__FLD_112__", + "_id": "__REQ_2266__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-user", @@ -869,8 +869,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_581__", + "parentId": "__FLD_112__", + "_id": "__REQ_2267__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -885,8 +885,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_582__", + "parentId": "__FLD_112__", + "_id": "__REQ_2268__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-user", @@ -901,8 +901,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_583__", + "parentId": "__FLD_112__", + "_id": "__REQ_2269__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -917,8 +917,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_584__", + "parentId": "__FLD_112__", + "_id": "__REQ_2270__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -933,8 +933,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_585__", + "parentId": "__FLD_107__", + "_id": "__REQ_2271__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-the-authenticated-app", @@ -949,8 +949,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_586__", + "parentId": "__FLD_107__", + "_id": "__REQ_2272__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-a-github-app-from-a-manifest", @@ -965,8 +965,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_587__", + "parentId": "__FLD_107__", + "_id": "__REQ_2273__", "_type": "request", "name": "Get a webhook configuration for an app", "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#get-a-webhook-configuration-for-an-app", @@ -981,8 +981,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_588__", + "parentId": "__FLD_107__", + "_id": "__REQ_2274__", "_type": "request", "name": "Update a webhook configuration for an app", "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#update-a-webhook-configuration-for-an-app", @@ -997,8 +997,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_589__", + "parentId": "__FLD_107__", + "_id": "__REQ_2275__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#list-installations-for-the-authenticated-app", @@ -1032,8 +1032,8 @@ ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_590__", + "parentId": "__FLD_107__", + "_id": "__REQ_2276__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -1048,8 +1048,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_591__", + "parentId": "__FLD_107__", + "_id": "__REQ_2277__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.0/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -1064,8 +1064,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_592__", + "parentId": "__FLD_107__", + "_id": "__REQ_2278__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-an-installation-access-token-for-an-app", @@ -1080,8 +1080,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_593__", + "parentId": "__FLD_120__", + "_id": "__REQ_2279__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-grants", @@ -1107,8 +1107,8 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_594__", + "parentId": "__FLD_120__", + "_id": "__REQ_2280__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1123,8 +1123,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_595__", + "parentId": "__FLD_120__", + "_id": "__REQ_2281__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-a-grant", @@ -1139,8 +1139,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_596__", + "parentId": "__FLD_107__", + "_id": "__REQ_2282__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-authorization", @@ -1155,8 +1155,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_597__", + "parentId": "__FLD_107__", + "_id": "__REQ_2283__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1171,8 +1171,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_598__", + "parentId": "__FLD_107__", + "_id": "__REQ_2284__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-a-token", @@ -1187,8 +1187,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_599__", + "parentId": "__FLD_107__", + "_id": "__REQ_2285__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-a-token", @@ -1203,8 +1203,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_600__", + "parentId": "__FLD_107__", + "_id": "__REQ_2286__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-token", @@ -1219,8 +1219,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_601__", + "parentId": "__FLD_107__", + "_id": "__REQ_2287__", "_type": "request", "name": "Create a scoped access token", "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-scoped-access-token", @@ -1235,8 +1235,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_602__", + "parentId": "__FLD_107__", + "_id": "__REQ_2288__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-an-authorization", @@ -1251,8 +1251,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_603__", + "parentId": "__FLD_107__", + "_id": "__REQ_2289__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-an-authorization", @@ -1267,8 +1267,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_604__", + "parentId": "__FLD_107__", + "_id": "__REQ_2290__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1283,8 +1283,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_605__", + "parentId": "__FLD_107__", + "_id": "__REQ_2291__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-app", @@ -1299,8 +1299,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_606__", + "parentId": "__FLD_120__", + "_id": "__REQ_2292__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1326,8 +1326,8 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_607__", + "parentId": "__FLD_120__", + "_id": "__REQ_2293__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1342,8 +1342,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_608__", + "parentId": "__FLD_120__", + "_id": "__REQ_2294__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1358,8 +1358,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_609__", + "parentId": "__FLD_120__", + "_id": "__REQ_2295__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1374,8 +1374,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_610__", + "parentId": "__FLD_120__", + "_id": "__REQ_2296__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1390,8 +1390,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_611__", + "parentId": "__FLD_120__", + "_id": "__REQ_2297__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1406,8 +1406,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_612__", + "parentId": "__FLD_120__", + "_id": "__REQ_2298__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1422,8 +1422,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_613__", + "parentId": "__FLD_110__", + "_id": "__REQ_2299__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -1443,8 +1443,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_614__", + "parentId": "__FLD_110__", + "_id": "__REQ_2300__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1464,8 +1464,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_615__", + "parentId": "__FLD_107__", + "_id": "__REQ_2301__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.0/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-content-attachment", @@ -1485,8 +1485,8 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_616__", + "parentId": "__FLD_111__", + "_id": "__REQ_2302__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/emojis/#get-emojis", @@ -1501,8 +1501,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_617__", + "parentId": "__FLD_112__", + "_id": "__REQ_2303__", "_type": "request", "name": "Get the global announcement banner", "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#get-the-current-announcement", @@ -1517,8 +1517,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_618__", + "parentId": "__FLD_112__", + "_id": "__REQ_2304__", "_type": "request", "name": "Set the global announcement banner", "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#set-the-current-announcement", @@ -1533,8 +1533,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_619__", + "parentId": "__FLD_112__", + "_id": "__REQ_2305__", "_type": "request", "name": "Remove the global announcement banner", "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#clear-the-current-announcement", @@ -1549,8 +1549,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_620__", + "parentId": "__FLD_112__", + "_id": "__REQ_2306__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-license-information", @@ -1565,8 +1565,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_621__", + "parentId": "__FLD_112__", + "_id": "__REQ_2307__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-statistics", @@ -1581,8 +1581,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_622__", + "parentId": "__FLD_112__", + "_id": "__REQ_2308__", "_type": "request", "name": "Get GitHub Actions permissions for an enterprise", "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", @@ -1597,8 +1597,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_623__", + "parentId": "__FLD_112__", + "_id": "__REQ_2309__", "_type": "request", "name": "Set GitHub Actions permissions for an enterprise", "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", @@ -1613,8 +1613,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_624__", + "parentId": "__FLD_112__", + "_id": "__REQ_2310__", "_type": "request", "name": "List selected organizations enabled for GitHub Actions in an enterprise", "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", @@ -1640,8 +1640,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_625__", + "parentId": "__FLD_112__", + "_id": "__REQ_2311__", "_type": "request", "name": "Set selected organizations enabled for GitHub Actions in an enterprise", "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", @@ -1656,8 +1656,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_626__", + "parentId": "__FLD_112__", + "_id": "__REQ_2312__", "_type": "request", "name": "Enable a selected organization for GitHub Actions in an enterprise", "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", @@ -1672,8 +1672,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_627__", + "parentId": "__FLD_112__", + "_id": "__REQ_2313__", "_type": "request", "name": "Disable a selected organization for GitHub Actions in an enterprise", "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", @@ -1688,8 +1688,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_628__", + "parentId": "__FLD_112__", + "_id": "__REQ_2314__", "_type": "request", "name": "Get allowed actions for an enterprise", "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", @@ -1704,8 +1704,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_629__", + "parentId": "__FLD_112__", + "_id": "__REQ_2315__", "_type": "request", "name": "Set allowed actions for an enterprise", "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", @@ -1720,8 +1720,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_630__", + "parentId": "__FLD_112__", + "_id": "__REQ_2316__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", @@ -1747,8 +1747,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_631__", + "parentId": "__FLD_112__", + "_id": "__REQ_2317__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", @@ -1763,8 +1763,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_632__", + "parentId": "__FLD_112__", + "_id": "__REQ_2318__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", @@ -1779,8 +1779,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_633__", + "parentId": "__FLD_112__", + "_id": "__REQ_2319__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", @@ -1795,8 +1795,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_634__", + "parentId": "__FLD_112__", + "_id": "__REQ_2320__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", @@ -1811,8 +1811,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_635__", + "parentId": "__FLD_112__", + "_id": "__REQ_2321__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", @@ -1838,8 +1838,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_636__", + "parentId": "__FLD_112__", + "_id": "__REQ_2322__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1854,8 +1854,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_637__", + "parentId": "__FLD_112__", + "_id": "__REQ_2323__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1870,8 +1870,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_638__", + "parentId": "__FLD_112__", + "_id": "__REQ_2324__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1886,8 +1886,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_639__", + "parentId": "__FLD_112__", + "_id": "__REQ_2325__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1913,8 +1913,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_640__", + "parentId": "__FLD_112__", + "_id": "__REQ_2326__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1929,8 +1929,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_641__", + "parentId": "__FLD_112__", + "_id": "__REQ_2327__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", @@ -1945,8 +1945,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_642__", + "parentId": "__FLD_112__", + "_id": "__REQ_2328__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", @@ -1961,8 +1961,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_643__", + "parentId": "__FLD_112__", + "_id": "__REQ_2329__", "_type": "request", "name": "List self-hosted runners for an enterprise", "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", @@ -1988,8 +1988,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_644__", + "parentId": "__FLD_112__", + "_id": "__REQ_2330__", "_type": "request", "name": "List runner applications for an enterprise", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", @@ -2004,8 +2004,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_645__", + "parentId": "__FLD_112__", + "_id": "__REQ_2331__", "_type": "request", "name": "Create a registration token for an enterprise", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", @@ -2020,8 +2020,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_646__", + "parentId": "__FLD_112__", + "_id": "__REQ_2332__", "_type": "request", "name": "Create a remove token for an enterprise", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", @@ -2036,8 +2036,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_647__", + "parentId": "__FLD_112__", + "_id": "__REQ_2333__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", @@ -2052,8 +2052,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_648__", + "parentId": "__FLD_112__", + "_id": "__REQ_2334__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", @@ -2068,8 +2068,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_649__", + "parentId": "__FLD_106__", + "_id": "__REQ_2335__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events", @@ -2095,8 +2095,8 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_650__", + "parentId": "__FLD_106__", + "_id": "__REQ_2336__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-feeds", @@ -2111,8 +2111,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_651__", + "parentId": "__FLD_113__", + "_id": "__REQ_2337__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gists-for-the-authenticated-user", @@ -2142,8 +2142,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_652__", + "parentId": "__FLD_113__", + "_id": "__REQ_2338__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#create-a-gist", @@ -2158,8 +2158,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_653__", + "parentId": "__FLD_113__", + "_id": "__REQ_2339__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-public-gists", @@ -2189,8 +2189,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_654__", + "parentId": "__FLD_113__", + "_id": "__REQ_2340__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-starred-gists", @@ -2220,8 +2220,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_655__", + "parentId": "__FLD_113__", + "_id": "__REQ_2341__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist", @@ -2236,8 +2236,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_656__", + "parentId": "__FLD_113__", + "_id": "__REQ_2342__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#update-a-gist", @@ -2252,8 +2252,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_657__", + "parentId": "__FLD_113__", + "_id": "__REQ_2343__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#delete-a-gist", @@ -2268,8 +2268,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_658__", + "parentId": "__FLD_113__", + "_id": "__REQ_2344__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gist-comments", @@ -2295,8 +2295,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_659__", + "parentId": "__FLD_113__", + "_id": "__REQ_2345__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#create-a-gist-comment", @@ -2311,8 +2311,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_660__", + "parentId": "__FLD_113__", + "_id": "__REQ_2346__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#get-a-gist-comment", @@ -2327,8 +2327,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_661__", + "parentId": "__FLD_113__", + "_id": "__REQ_2347__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#update-a-gist-comment", @@ -2343,8 +2343,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_662__", + "parentId": "__FLD_113__", + "_id": "__REQ_2348__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#delete-a-gist-comment", @@ -2359,8 +2359,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_663__", + "parentId": "__FLD_113__", + "_id": "__REQ_2349__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-commits", @@ -2386,8 +2386,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_664__", + "parentId": "__FLD_113__", + "_id": "__REQ_2350__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-forks", @@ -2413,8 +2413,8 @@ ] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_665__", + "parentId": "__FLD_113__", + "_id": "__REQ_2351__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#fork-a-gist", @@ -2429,8 +2429,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_666__", + "parentId": "__FLD_113__", + "_id": "__REQ_2352__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#check-if-a-gist-is-starred", @@ -2445,8 +2445,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_667__", + "parentId": "__FLD_113__", + "_id": "__REQ_2353__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#star-a-gist", @@ -2461,8 +2461,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_668__", + "parentId": "__FLD_113__", + "_id": "__REQ_2354__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#unstar-a-gist", @@ -2477,8 +2477,8 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_669__", + "parentId": "__FLD_113__", + "_id": "__REQ_2355__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist-revision", @@ -2493,8 +2493,8 @@ "parameters": [] }, { - "parentId": "__FLD_36__", - "_id": "__REQ_670__", + "parentId": "__FLD_115__", + "_id": "__REQ_2356__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-all-gitignore-templates", @@ -2509,8 +2509,8 @@ "parameters": [] }, { - "parentId": "__FLD_36__", - "_id": "__REQ_671__", + "parentId": "__FLD_115__", + "_id": "__REQ_2357__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-a-gitignore-template", @@ -2525,8 +2525,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_672__", + "parentId": "__FLD_107__", + "_id": "__REQ_2358__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -2557,8 +2557,8 @@ ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_673__", + "parentId": "__FLD_107__", + "_id": "__REQ_2359__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-installation-access-token", @@ -2573,8 +2573,8 @@ "parameters": [] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_674__", + "parentId": "__FLD_116__", + "_id": "__REQ_2360__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -2649,8 +2649,8 @@ ] }, { - "parentId": "__FLD_38__", - "_id": "__REQ_675__", + "parentId": "__FLD_117__", + "_id": "__REQ_2361__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-all-commonly-used-licenses", @@ -2675,8 +2675,8 @@ ] }, { - "parentId": "__FLD_38__", - "_id": "__REQ_676__", + "parentId": "__FLD_117__", + "_id": "__REQ_2362__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-a-license", @@ -2691,8 +2691,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_677__", + "parentId": "__FLD_118__", + "_id": "__REQ_2363__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document", @@ -2707,8 +2707,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_678__", + "parentId": "__FLD_118__", + "_id": "__REQ_2364__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2723,8 +2723,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_679__", + "parentId": "__FLD_119__", + "_id": "__REQ_2365__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/meta/#get-github-meta-information", @@ -2739,8 +2739,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_680__", + "parentId": "__FLD_106__", + "_id": "__REQ_2366__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2766,8 +2766,8 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_681__", + "parentId": "__FLD_106__", + "_id": "__REQ_2367__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2811,8 +2811,8 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_682__", + "parentId": "__FLD_106__", + "_id": "__REQ_2368__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-notifications-as-read", @@ -2827,8 +2827,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_683__", + "parentId": "__FLD_106__", + "_id": "__REQ_2369__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread", @@ -2843,8 +2843,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_684__", + "parentId": "__FLD_106__", + "_id": "__REQ_2370__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-a-thread-as-read", @@ -2859,8 +2859,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_685__", + "parentId": "__FLD_106__", + "_id": "__REQ_2371__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2875,8 +2875,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_686__", + "parentId": "__FLD_106__", + "_id": "__REQ_2372__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription", @@ -2891,8 +2891,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_687__", + "parentId": "__FLD_106__", + "_id": "__REQ_2373__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription", @@ -2907,8 +2907,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_688__", + "parentId": "__FLD_119__", + "_id": "__REQ_2374__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2928,8 +2928,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_689__", + "parentId": "__FLD_121__", + "_id": "__REQ_2375__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations", @@ -2954,8 +2954,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_690__", + "parentId": "__FLD_121__", + "_id": "__REQ_2376__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#get-an-organization", @@ -2975,8 +2975,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_691__", + "parentId": "__FLD_121__", + "_id": "__REQ_2377__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#update-an-organization", @@ -2996,8 +2996,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_692__", + "parentId": "__FLD_105__", + "_id": "__REQ_2378__", "_type": "request", "name": "Get GitHub Actions permissions for an organization", "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-an-organization", @@ -3012,8 +3012,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_693__", + "parentId": "__FLD_105__", + "_id": "__REQ_2379__", "_type": "request", "name": "Set GitHub Actions permissions for an organization", "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-an-organization", @@ -3028,8 +3028,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_694__", + "parentId": "__FLD_105__", + "_id": "__REQ_2380__", "_type": "request", "name": "List selected repositories enabled for GitHub Actions in an organization", "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -3055,8 +3055,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_695__", + "parentId": "__FLD_105__", + "_id": "__REQ_2381__", "_type": "request", "name": "Set selected repositories enabled for GitHub Actions in an organization", "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -3071,8 +3071,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_696__", + "parentId": "__FLD_105__", + "_id": "__REQ_2382__", "_type": "request", "name": "Enable a selected repository for GitHub Actions in an organization", "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", @@ -3087,8 +3087,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_697__", + "parentId": "__FLD_105__", + "_id": "__REQ_2383__", "_type": "request", "name": "Disable a selected repository for GitHub Actions in an organization", "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", @@ -3103,8 +3103,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_698__", + "parentId": "__FLD_105__", + "_id": "__REQ_2384__", "_type": "request", "name": "Get allowed actions for an organization", "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-an-organization", @@ -3119,8 +3119,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_699__", + "parentId": "__FLD_105__", + "_id": "__REQ_2385__", "_type": "request", "name": "Set allowed actions for an organization", "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-an-organization", @@ -3135,8 +3135,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_700__", + "parentId": "__FLD_105__", + "_id": "__REQ_2386__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -3162,8 +3162,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_701__", + "parentId": "__FLD_105__", + "_id": "__REQ_2387__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -3178,8 +3178,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_702__", + "parentId": "__FLD_105__", + "_id": "__REQ_2388__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -3194,8 +3194,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_703__", + "parentId": "__FLD_105__", + "_id": "__REQ_2389__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -3210,8 +3210,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_704__", + "parentId": "__FLD_105__", + "_id": "__REQ_2390__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -3226,8 +3226,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_705__", + "parentId": "__FLD_105__", + "_id": "__REQ_2391__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3242,8 +3242,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_706__", + "parentId": "__FLD_105__", + "_id": "__REQ_2392__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3258,8 +3258,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_707__", + "parentId": "__FLD_105__", + "_id": "__REQ_2393__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -3274,8 +3274,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_708__", + "parentId": "__FLD_105__", + "_id": "__REQ_2394__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3290,8 +3290,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_709__", + "parentId": "__FLD_105__", + "_id": "__REQ_2395__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -3317,8 +3317,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_710__", + "parentId": "__FLD_105__", + "_id": "__REQ_2396__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -3333,8 +3333,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_711__", + "parentId": "__FLD_105__", + "_id": "__REQ_2397__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -3349,8 +3349,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_712__", + "parentId": "__FLD_105__", + "_id": "__REQ_2398__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -3365,8 +3365,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_713__", + "parentId": "__FLD_105__", + "_id": "__REQ_2399__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -3392,8 +3392,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_714__", + "parentId": "__FLD_105__", + "_id": "__REQ_2400__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-an-organization", @@ -3408,8 +3408,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_715__", + "parentId": "__FLD_105__", + "_id": "__REQ_2401__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -3424,8 +3424,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_716__", + "parentId": "__FLD_105__", + "_id": "__REQ_2402__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3440,8 +3440,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_717__", + "parentId": "__FLD_105__", + "_id": "__REQ_2403__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3456,8 +3456,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_718__", + "parentId": "__FLD_105__", + "_id": "__REQ_2404__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3472,8 +3472,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_719__", + "parentId": "__FLD_105__", + "_id": "__REQ_2405__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-organization-secrets", @@ -3499,8 +3499,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_720__", + "parentId": "__FLD_105__", + "_id": "__REQ_2406__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key", @@ -3515,8 +3515,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_721__", + "parentId": "__FLD_105__", + "_id": "__REQ_2407__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-secret", @@ -3531,8 +3531,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_722__", + "parentId": "__FLD_105__", + "_id": "__REQ_2408__", "_type": "request", "name": "Create or update an organization secret", "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret", @@ -3547,8 +3547,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_723__", + "parentId": "__FLD_105__", + "_id": "__REQ_2409__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-organization-secret", @@ -3563,8 +3563,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_724__", + "parentId": "__FLD_105__", + "_id": "__REQ_2410__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3579,8 +3579,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_725__", + "parentId": "__FLD_105__", + "_id": "__REQ_2411__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3595,8 +3595,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_726__", + "parentId": "__FLD_105__", + "_id": "__REQ_2412__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3611,8 +3611,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_727__", + "parentId": "__FLD_105__", + "_id": "__REQ_2413__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3627,8 +3627,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_728__", + "parentId": "__FLD_106__", + "_id": "__REQ_2414__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-organization-events", @@ -3654,8 +3654,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_729__", + "parentId": "__FLD_121__", + "_id": "__REQ_2415__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-webhooks", @@ -3681,8 +3681,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_730__", + "parentId": "__FLD_121__", + "_id": "__REQ_2416__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#create-an-organization-webhook", @@ -3697,8 +3697,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_731__", + "parentId": "__FLD_121__", + "_id": "__REQ_2417__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization-webhook", @@ -3713,8 +3713,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_732__", + "parentId": "__FLD_121__", + "_id": "__REQ_2418__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-an-organization-webhook", @@ -3729,8 +3729,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_733__", + "parentId": "__FLD_121__", + "_id": "__REQ_2419__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#delete-an-organization-webhook", @@ -3745,8 +3745,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_734__", + "parentId": "__FLD_121__", + "_id": "__REQ_2420__", "_type": "request", "name": "Get a webhook configuration for an organization", "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#get-a-webhook-configuration-for-an-organization", @@ -3761,8 +3761,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_735__", + "parentId": "__FLD_121__", + "_id": "__REQ_2421__", "_type": "request", "name": "Update a webhook configuration for an organization", "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#update-a-webhook-configuration-for-an-organization", @@ -3777,8 +3777,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_736__", + "parentId": "__FLD_121__", + "_id": "__REQ_2422__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#ping-an-organization-webhook", @@ -3793,8 +3793,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_737__", + "parentId": "__FLD_107__", + "_id": "__REQ_2423__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -3809,8 +3809,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_738__", + "parentId": "__FLD_121__", + "_id": "__REQ_2424__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-app-installations-for-an-organization", @@ -3836,8 +3836,8 @@ ] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_739__", + "parentId": "__FLD_116__", + "_id": "__REQ_2425__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -3896,8 +3896,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_740__", + "parentId": "__FLD_121__", + "_id": "__REQ_2426__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-members", @@ -3933,8 +3933,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_741__", + "parentId": "__FLD_121__", + "_id": "__REQ_2427__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-organization-membership-for-a-user", @@ -3949,8 +3949,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_742__", + "parentId": "__FLD_121__", + "_id": "__REQ_2428__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-an-organization-member", @@ -3965,8 +3965,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_743__", + "parentId": "__FLD_121__", + "_id": "__REQ_2429__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user", @@ -3981,8 +3981,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_744__", + "parentId": "__FLD_121__", + "_id": "__REQ_2430__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-organization-membership-for-a-user", @@ -3997,8 +3997,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_745__", + "parentId": "__FLD_121__", + "_id": "__REQ_2431__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -4013,8 +4013,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_746__", + "parentId": "__FLD_121__", + "_id": "__REQ_2432__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -4045,8 +4045,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_747__", + "parentId": "__FLD_121__", + "_id": "__REQ_2433__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -4061,8 +4061,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_748__", + "parentId": "__FLD_121__", + "_id": "__REQ_2434__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -4077,8 +4077,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_749__", + "parentId": "__FLD_112__", + "_id": "__REQ_2435__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -4109,8 +4109,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_750__", + "parentId": "__FLD_112__", + "_id": "__REQ_2436__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -4130,8 +4130,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_751__", + "parentId": "__FLD_112__", + "_id": "__REQ_2437__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -4151,8 +4151,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_752__", + "parentId": "__FLD_112__", + "_id": "__REQ_2438__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -4172,8 +4172,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_753__", + "parentId": "__FLD_122__", + "_id": "__REQ_2439__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-organization-projects", @@ -4209,8 +4209,8 @@ ] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_754__", + "parentId": "__FLD_122__", + "_id": "__REQ_2440__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-an-organization-project", @@ -4230,8 +4230,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_755__", + "parentId": "__FLD_121__", + "_id": "__REQ_2441__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-public-organization-members", @@ -4257,8 +4257,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_756__", + "parentId": "__FLD_121__", + "_id": "__REQ_2442__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -4273,8 +4273,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_757__", + "parentId": "__FLD_121__", + "_id": "__REQ_2443__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -4289,8 +4289,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_758__", + "parentId": "__FLD_121__", + "_id": "__REQ_2444__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -4305,8 +4305,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_759__", + "parentId": "__FLD_126__", + "_id": "__REQ_2445__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-organization-repositories", @@ -4350,8 +4350,8 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_760__", + "parentId": "__FLD_126__", + "_id": "__REQ_2446__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-an-organization-repository", @@ -4371,8 +4371,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_761__", + "parentId": "__FLD_128__", + "_id": "__REQ_2447__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-teams", @@ -4398,8 +4398,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_762__", + "parentId": "__FLD_128__", + "_id": "__REQ_2448__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team", @@ -4414,8 +4414,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_763__", + "parentId": "__FLD_128__", + "_id": "__REQ_2449__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#get-a-team-by-name", @@ -4430,8 +4430,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_764__", + "parentId": "__FLD_128__", + "_id": "__REQ_2450__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#update-a-team", @@ -4446,8 +4446,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_765__", + "parentId": "__FLD_128__", + "_id": "__REQ_2451__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#delete-a-team", @@ -4462,8 +4462,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_766__", + "parentId": "__FLD_128__", + "_id": "__REQ_2452__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions", @@ -4499,8 +4499,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_767__", + "parentId": "__FLD_128__", + "_id": "__REQ_2453__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion", @@ -4520,8 +4520,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_768__", + "parentId": "__FLD_128__", + "_id": "__REQ_2454__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion", @@ -4541,8 +4541,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_769__", + "parentId": "__FLD_128__", + "_id": "__REQ_2455__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion", @@ -4562,8 +4562,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_770__", + "parentId": "__FLD_128__", + "_id": "__REQ_2456__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion", @@ -4578,8 +4578,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_771__", + "parentId": "__FLD_128__", + "_id": "__REQ_2457__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments", @@ -4615,8 +4615,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_772__", + "parentId": "__FLD_128__", + "_id": "__REQ_2458__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment", @@ -4636,8 +4636,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_773__", + "parentId": "__FLD_128__", + "_id": "__REQ_2459__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment", @@ -4657,8 +4657,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_774__", + "parentId": "__FLD_128__", + "_id": "__REQ_2460__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment", @@ -4678,8 +4678,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_775__", + "parentId": "__FLD_128__", + "_id": "__REQ_2461__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment", @@ -4694,8 +4694,8 @@ "parameters": [] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_776__", + "parentId": "__FLD_125__", + "_id": "__REQ_2462__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -4730,8 +4730,8 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_777__", + "parentId": "__FLD_125__", + "_id": "__REQ_2463__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -4751,8 +4751,8 @@ "parameters": [] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_778__", + "parentId": "__FLD_125__", + "_id": "__REQ_2464__", "_type": "request", "name": "Delete team discussion comment reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-comment-reaction", @@ -4772,8 +4772,8 @@ "parameters": [] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_779__", + "parentId": "__FLD_125__", + "_id": "__REQ_2465__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion", @@ -4808,8 +4808,8 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_780__", + "parentId": "__FLD_125__", + "_id": "__REQ_2466__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion", @@ -4829,8 +4829,8 @@ "parameters": [] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_781__", + "parentId": "__FLD_125__", + "_id": "__REQ_2467__", "_type": "request", "name": "Delete team discussion reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-reaction", @@ -4850,8 +4850,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_782__", + "parentId": "__FLD_128__", + "_id": "__REQ_2468__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members", @@ -4882,8 +4882,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_783__", + "parentId": "__FLD_128__", + "_id": "__REQ_2469__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user", @@ -4898,8 +4898,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_784__", + "parentId": "__FLD_128__", + "_id": "__REQ_2470__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -4914,8 +4914,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_785__", + "parentId": "__FLD_128__", + "_id": "__REQ_2471__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user", @@ -4930,8 +4930,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_786__", + "parentId": "__FLD_128__", + "_id": "__REQ_2472__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-projects", @@ -4962,8 +4962,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_787__", + "parentId": "__FLD_128__", + "_id": "__REQ_2473__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-project", @@ -4983,8 +4983,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_788__", + "parentId": "__FLD_128__", + "_id": "__REQ_2474__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-project-permissions", @@ -5004,8 +5004,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_789__", + "parentId": "__FLD_128__", + "_id": "__REQ_2475__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-project-from-a-team", @@ -5020,8 +5020,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_790__", + "parentId": "__FLD_128__", + "_id": "__REQ_2476__", "_type": "request", "name": "List team repositories", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-repositories", @@ -5047,8 +5047,8 @@ ] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_791__", + "parentId": "__FLD_128__", + "_id": "__REQ_2477__", "_type": "request", "name": "Check team permissions for a repository", "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-repository", @@ -5063,8 +5063,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_792__", + "parentId": "__FLD_128__", + "_id": "__REQ_2478__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-repository-permissions", @@ -5079,8 +5079,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_793__", + "parentId": "__FLD_128__", + "_id": "__REQ_2479__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-repository-from-a-team", @@ -5095,8 +5095,8 @@ "parameters": [] }, { - "parentId": "__FLD_49__", - "_id": "__REQ_794__", + "parentId": "__FLD_128__", + "_id": "__REQ_2480__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-child-teams", @@ -5122,8 +5122,8 @@ ] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_795__", + "parentId": "__FLD_122__", + "_id": "__REQ_2481__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-card", @@ -5143,8 +5143,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_796__", + "parentId": "__FLD_122__", + "_id": "__REQ_2482__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-card", @@ -5164,8 +5164,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_797__", + "parentId": "__FLD_122__", + "_id": "__REQ_2483__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-card", @@ -5185,8 +5185,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_798__", + "parentId": "__FLD_122__", + "_id": "__REQ_2484__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-card", @@ -5206,8 +5206,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_799__", + "parentId": "__FLD_122__", + "_id": "__REQ_2485__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-column", @@ -5227,8 +5227,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_800__", + "parentId": "__FLD_122__", + "_id": "__REQ_2486__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-column", @@ -5248,8 +5248,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_801__", + "parentId": "__FLD_122__", + "_id": "__REQ_2487__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-column", @@ -5269,8 +5269,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_802__", + "parentId": "__FLD_122__", + "_id": "__REQ_2488__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-cards", @@ -5306,8 +5306,8 @@ ] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_803__", + "parentId": "__FLD_122__", + "_id": "__REQ_2489__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-card", @@ -5327,8 +5327,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_804__", + "parentId": "__FLD_122__", + "_id": "__REQ_2490__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-column", @@ -5348,8 +5348,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_805__", + "parentId": "__FLD_122__", + "_id": "__REQ_2491__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#get-a-project", @@ -5369,8 +5369,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_806__", + "parentId": "__FLD_122__", + "_id": "__REQ_2492__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#update-a-project", @@ -5390,8 +5390,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_807__", + "parentId": "__FLD_122__", + "_id": "__REQ_2493__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#delete-a-project", @@ -5411,8 +5411,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_808__", + "parentId": "__FLD_122__", + "_id": "__REQ_2494__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-collaborators", @@ -5448,8 +5448,8 @@ ] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_809__", + "parentId": "__FLD_122__", + "_id": "__REQ_2495__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#add-project-collaborator", @@ -5469,8 +5469,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_810__", + "parentId": "__FLD_122__", + "_id": "__REQ_2496__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#remove-project-collaborator", @@ -5490,8 +5490,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_811__", + "parentId": "__FLD_122__", + "_id": "__REQ_2497__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-project-permission-for-a-user", @@ -5511,8 +5511,8 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_812__", + "parentId": "__FLD_122__", + "_id": "__REQ_2498__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-columns", @@ -5543,8 +5543,8 @@ ] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_813__", + "parentId": "__FLD_122__", + "_id": "__REQ_2499__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-column", @@ -5564,8 +5564,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_814__", + "parentId": "__FLD_124__", + "_id": "__REQ_2500__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -5580,8 +5580,8 @@ "parameters": [] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_815__", + "parentId": "__FLD_125__", + "_id": "__REQ_2501__", "_type": "request", "name": "Delete a reaction (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-reaction-legacy", @@ -5601,8 +5601,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_816__", + "parentId": "__FLD_126__", + "_id": "__REQ_2502__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#get-a-repository", @@ -5622,8 +5622,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_817__", + "parentId": "__FLD_126__", + "_id": "__REQ_2503__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#update-a-repository", @@ -5643,8 +5643,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_818__", + "parentId": "__FLD_126__", + "_id": "__REQ_2504__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#delete-a-repository", @@ -5659,8 +5659,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_819__", + "parentId": "__FLD_105__", + "_id": "__REQ_2505__", "_type": "request", "name": "List artifacts for a repository", "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-artifacts-for-a-repository", @@ -5686,8 +5686,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_820__", + "parentId": "__FLD_105__", + "_id": "__REQ_2506__", "_type": "request", "name": "Get an artifact", "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-artifact", @@ -5702,8 +5702,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_821__", + "parentId": "__FLD_105__", + "_id": "__REQ_2507__", "_type": "request", "name": "Delete an artifact", "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-artifact", @@ -5718,8 +5718,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_822__", + "parentId": "__FLD_105__", + "_id": "__REQ_2508__", "_type": "request", "name": "Download an artifact", "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-an-artifact", @@ -5734,8 +5734,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_823__", + "parentId": "__FLD_105__", + "_id": "__REQ_2509__", "_type": "request", "name": "Get a job for a workflow run", "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-job-for-a-workflow-run", @@ -5750,8 +5750,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_824__", + "parentId": "__FLD_105__", + "_id": "__REQ_2510__", "_type": "request", "name": "Download job logs for a workflow run", "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-job-logs-for-a-workflow-run", @@ -5766,8 +5766,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_825__", + "parentId": "__FLD_105__", + "_id": "__REQ_2511__", "_type": "request", "name": "Get GitHub Actions permissions for a repository", "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-a-repository", @@ -5782,8 +5782,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_826__", + "parentId": "__FLD_105__", + "_id": "__REQ_2512__", "_type": "request", "name": "Set GitHub Actions permissions for a repository", "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-a-repository", @@ -5798,8 +5798,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_827__", + "parentId": "__FLD_105__", + "_id": "__REQ_2513__", "_type": "request", "name": "Get allowed actions for a repository", "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-a-repository", @@ -5814,8 +5814,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_828__", + "parentId": "__FLD_105__", + "_id": "__REQ_2514__", "_type": "request", "name": "Set allowed actions for a repository", "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-a-repository", @@ -5830,8 +5830,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_829__", + "parentId": "__FLD_105__", + "_id": "__REQ_2515__", "_type": "request", "name": "List self-hosted runners for a repository", "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-a-repository", @@ -5857,8 +5857,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_830__", + "parentId": "__FLD_105__", + "_id": "__REQ_2516__", "_type": "request", "name": "List runner applications for a repository", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-a-repository", @@ -5873,8 +5873,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_831__", + "parentId": "__FLD_105__", + "_id": "__REQ_2517__", "_type": "request", "name": "Create a registration token for a repository", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-a-repository", @@ -5889,8 +5889,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_832__", + "parentId": "__FLD_105__", + "_id": "__REQ_2518__", "_type": "request", "name": "Create a remove token for a repository", "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-a-repository", @@ -5905,8 +5905,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_833__", + "parentId": "__FLD_105__", + "_id": "__REQ_2519__", "_type": "request", "name": "Get a self-hosted runner for a repository", "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", @@ -5921,8 +5921,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_834__", + "parentId": "__FLD_105__", + "_id": "__REQ_2520__", "_type": "request", "name": "Delete a self-hosted runner from a repository", "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", @@ -5937,8 +5937,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_835__", + "parentId": "__FLD_105__", + "_id": "__REQ_2521__", "_type": "request", "name": "List workflow runs for a repository", "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs-for-a-repository", @@ -5980,8 +5980,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_836__", + "parentId": "__FLD_105__", + "_id": "__REQ_2522__", "_type": "request", "name": "Get a workflow run", "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow-run", @@ -5996,8 +5996,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_837__", + "parentId": "__FLD_105__", + "_id": "__REQ_2523__", "_type": "request", "name": "Delete a workflow run", "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-workflow-run", @@ -6012,8 +6012,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_838__", + "parentId": "__FLD_105__", + "_id": "__REQ_2524__", "_type": "request", "name": "List workflow run artifacts", "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-run-artifacts", @@ -6039,8 +6039,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_839__", + "parentId": "__FLD_105__", + "_id": "__REQ_2525__", "_type": "request", "name": "Cancel a workflow run", "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#cancel-a-workflow-run", @@ -6055,8 +6055,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_840__", + "parentId": "__FLD_105__", + "_id": "__REQ_2526__", "_type": "request", "name": "List jobs for a workflow run", "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-jobs-for-a-workflow-run", @@ -6087,8 +6087,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_841__", + "parentId": "__FLD_105__", + "_id": "__REQ_2527__", "_type": "request", "name": "Download workflow run logs", "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-workflow-run-logs", @@ -6103,8 +6103,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_842__", + "parentId": "__FLD_105__", + "_id": "__REQ_2528__", "_type": "request", "name": "Delete workflow run logs", "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-workflow-run-logs", @@ -6119,8 +6119,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_843__", + "parentId": "__FLD_105__", + "_id": "__REQ_2529__", "_type": "request", "name": "Re-run a workflow", "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#re-run-a-workflow", @@ -6135,8 +6135,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_844__", + "parentId": "__FLD_105__", + "_id": "__REQ_2530__", "_type": "request", "name": "List repository secrets", "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-secrets", @@ -6162,8 +6162,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_845__", + "parentId": "__FLD_105__", + "_id": "__REQ_2531__", "_type": "request", "name": "Get a repository public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key", @@ -6178,8 +6178,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_846__", + "parentId": "__FLD_105__", + "_id": "__REQ_2532__", "_type": "request", "name": "Get a repository secret", "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-secret", @@ -6194,8 +6194,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_847__", + "parentId": "__FLD_105__", + "_id": "__REQ_2533__", "_type": "request", "name": "Create or update a repository secret", "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-a-repository-secret", @@ -6210,8 +6210,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_848__", + "parentId": "__FLD_105__", + "_id": "__REQ_2534__", "_type": "request", "name": "Delete a repository secret", "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-repository-secret", @@ -6226,8 +6226,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_849__", + "parentId": "__FLD_105__", + "_id": "__REQ_2535__", "_type": "request", "name": "List repository workflows", "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-workflows", @@ -6253,8 +6253,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_850__", + "parentId": "__FLD_105__", + "_id": "__REQ_2536__", "_type": "request", "name": "Get a workflow", "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow", @@ -6269,8 +6269,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_851__", + "parentId": "__FLD_105__", + "_id": "__REQ_2537__", "_type": "request", "name": "Disable a workflow", "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-workflow", @@ -6285,8 +6285,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_852__", + "parentId": "__FLD_105__", + "_id": "__REQ_2538__", "_type": "request", "name": "Create a workflow dispatch event", "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-workflow-dispatch-event", @@ -6301,8 +6301,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_853__", + "parentId": "__FLD_105__", + "_id": "__REQ_2539__", "_type": "request", "name": "Enable a workflow", "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-workflow", @@ -6317,8 +6317,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_854__", + "parentId": "__FLD_105__", + "_id": "__REQ_2540__", "_type": "request", "name": "List workflow runs", "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs", @@ -6360,8 +6360,8 @@ ] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_855__", + "parentId": "__FLD_116__", + "_id": "__REQ_2541__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-assignees", @@ -6387,8 +6387,8 @@ ] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_856__", + "parentId": "__FLD_116__", + "_id": "__REQ_2542__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -6403,8 +6403,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_857__", + "parentId": "__FLD_126__", + "_id": "__REQ_2543__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches", @@ -6434,8 +6434,8 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_858__", + "parentId": "__FLD_126__", + "_id": "__REQ_2544__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-branch", @@ -6450,8 +6450,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_859__", + "parentId": "__FLD_126__", + "_id": "__REQ_2545__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-branch-protection", @@ -6471,8 +6471,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_860__", + "parentId": "__FLD_126__", + "_id": "__REQ_2546__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-branch-protection", @@ -6492,8 +6492,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_861__", + "parentId": "__FLD_126__", + "_id": "__REQ_2547__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-branch-protection", @@ -6508,8 +6508,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_862__", + "parentId": "__FLD_126__", + "_id": "__REQ_2548__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-admin-branch-protection", @@ -6524,8 +6524,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_863__", + "parentId": "__FLD_126__", + "_id": "__REQ_2549__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-admin-branch-protection", @@ -6540,8 +6540,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_864__", + "parentId": "__FLD_126__", + "_id": "__REQ_2550__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-admin-branch-protection", @@ -6556,8 +6556,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_865__", + "parentId": "__FLD_126__", + "_id": "__REQ_2551__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-pull-request-review-protection", @@ -6577,8 +6577,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_866__", + "parentId": "__FLD_126__", + "_id": "__REQ_2552__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-pull-request-review-protection", @@ -6598,8 +6598,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_867__", + "parentId": "__FLD_126__", + "_id": "__REQ_2553__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-pull-request-review-protection", @@ -6614,8 +6614,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_868__", + "parentId": "__FLD_126__", + "_id": "__REQ_2554__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-commit-signature-protection", @@ -6635,8 +6635,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_869__", + "parentId": "__FLD_126__", + "_id": "__REQ_2555__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-commit-signature-protection", @@ -6656,8 +6656,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_870__", + "parentId": "__FLD_126__", + "_id": "__REQ_2556__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-commit-signature-protection", @@ -6677,8 +6677,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_871__", + "parentId": "__FLD_126__", + "_id": "__REQ_2557__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-status-checks-protection", @@ -6693,8 +6693,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_872__", + "parentId": "__FLD_126__", + "_id": "__REQ_2558__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-potection", @@ -6709,8 +6709,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_873__", + "parentId": "__FLD_126__", + "_id": "__REQ_2559__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-protection", @@ -6725,8 +6725,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_874__", + "parentId": "__FLD_126__", + "_id": "__REQ_2560__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-status-check-contexts", @@ -6741,8 +6741,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_875__", + "parentId": "__FLD_126__", + "_id": "__REQ_2561__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-status-check-contexts", @@ -6757,8 +6757,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_876__", + "parentId": "__FLD_126__", + "_id": "__REQ_2562__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-status-check-contexts", @@ -6773,8 +6773,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_877__", + "parentId": "__FLD_126__", + "_id": "__REQ_2563__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-contexts", @@ -6789,8 +6789,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_878__", + "parentId": "__FLD_126__", + "_id": "__REQ_2564__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-access-restrictions", @@ -6805,8 +6805,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_879__", + "parentId": "__FLD_126__", + "_id": "__REQ_2565__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-access-restrictions", @@ -6821,8 +6821,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_880__", + "parentId": "__FLD_126__", + "_id": "__REQ_2566__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -6837,8 +6837,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_881__", + "parentId": "__FLD_126__", + "_id": "__REQ_2567__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-app-access-restrictions", @@ -6853,8 +6853,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_882__", + "parentId": "__FLD_126__", + "_id": "__REQ_2568__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-app-access-restrictions", @@ -6869,8 +6869,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_883__", + "parentId": "__FLD_126__", + "_id": "__REQ_2569__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-app-access-restrictions", @@ -6885,8 +6885,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_884__", + "parentId": "__FLD_126__", + "_id": "__REQ_2570__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -6901,8 +6901,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_885__", + "parentId": "__FLD_126__", + "_id": "__REQ_2571__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-team-access-restrictions", @@ -6917,8 +6917,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_886__", + "parentId": "__FLD_126__", + "_id": "__REQ_2572__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-team-access-restrictions", @@ -6933,8 +6933,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_887__", + "parentId": "__FLD_126__", + "_id": "__REQ_2573__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-team-access-restrictions", @@ -6949,8 +6949,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_888__", + "parentId": "__FLD_126__", + "_id": "__REQ_2574__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -6965,8 +6965,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_889__", + "parentId": "__FLD_126__", + "_id": "__REQ_2575__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-user-access-restrictions", @@ -6981,8 +6981,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_890__", + "parentId": "__FLD_126__", + "_id": "__REQ_2576__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-user-access-restrictions", @@ -6997,8 +6997,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_891__", + "parentId": "__FLD_126__", + "_id": "__REQ_2577__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-user-access-restrictions", @@ -7013,8 +7013,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_892__", + "parentId": "__FLD_108__", + "_id": "__REQ_2578__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-run", @@ -7029,8 +7029,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_893__", + "parentId": "__FLD_108__", + "_id": "__REQ_2579__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-run", @@ -7045,8 +7045,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_894__", + "parentId": "__FLD_108__", + "_id": "__REQ_2580__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-a-check-run", @@ -7061,8 +7061,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_895__", + "parentId": "__FLD_108__", + "_id": "__REQ_2581__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-run-annotations", @@ -7088,8 +7088,8 @@ ] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_896__", + "parentId": "__FLD_108__", + "_id": "__REQ_2582__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite", @@ -7104,8 +7104,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_897__", + "parentId": "__FLD_108__", + "_id": "__REQ_2583__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -7120,8 +7120,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_898__", + "parentId": "__FLD_108__", + "_id": "__REQ_2584__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-suite", @@ -7136,8 +7136,8 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_899__", + "parentId": "__FLD_108__", + "_id": "__REQ_2585__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -7176,8 +7176,8 @@ ] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_900__", + "parentId": "__FLD_108__", + "_id": "__REQ_2586__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#rerequest-a-check-suite", @@ -7192,8 +7192,8 @@ "parameters": [] }, { - "parentId": "__FLD_30__", - "_id": "__REQ_901__", + "parentId": "__FLD_109__", + "_id": "__REQ_2587__", "_type": "request", "name": "List code scanning alerts for a repository", "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", @@ -7217,8 +7217,8 @@ ] }, { - "parentId": "__FLD_30__", - "_id": "__REQ_902__", + "parentId": "__FLD_109__", + "_id": "__REQ_2588__", "_type": "request", "name": "Get a code scanning alert", "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#get-a-code-scanning-alert", @@ -7233,11 +7233,6912 @@ "parameters": [] }, { - "parentId": "__FLD_30__", - "_id": "__REQ_903__", + "parentId": "__FLD_109__", + "_id": "__REQ_2589__", "_type": "request", "name": "Update a code scanning alert", "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#upload-a-code-scanning-alert", "headers": [], "authentication": { - "t \ No newline at end of file + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_109__", + "_id": "__REQ_2590__", + "_type": "request", + "name": "List recent code scanning analyses for a repository", + "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#list-recent-analyses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + }, + { + "name": "tool_name", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_109__", + "_id": "__REQ_2591__", + "_type": "request", + "name": "Upload a SARIF file", + "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#upload-a-sarif-analysis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2592__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2593__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2594__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2595__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2596__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2597__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2598__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2599__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2600__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2601__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2602__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2603__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2604__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2605__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2606__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2607__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2608__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2609__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2610__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2611__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2612__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2613__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2614__", + "_type": "request", + "name": "Get the code of conduct for a repository", + "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2615__", + "_type": "request", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2616__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.0/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2617__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2618__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2619__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2620__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2621__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2622__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2623__", + "_type": "request", + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2624__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2625__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2626__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2627__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2628__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2629__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2630__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2631__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2632__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2633__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2634__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2635__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2636__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2637__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2638__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2639__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2640__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2641__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2642__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.0/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2643__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2644__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2645__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2646__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2647__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2648__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2649__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2650__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2651__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2652__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2653__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2654__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2655__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2656__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2657__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2658__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2659__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2660__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2661__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2662__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2663__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2664__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2665__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2666__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2667__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2668__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2669__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2670__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2671__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2672__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2673__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2674__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2675__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2676__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2677__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2678__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2679__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2680__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2681__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2682__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2683__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2684__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2685__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2686__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2687__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2688__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2689__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2690__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2691__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2692__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2693__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2694__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2695__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2696__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2697__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2698__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2699__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2700__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2701__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2702__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2703__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2704__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2705__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2706__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2707__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2708__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2709__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2710__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2711__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2712__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2713__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2714__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2715__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2716__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2717__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2718__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2719__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2720__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2721__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2722__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2723__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2724__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2725__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2726__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2727__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2728__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2729__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2730__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2731__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2732__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2733__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2734__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2735__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2736__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2737__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2738__", + "_type": "request", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2739__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2740__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2741__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2742__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2743__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2744__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2745__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2746__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2747__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2748__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2749__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2750__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2751__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2752__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2753__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2754__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2755__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2756__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2757__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2758__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2759__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2760__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2761__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2762__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2763__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2764__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2765__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2766__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2767__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2768__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2769__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2770__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2771__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2772__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2773__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2774__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2775__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2776__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2777__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2778__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2779__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2780__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2781__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2782__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2783__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2784__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2785__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2786__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2787__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2788__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2789__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2790__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_127__", + "_id": "__REQ_2791__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2792__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2793__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2794__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2795__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2796__", + "_type": "request", + "name": "Get settings", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2797__", + "_type": "request", + "name": "Set settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2798__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2799__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2800__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2801__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2802__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2803__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2804__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2805__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2806__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2807__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2808__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2809__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2810__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2811__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2812__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2813__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2814__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2815__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2816__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2817__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2818__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_125__", + "_id": "__REQ_2819__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2820__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2821__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2822__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2823__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2824__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2825__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2826__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2827__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2828__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2829__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2830__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2831__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2832__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2833__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2834__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2835__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2836__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2837__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2838__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2839__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2840__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2841__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2842__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2843__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2844__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2845__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2846__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2847__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2848__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2849__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2850__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2851__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2852__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.0/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2853__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.0/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2854__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2855__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2856__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2857__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2858__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2859__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2860__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2861__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2862__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2863__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2864__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2865__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2866__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2867__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2868__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2869__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2870__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2871__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2872__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2873__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2874__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_128__", + "_id": "__REQ_2875__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2876__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2877__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.0/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2878__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2879__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2880__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2881__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2882__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2883__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_113__", + "_id": "__REQ_2884__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2885__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2886__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2887__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_129__", + "_id": "__REQ_2888__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2889__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2890__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2891__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2892__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2893__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2894__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2895__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2896__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2897__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2898__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2899__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2900__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/github.ae.json b/routes/github.ae.json index 1efe39a..e3309c7 100644 --- a/routes/github.ae.json +++ b/routes/github.ae.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T02:52:38.277Z", + "__export_date": "2021-02-18T17:02:26.943Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_75__", + "_id": "__FLD_49__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { @@ -75,140 +75,140 @@ } }, { - "parentId": "__FLD_75__", - "_id": "__FLD_76__", + "parentId": "__FLD_49__", + "_id": "__FLD_50__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_77__", + "parentId": "__FLD_49__", + "_id": "__FLD_51__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_78__", + "parentId": "__FLD_49__", + "_id": "__FLD_52__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_79__", + "parentId": "__FLD_49__", + "_id": "__FLD_53__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_80__", + "parentId": "__FLD_49__", + "_id": "__FLD_54__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_81__", + "parentId": "__FLD_49__", + "_id": "__FLD_55__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_82__", + "parentId": "__FLD_49__", + "_id": "__FLD_56__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_83__", + "parentId": "__FLD_49__", + "_id": "__FLD_57__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_84__", + "parentId": "__FLD_49__", + "_id": "__FLD_58__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_85__", + "parentId": "__FLD_49__", + "_id": "__FLD_59__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_86__", + "parentId": "__FLD_49__", + "_id": "__FLD_60__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_87__", + "parentId": "__FLD_49__", + "_id": "__FLD_61__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_88__", + "parentId": "__FLD_49__", + "_id": "__FLD_62__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_89__", + "parentId": "__FLD_49__", + "_id": "__FLD_63__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_90__", + "parentId": "__FLD_49__", + "_id": "__FLD_64__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_91__", + "parentId": "__FLD_49__", + "_id": "__FLD_65__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_92__", + "parentId": "__FLD_49__", + "_id": "__FLD_66__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_93__", + "parentId": "__FLD_49__", + "_id": "__FLD_67__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_94__", + "parentId": "__FLD_49__", + "_id": "__FLD_68__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_95__", + "parentId": "__FLD_49__", + "_id": "__FLD_69__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_96__", + "parentId": "__FLD_49__", + "_id": "__FLD_70__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_97__", + "parentId": "__FLD_49__", + "_id": "__FLD_71__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1723__", + "parentId": "__FLD_62__", + "_id": "__REQ_1010__", "_type": "request", "name": "GitHub API Root", "description": "", @@ -223,8 +223,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1724__", + "parentId": "__FLD_55__", + "_id": "__REQ_1011__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-global-webhooks", @@ -255,8 +255,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1725__", + "parentId": "__FLD_55__", + "_id": "__REQ_1012__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-global-webhook", @@ -276,8 +276,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1726__", + "parentId": "__FLD_55__", + "_id": "__REQ_1013__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-global-webhook", @@ -297,8 +297,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1727__", + "parentId": "__FLD_55__", + "_id": "__REQ_1014__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-global-webhook", @@ -318,8 +318,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1728__", + "parentId": "__FLD_55__", + "_id": "__REQ_1015__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -339,8 +339,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1729__", + "parentId": "__FLD_55__", + "_id": "__REQ_1016__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -360,8 +360,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1730__", + "parentId": "__FLD_55__", + "_id": "__REQ_1017__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-public-keys", @@ -387,8 +387,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1731__", + "parentId": "__FLD_55__", + "_id": "__REQ_1018__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-public-key", @@ -403,8 +403,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1732__", + "parentId": "__FLD_55__", + "_id": "__REQ_1019__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-organization", @@ -419,8 +419,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1733__", + "parentId": "__FLD_55__", + "_id": "__REQ_1020__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-organization-name", @@ -435,8 +435,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1734__", + "parentId": "__FLD_55__", + "_id": "__REQ_1021__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -467,8 +467,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1735__", + "parentId": "__FLD_55__", + "_id": "__REQ_1022__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -488,8 +488,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1736__", + "parentId": "__FLD_55__", + "_id": "__REQ_1023__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -509,8 +509,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1737__", + "parentId": "__FLD_55__", + "_id": "__REQ_1024__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -530,8 +530,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1738__", + "parentId": "__FLD_55__", + "_id": "__REQ_1025__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -551,8 +551,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1739__", + "parentId": "__FLD_55__", + "_id": "__REQ_1026__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -572,8 +572,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1740__", + "parentId": "__FLD_55__", + "_id": "__REQ_1027__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -593,8 +593,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1741__", + "parentId": "__FLD_55__", + "_id": "__REQ_1028__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -620,8 +620,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1742__", + "parentId": "__FLD_55__", + "_id": "__REQ_1029__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -636,8 +636,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1743__", + "parentId": "__FLD_55__", + "_id": "__REQ_1030__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-user", @@ -652,8 +652,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1744__", + "parentId": "__FLD_55__", + "_id": "__REQ_1031__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -668,8 +668,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1745__", + "parentId": "__FLD_55__", + "_id": "__REQ_1032__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -684,8 +684,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1746__", + "parentId": "__FLD_51__", + "_id": "__REQ_1033__", "_type": "request", "name": "Get the authenticated app", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-the-authenticated-app", @@ -700,8 +700,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1747__", + "parentId": "__FLD_51__", + "_id": "__REQ_1034__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/github-ae@latest/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-a-github-app-from-a-manifest", @@ -716,8 +716,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1748__", + "parentId": "__FLD_51__", + "_id": "__REQ_1035__", "_type": "request", "name": "Get a webhook configuration for an app", "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#get-a-webhook-configuration-for-an-app", @@ -732,8 +732,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1749__", + "parentId": "__FLD_51__", + "_id": "__REQ_1036__", "_type": "request", "name": "Update a webhook configuration for an app", "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#update-a-webhook-configuration-for-an-app", @@ -748,8 +748,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1750__", + "parentId": "__FLD_51__", + "_id": "__REQ_1037__", "_type": "request", "name": "List installations for the authenticated app", "description": "You must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#list-installations-for-the-authenticated-app", @@ -783,8 +783,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1751__", + "parentId": "__FLD_51__", + "_id": "__REQ_1038__", "_type": "request", "name": "Get an installation for the authenticated app", "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-installation-for-the-authenticated-app", @@ -799,8 +799,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1752__", + "parentId": "__FLD_51__", + "_id": "__REQ_1039__", "_type": "request", "name": "Delete an installation for the authenticated app", "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/github-ae@latest/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#delete-an-installation-for-the-authenticated-app", @@ -815,8 +815,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1753__", + "parentId": "__FLD_51__", + "_id": "__REQ_1040__", "_type": "request", "name": "Create an installation access token for an app", "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-an-installation-access-token-for-an-app", @@ -831,8 +831,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1754__", + "parentId": "__FLD_51__", + "_id": "__REQ_1041__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-authorization", @@ -847,8 +847,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1755__", + "parentId": "__FLD_51__", + "_id": "__REQ_1042__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub AE](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-a-grant-for-an-application", @@ -863,8 +863,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1756__", + "parentId": "__FLD_51__", + "_id": "__REQ_1043__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-a-token", @@ -879,8 +879,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1757__", + "parentId": "__FLD_51__", + "_id": "__REQ_1044__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-a-token", @@ -895,8 +895,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1758__", + "parentId": "__FLD_51__", + "_id": "__REQ_1045__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-token", @@ -911,8 +911,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1759__", + "parentId": "__FLD_51__", + "_id": "__REQ_1046__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-an-authorization", @@ -927,8 +927,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1760__", + "parentId": "__FLD_51__", + "_id": "__REQ_1047__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-an-authorization", @@ -943,8 +943,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1761__", + "parentId": "__FLD_51__", + "_id": "__REQ_1048__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -959,8 +959,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1762__", + "parentId": "__FLD_51__", + "_id": "__REQ_1049__", "_type": "request", "name": "Get an app", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-app", @@ -975,8 +975,8 @@ "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1763__", + "parentId": "__FLD_53__", + "_id": "__REQ_1050__", "_type": "request", "name": "Get all codes of conduct", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-all-codes-of-conduct", @@ -996,8 +996,8 @@ "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1764__", + "parentId": "__FLD_53__", + "_id": "__REQ_1051__", "_type": "request", "name": "Get a code of conduct", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-a-code-of-conduct", @@ -1017,8 +1017,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1765__", + "parentId": "__FLD_51__", + "_id": "__REQ_1052__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/github-ae@latest/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#create-a-content-attachment", @@ -1038,8 +1038,8 @@ "parameters": [] }, { - "parentId": "__FLD_80__", - "_id": "__REQ_1766__", + "parentId": "__FLD_54__", + "_id": "__REQ_1053__", "_type": "request", "name": "Get emojis", "description": "Lists all the emojis available to use on GitHub AE.\n\nhttps://docs.github.com/github-ae@latest/v3/emojis/#get-emojis", @@ -1054,8 +1054,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1767__", + "parentId": "__FLD_55__", + "_id": "__REQ_1054__", "_type": "request", "name": "Get the global announcement banner", "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#get-the-current-announcement", @@ -1070,8 +1070,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1768__", + "parentId": "__FLD_55__", + "_id": "__REQ_1055__", "_type": "request", "name": "Set the global announcement banner", "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#set-the-current-announcement", @@ -1086,8 +1086,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1769__", + "parentId": "__FLD_55__", + "_id": "__REQ_1056__", "_type": "request", "name": "Remove the global announcement banner", "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#clear-the-current-announcement", @@ -1102,8 +1102,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1770__", + "parentId": "__FLD_55__", + "_id": "__REQ_1057__", "_type": "request", "name": "Get an encryption key", "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nGets information about the current key used for encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/#encryption-at-rest#get-encryption-key", @@ -1118,8 +1118,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1771__", + "parentId": "__FLD_55__", + "_id": "__REQ_1058__", "_type": "request", "name": "Update an encryption key", "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nUpdates the current encryption at rest key with a new private key.\n\nYou can add a new encryption key as often as you need. When you add a new key, the old key is discarded.\n\nYour enterprise won't experience downtime when you update the key, because the key vault that GitHub manages uses the \"envelope\" technique. For more information, see [Encryption and decryption via the envelope technique](https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side-encryption#encryption-and-decryption-via-the-envelope-technique) in the Azure documentation.\n\nYour 2048 bit RSA private key should be in PEM format. For more information, see \"[Configuring data encryption for your enterprise](/admin/configuration/configuring-data-encryption-for-your-enterprise#adding-or-updating-an-encryption-key).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#update-encryption-key", @@ -1134,8 +1134,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1772__", + "parentId": "__FLD_55__", + "_id": "__REQ_1059__", "_type": "request", "name": "Disable encryption at rest", "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nMarks your encryption key as disabled and disables encryption at rest. This will freeze your enterprise. For example, you can use this operation to freeze your enterprise in case of a breach. Note: This operation does not delete the key permanently.\n\nIt takes approximately ten minutes to disable encryption at rest. To check the status, use the \"[Get an encryption status](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-an-encryption-status)\" REST API.\n\nTo unfreeze your enterprise after you've disabled encryption at rest, you must contact Support. For more information, see \"[Receiving enterprise support](/admin/enterprise-support/receiving-help-from-github-support).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#delete-encryption-key", @@ -1150,8 +1150,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1773__", + "parentId": "__FLD_55__", + "_id": "__REQ_1060__", "_type": "request", "name": "Get an encryption status", "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nChecks the status of updating an encryption key or disabling encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-#get-encryption-status", @@ -1166,8 +1166,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1774__", + "parentId": "__FLD_55__", + "_id": "__REQ_1061__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-license-information", @@ -1182,8 +1182,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1775__", + "parentId": "__FLD_55__", + "_id": "__REQ_1062__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-statistics", @@ -1198,8 +1198,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1776__", + "parentId": "__FLD_50__", + "_id": "__REQ_1063__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events", @@ -1225,8 +1225,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1777__", + "parentId": "__FLD_50__", + "_id": "__REQ_1064__", "_type": "request", "name": "Get feeds", "description": "GitHub AE provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub AE global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub AE.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-feeds", @@ -1241,8 +1241,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1778__", + "parentId": "__FLD_56__", + "_id": "__REQ_1065__", "_type": "request", "name": "List gists for the authenticated user", "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-the-authenticated-user", @@ -1272,8 +1272,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1779__", + "parentId": "__FLD_56__", + "_id": "__REQ_1066__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#create-a-gist", @@ -1288,8 +1288,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1780__", + "parentId": "__FLD_56__", + "_id": "__REQ_1067__", "_type": "request", "name": "List public gists", "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-public-gists", @@ -1319,8 +1319,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1781__", + "parentId": "__FLD_56__", + "_id": "__REQ_1068__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-starred-gists", @@ -1350,8 +1350,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1782__", + "parentId": "__FLD_56__", + "_id": "__REQ_1069__", "_type": "request", "name": "Get a gist", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist", @@ -1366,8 +1366,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1783__", + "parentId": "__FLD_56__", + "_id": "__REQ_1070__", "_type": "request", "name": "Update a gist", "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#update-a-gist", @@ -1382,8 +1382,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1784__", + "parentId": "__FLD_56__", + "_id": "__REQ_1071__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#delete-a-gist", @@ -1398,8 +1398,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1785__", + "parentId": "__FLD_56__", + "_id": "__REQ_1072__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-comments", @@ -1425,8 +1425,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1786__", + "parentId": "__FLD_56__", + "_id": "__REQ_1073__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#create-a-gist-comment", @@ -1441,8 +1441,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1787__", + "parentId": "__FLD_56__", + "_id": "__REQ_1074__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist-comment", @@ -1457,8 +1457,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1788__", + "parentId": "__FLD_56__", + "_id": "__REQ_1075__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#update-a-gist-comment", @@ -1473,8 +1473,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1789__", + "parentId": "__FLD_56__", + "_id": "__REQ_1076__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#delete-a-gist-comment", @@ -1489,8 +1489,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1790__", + "parentId": "__FLD_56__", + "_id": "__REQ_1077__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-commits", @@ -1516,8 +1516,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1791__", + "parentId": "__FLD_56__", + "_id": "__REQ_1078__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-forks", @@ -1543,8 +1543,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1792__", + "parentId": "__FLD_56__", + "_id": "__REQ_1079__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#fork-a-gist", @@ -1559,8 +1559,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1793__", + "parentId": "__FLD_56__", + "_id": "__REQ_1080__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#check-if-a-gist-is-starred", @@ -1575,8 +1575,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1794__", + "parentId": "__FLD_56__", + "_id": "__REQ_1081__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#star-a-gist", @@ -1591,8 +1591,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1795__", + "parentId": "__FLD_56__", + "_id": "__REQ_1082__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#unstar-a-gist", @@ -1607,8 +1607,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1796__", + "parentId": "__FLD_56__", + "_id": "__REQ_1083__", "_type": "request", "name": "Get a gist revision", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist-revision", @@ -1623,8 +1623,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1797__", + "parentId": "__FLD_58__", + "_id": "__REQ_1084__", "_type": "request", "name": "Get all gitignore templates", "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-all-gitignore-templates", @@ -1639,8 +1639,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1798__", + "parentId": "__FLD_58__", + "_id": "__REQ_1085__", "_type": "request", "name": "Get a gitignore template", "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-a-gitignore-template", @@ -1655,8 +1655,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1799__", + "parentId": "__FLD_51__", + "_id": "__REQ_1086__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1687,8 +1687,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1800__", + "parentId": "__FLD_51__", + "_id": "__REQ_1087__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/github-ae@latest/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-installation-access-token", @@ -1703,8 +1703,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1801__", + "parentId": "__FLD_59__", + "_id": "__REQ_1088__", "_type": "request", "name": "List issues assigned to the authenticated user", "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-issues-assigned-to-the-authenticated-user", @@ -1779,8 +1779,8 @@ ] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1802__", + "parentId": "__FLD_60__", + "_id": "__REQ_1089__", "_type": "request", "name": "Get all commonly used licenses", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-all-commonly-used-licenses", @@ -1805,8 +1805,8 @@ ] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1803__", + "parentId": "__FLD_60__", + "_id": "__REQ_1090__", "_type": "request", "name": "Get a license", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-a-license", @@ -1821,8 +1821,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1804__", + "parentId": "__FLD_61__", + "_id": "__REQ_1091__", "_type": "request", "name": "Render a Markdown document", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document", @@ -1837,8 +1837,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1805__", + "parentId": "__FLD_61__", + "_id": "__REQ_1092__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -1853,8 +1853,8 @@ "parameters": [] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1806__", + "parentId": "__FLD_62__", + "_id": "__REQ_1093__", "_type": "request", "name": "Get GitHub AE meta information", "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/github-ae@latest/v3/meta/#get-github-meta-information", @@ -1869,8 +1869,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1807__", + "parentId": "__FLD_50__", + "_id": "__REQ_1094__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -1896,8 +1896,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1808__", + "parentId": "__FLD_50__", + "_id": "__REQ_1095__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -1941,8 +1941,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1809__", + "parentId": "__FLD_50__", + "_id": "__REQ_1096__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-notifications-as-read", @@ -1957,8 +1957,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1810__", + "parentId": "__FLD_50__", + "_id": "__REQ_1097__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread", @@ -1973,8 +1973,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1811__", + "parentId": "__FLD_50__", + "_id": "__REQ_1098__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-a-thread-as-read", @@ -1989,8 +1989,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1812__", + "parentId": "__FLD_50__", + "_id": "__REQ_1099__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2005,8 +2005,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1813__", + "parentId": "__FLD_50__", + "_id": "__REQ_1100__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription", @@ -2021,8 +2021,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1814__", + "parentId": "__FLD_50__", + "_id": "__REQ_1101__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription", @@ -2037,8 +2037,8 @@ "parameters": [] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1815__", + "parentId": "__FLD_62__", + "_id": "__REQ_1102__", "_type": "request", "name": "Get Octocat", "description": "", @@ -2058,8 +2058,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1816__", + "parentId": "__FLD_63__", + "_id": "__REQ_1103__", "_type": "request", "name": "List organizations", "description": "Lists all organizations, in the order that they were created on GitHub AE.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations", @@ -2084,8 +2084,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1817__", + "parentId": "__FLD_63__", + "_id": "__REQ_1104__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub AE plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub AE plan information' below.\"\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#get-an-organization", @@ -2105,8 +2105,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1818__", + "parentId": "__FLD_63__", + "_id": "__REQ_1105__", "_type": "request", "name": "Update an organization", "description": "**Parameter Deprecation Notice:** GitHub AE will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#update-an-organization", @@ -2126,8 +2126,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1819__", + "parentId": "__FLD_50__", + "_id": "__REQ_1106__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-organization-events", @@ -2153,8 +2153,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1820__", + "parentId": "__FLD_63__", + "_id": "__REQ_1107__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-webhooks", @@ -2180,8 +2180,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1821__", + "parentId": "__FLD_63__", + "_id": "__REQ_1108__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#create-an-organization-webhook", @@ -2196,8 +2196,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1822__", + "parentId": "__FLD_63__", + "_id": "__REQ_1109__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-webhook", @@ -2212,8 +2212,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1823__", + "parentId": "__FLD_63__", + "_id": "__REQ_1110__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-webhook", @@ -2228,8 +2228,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1824__", + "parentId": "__FLD_63__", + "_id": "__REQ_1111__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#delete-an-organization-webhook", @@ -2244,8 +2244,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1825__", + "parentId": "__FLD_63__", + "_id": "__REQ_1112__", "_type": "request", "name": "Get a webhook configuration for an organization", "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#get-a-webhook-configuration-for-an-organization", @@ -2260,8 +2260,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1826__", + "parentId": "__FLD_63__", + "_id": "__REQ_1113__", "_type": "request", "name": "Update a webhook configuration for an organization", "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#update-a-webhook-configuration-for-an-organization", @@ -2276,8 +2276,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1827__", + "parentId": "__FLD_63__", + "_id": "__REQ_1114__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#ping-an-organization-webhook", @@ -2292,8 +2292,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1828__", + "parentId": "__FLD_51__", + "_id": "__REQ_1115__", "_type": "request", "name": "Get an organization installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-organization-installation-for-the-authenticated-app", @@ -2308,8 +2308,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1829__", + "parentId": "__FLD_63__", + "_id": "__REQ_1116__", "_type": "request", "name": "List app installations for an organization", "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-app-installations-for-an-organization", @@ -2335,8 +2335,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1830__", + "parentId": "__FLD_59__", + "_id": "__REQ_1117__", "_type": "request", "name": "List organization issues assigned to the authenticated user", "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", @@ -2395,8 +2395,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1831__", + "parentId": "__FLD_63__", + "_id": "__REQ_1118__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-members", @@ -2432,8 +2432,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1832__", + "parentId": "__FLD_63__", + "_id": "__REQ_1119__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2448,8 +2448,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1833__", + "parentId": "__FLD_63__", + "_id": "__REQ_1120__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-an-organization-member", @@ -2464,8 +2464,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1834__", + "parentId": "__FLD_63__", + "_id": "__REQ_1121__", "_type": "request", "name": "Get organization membership for a user", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user", @@ -2480,8 +2480,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1835__", + "parentId": "__FLD_63__", + "_id": "__REQ_1122__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2496,8 +2496,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1836__", + "parentId": "__FLD_63__", + "_id": "__REQ_1123__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2512,8 +2512,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1837__", + "parentId": "__FLD_63__", + "_id": "__REQ_1124__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2544,8 +2544,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1838__", + "parentId": "__FLD_63__", + "_id": "__REQ_1125__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2560,8 +2560,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1839__", + "parentId": "__FLD_63__", + "_id": "__REQ_1126__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2576,8 +2576,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1840__", + "parentId": "__FLD_64__", + "_id": "__REQ_1127__", "_type": "request", "name": "List organization projects", "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-organization-projects", @@ -2613,8 +2613,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1841__", + "parentId": "__FLD_64__", + "_id": "__REQ_1128__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-an-organization-project", @@ -2634,8 +2634,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1842__", + "parentId": "__FLD_63__", + "_id": "__REQ_1129__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-public-organization-members", @@ -2661,8 +2661,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1843__", + "parentId": "__FLD_63__", + "_id": "__REQ_1130__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -2677,8 +2677,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1844__", + "parentId": "__FLD_63__", + "_id": "__REQ_1131__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -2693,8 +2693,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1845__", + "parentId": "__FLD_63__", + "_id": "__REQ_1132__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -2709,8 +2709,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1846__", + "parentId": "__FLD_68__", + "_id": "__REQ_1133__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-organization-repositories", @@ -2754,8 +2754,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1847__", + "parentId": "__FLD_68__", + "_id": "__REQ_1134__", "_type": "request", "name": "Create an organization repository", "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-an-organization-repository", @@ -2775,8 +2775,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1848__", + "parentId": "__FLD_70__", + "_id": "__REQ_1135__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams", @@ -2802,8 +2802,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1849__", + "parentId": "__FLD_70__", + "_id": "__REQ_1136__", "_type": "request", "name": "Create a team", "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#create-a-team", @@ -2818,8 +2818,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1850__", + "parentId": "__FLD_70__", + "_id": "__REQ_1137__", "_type": "request", "name": "Get a team by name", "description": "Gets a team using the team's `slug`. GitHub AE generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-by-name", @@ -2834,8 +2834,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1851__", + "parentId": "__FLD_70__", + "_id": "__REQ_1138__", "_type": "request", "name": "Update a team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team", @@ -2850,8 +2850,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1852__", + "parentId": "__FLD_70__", + "_id": "__REQ_1139__", "_type": "request", "name": "Delete a team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team", @@ -2866,8 +2866,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1853__", + "parentId": "__FLD_70__", + "_id": "__REQ_1140__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions", @@ -2903,8 +2903,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1854__", + "parentId": "__FLD_70__", + "_id": "__REQ_1141__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion", @@ -2924,8 +2924,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1855__", + "parentId": "__FLD_70__", + "_id": "__REQ_1142__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion", @@ -2945,8 +2945,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1856__", + "parentId": "__FLD_70__", + "_id": "__REQ_1143__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion", @@ -2966,8 +2966,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1857__", + "parentId": "__FLD_70__", + "_id": "__REQ_1144__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion", @@ -2982,8 +2982,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1858__", + "parentId": "__FLD_70__", + "_id": "__REQ_1145__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments", @@ -3019,8 +3019,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1859__", + "parentId": "__FLD_70__", + "_id": "__REQ_1146__", "_type": "request", "name": "Create a discussion comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment", @@ -3040,8 +3040,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1860__", + "parentId": "__FLD_70__", + "_id": "__REQ_1147__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment", @@ -3061,8 +3061,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1861__", + "parentId": "__FLD_70__", + "_id": "__REQ_1148__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment", @@ -3082,8 +3082,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1862__", + "parentId": "__FLD_70__", + "_id": "__REQ_1149__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment", @@ -3098,8 +3098,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1863__", + "parentId": "__FLD_67__", + "_id": "__REQ_1150__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -3134,8 +3134,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1864__", + "parentId": "__FLD_67__", + "_id": "__REQ_1151__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -3155,8 +3155,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1865__", + "parentId": "__FLD_67__", + "_id": "__REQ_1152__", "_type": "request", "name": "Delete team discussion comment reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-comment-reaction", @@ -3176,8 +3176,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1866__", + "parentId": "__FLD_67__", + "_id": "__REQ_1153__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion", @@ -3212,8 +3212,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1867__", + "parentId": "__FLD_67__", + "_id": "__REQ_1154__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion", @@ -3233,8 +3233,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1868__", + "parentId": "__FLD_67__", + "_id": "__REQ_1155__", "_type": "request", "name": "Delete team discussion reaction", "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-reaction", @@ -3254,8 +3254,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1869__", + "parentId": "__FLD_70__", + "_id": "__REQ_1156__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members", @@ -3286,8 +3286,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1870__", + "parentId": "__FLD_70__", + "_id": "__REQ_1157__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user", @@ -3302,8 +3302,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1871__", + "parentId": "__FLD_70__", + "_id": "__REQ_1158__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -3318,8 +3318,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1872__", + "parentId": "__FLD_70__", + "_id": "__REQ_1159__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user", @@ -3334,8 +3334,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1873__", + "parentId": "__FLD_70__", + "_id": "__REQ_1160__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects", @@ -3366,8 +3366,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1874__", + "parentId": "__FLD_70__", + "_id": "__REQ_1161__", "_type": "request", "name": "Check team permissions for a project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project", @@ -3387,8 +3387,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1875__", + "parentId": "__FLD_70__", + "_id": "__REQ_1162__", "_type": "request", "name": "Add or update team project permissions", "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions", @@ -3408,8 +3408,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1876__", + "parentId": "__FLD_70__", + "_id": "__REQ_1163__", "_type": "request", "name": "Remove a project from a team", "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team", @@ -3424,8 +3424,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1877__", + "parentId": "__FLD_70__", + "_id": "__REQ_1164__", "_type": "request", "name": "List team repositories", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories", @@ -3451,8 +3451,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1878__", + "parentId": "__FLD_70__", + "_id": "__REQ_1165__", "_type": "request", "name": "Check team permissions for a repository", "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository", @@ -3467,8 +3467,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1879__", + "parentId": "__FLD_70__", + "_id": "__REQ_1166__", "_type": "request", "name": "Add or update team repository permissions", "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions", @@ -3483,8 +3483,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1880__", + "parentId": "__FLD_70__", + "_id": "__REQ_1167__", "_type": "request", "name": "Remove a repository from a team", "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team", @@ -3499,8 +3499,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1881__", + "parentId": "__FLD_70__", + "_id": "__REQ_1168__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams", @@ -3526,8 +3526,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1882__", + "parentId": "__FLD_64__", + "_id": "__REQ_1169__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-card", @@ -3547,8 +3547,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1883__", + "parentId": "__FLD_64__", + "_id": "__REQ_1170__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-card", @@ -3568,8 +3568,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1884__", + "parentId": "__FLD_64__", + "_id": "__REQ_1171__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-card", @@ -3589,8 +3589,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1885__", + "parentId": "__FLD_64__", + "_id": "__REQ_1172__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-card", @@ -3610,8 +3610,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1886__", + "parentId": "__FLD_64__", + "_id": "__REQ_1173__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-column", @@ -3631,8 +3631,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1887__", + "parentId": "__FLD_64__", + "_id": "__REQ_1174__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-column", @@ -3652,8 +3652,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1888__", + "parentId": "__FLD_64__", + "_id": "__REQ_1175__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-column", @@ -3673,8 +3673,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1889__", + "parentId": "__FLD_64__", + "_id": "__REQ_1176__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-cards", @@ -3710,8 +3710,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1890__", + "parentId": "__FLD_64__", + "_id": "__REQ_1177__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-card", @@ -3731,8 +3731,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1891__", + "parentId": "__FLD_64__", + "_id": "__REQ_1178__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-column", @@ -3752,8 +3752,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1892__", + "parentId": "__FLD_64__", + "_id": "__REQ_1179__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#get-a-project", @@ -3773,8 +3773,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1893__", + "parentId": "__FLD_64__", + "_id": "__REQ_1180__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#update-a-project", @@ -3794,8 +3794,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1894__", + "parentId": "__FLD_64__", + "_id": "__REQ_1181__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#delete-a-project", @@ -3815,8 +3815,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1895__", + "parentId": "__FLD_64__", + "_id": "__REQ_1182__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-collaborators", @@ -3852,8 +3852,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1896__", + "parentId": "__FLD_64__", + "_id": "__REQ_1183__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#add-project-collaborator", @@ -3873,8 +3873,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1897__", + "parentId": "__FLD_64__", + "_id": "__REQ_1184__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#remove-project-collaborator", @@ -3894,8 +3894,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1898__", + "parentId": "__FLD_64__", + "_id": "__REQ_1185__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-project-permission-for-a-user", @@ -3915,8 +3915,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1899__", + "parentId": "__FLD_64__", + "_id": "__REQ_1186__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-columns", @@ -3947,8 +3947,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1900__", + "parentId": "__FLD_64__", + "_id": "__REQ_1187__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-column", @@ -3968,8 +3968,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1901__", + "parentId": "__FLD_66__", + "_id": "__REQ_1188__", "_type": "request", "name": "Get rate limit status for the authenticated user", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/github-ae@latest/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", @@ -3984,8 +3984,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1902__", + "parentId": "__FLD_67__", + "_id": "__REQ_1189__", "_type": "request", "name": "Delete a reaction (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-reaction-legacy", @@ -4005,8 +4005,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1903__", + "parentId": "__FLD_68__", + "_id": "__REQ_1190__", "_type": "request", "name": "Get a repository", "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-a-repository", @@ -4026,8 +4026,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1904__", + "parentId": "__FLD_68__", + "_id": "__REQ_1191__", "_type": "request", "name": "Update a repository", "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#update-a-repository", @@ -4047,8 +4047,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1905__", + "parentId": "__FLD_68__", + "_id": "__REQ_1192__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#delete-a-repository", @@ -4063,8 +4063,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1906__", + "parentId": "__FLD_59__", + "_id": "__REQ_1193__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-assignees", @@ -4090,8 +4090,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1907__", + "parentId": "__FLD_59__", + "_id": "__REQ_1194__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -4106,8 +4106,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1908__", + "parentId": "__FLD_68__", + "_id": "__REQ_1195__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches", @@ -4137,8 +4137,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1909__", + "parentId": "__FLD_68__", + "_id": "__REQ_1196__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-branch", @@ -4153,8 +4153,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1910__", + "parentId": "__FLD_68__", + "_id": "__REQ_1197__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-branch-protection", @@ -4174,8 +4174,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1911__", + "parentId": "__FLD_68__", + "_id": "__REQ_1198__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-branch-protection", @@ -4195,8 +4195,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1912__", + "parentId": "__FLD_68__", + "_id": "__REQ_1199__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-branch-protection", @@ -4211,8 +4211,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1913__", + "parentId": "__FLD_68__", + "_id": "__REQ_1200__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-admin-branch-protection", @@ -4227,8 +4227,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1914__", + "parentId": "__FLD_68__", + "_id": "__REQ_1201__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-admin-branch-protection", @@ -4243,8 +4243,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1915__", + "parentId": "__FLD_68__", + "_id": "__REQ_1202__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-admin-branch-protection", @@ -4259,8 +4259,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1916__", + "parentId": "__FLD_68__", + "_id": "__REQ_1203__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-pull-request-review-protection", @@ -4280,8 +4280,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1917__", + "parentId": "__FLD_68__", + "_id": "__REQ_1204__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-pull-request-review-protection", @@ -4301,8 +4301,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1918__", + "parentId": "__FLD_68__", + "_id": "__REQ_1205__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-pull-request-review-protection", @@ -4317,8 +4317,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1919__", + "parentId": "__FLD_68__", + "_id": "__REQ_1206__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-commit-signature-protection", @@ -4338,8 +4338,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1920__", + "parentId": "__FLD_68__", + "_id": "__REQ_1207__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-commit-signature-protection", @@ -4359,8 +4359,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1921__", + "parentId": "__FLD_68__", + "_id": "__REQ_1208__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-commit-signature-protection", @@ -4380,8 +4380,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1922__", + "parentId": "__FLD_68__", + "_id": "__REQ_1209__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-status-checks-protection", @@ -4396,8 +4396,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1923__", + "parentId": "__FLD_68__", + "_id": "__REQ_1210__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-potection", @@ -4412,8 +4412,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1924__", + "parentId": "__FLD_68__", + "_id": "__REQ_1211__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-protection", @@ -4428,8 +4428,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1925__", + "parentId": "__FLD_68__", + "_id": "__REQ_1212__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-status-check-contexts", @@ -4444,8 +4444,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1926__", + "parentId": "__FLD_68__", + "_id": "__REQ_1213__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-status-check-contexts", @@ -4460,8 +4460,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1927__", + "parentId": "__FLD_68__", + "_id": "__REQ_1214__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-status-check-contexts", @@ -4476,8 +4476,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1928__", + "parentId": "__FLD_68__", + "_id": "__REQ_1215__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-contexts", @@ -4492,8 +4492,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1929__", + "parentId": "__FLD_68__", + "_id": "__REQ_1216__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-access-restrictions", @@ -4508,8 +4508,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1930__", + "parentId": "__FLD_68__", + "_id": "__REQ_1217__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-access-restrictions", @@ -4524,8 +4524,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1931__", + "parentId": "__FLD_68__", + "_id": "__REQ_1218__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4540,8 +4540,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1932__", + "parentId": "__FLD_68__", + "_id": "__REQ_1219__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-app-access-restrictions", @@ -4556,8 +4556,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1933__", + "parentId": "__FLD_68__", + "_id": "__REQ_1220__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-app-access-restrictions", @@ -4572,8 +4572,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1934__", + "parentId": "__FLD_68__", + "_id": "__REQ_1221__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-app-access-restrictions", @@ -4588,8 +4588,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1935__", + "parentId": "__FLD_68__", + "_id": "__REQ_1222__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4604,8 +4604,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1936__", + "parentId": "__FLD_68__", + "_id": "__REQ_1223__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-team-access-restrictions", @@ -4620,8 +4620,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1937__", + "parentId": "__FLD_68__", + "_id": "__REQ_1224__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-team-access-restrictions", @@ -4636,8 +4636,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1938__", + "parentId": "__FLD_68__", + "_id": "__REQ_1225__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-team-access-restrictions", @@ -4652,8 +4652,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1939__", + "parentId": "__FLD_68__", + "_id": "__REQ_1226__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4668,8 +4668,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1940__", + "parentId": "__FLD_68__", + "_id": "__REQ_1227__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-user-access-restrictions", @@ -4684,8 +4684,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1941__", + "parentId": "__FLD_68__", + "_id": "__REQ_1228__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-user-access-restrictions", @@ -4700,8 +4700,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1942__", + "parentId": "__FLD_68__", + "_id": "__REQ_1229__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-user-access-restrictions", @@ -4716,8 +4716,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1943__", + "parentId": "__FLD_68__", + "_id": "__REQ_1230__", "_type": "request", "name": "Rename a branch", "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github-ae@latest/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#rename-a-branch", @@ -4732,8 +4732,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1944__", + "parentId": "__FLD_52__", + "_id": "__REQ_1231__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-run", @@ -4748,8 +4748,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1945__", + "parentId": "__FLD_52__", + "_id": "__REQ_1232__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-run", @@ -4764,8 +4764,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1946__", + "parentId": "__FLD_52__", + "_id": "__REQ_1233__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-a-check-run", @@ -4780,8 +4780,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1947__", + "parentId": "__FLD_52__", + "_id": "__REQ_1234__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-run-annotations", @@ -4807,8 +4807,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1948__", + "parentId": "__FLD_52__", + "_id": "__REQ_1235__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/github-ae@latest/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite", @@ -4823,8 +4823,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1949__", + "parentId": "__FLD_52__", + "_id": "__REQ_1236__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4839,8 +4839,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1950__", + "parentId": "__FLD_52__", + "_id": "__REQ_1237__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-suite", @@ -4855,8 +4855,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1951__", + "parentId": "__FLD_52__", + "_id": "__REQ_1238__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4895,8 +4895,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1952__", + "parentId": "__FLD_52__", + "_id": "__REQ_1239__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#rerequest-a-check-suite", @@ -4911,8 +4911,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1953__", + "parentId": "__FLD_68__", + "_id": "__REQ_1240__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-collaborators", @@ -4943,8 +4943,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1954__", + "parentId": "__FLD_68__", + "_id": "__REQ_1241__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4959,8 +4959,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1955__", + "parentId": "__FLD_68__", + "_id": "__REQ_1242__", "_type": "request", "name": "Add a repository collaborator", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/github-ae@latest/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-a-repository-collaborator", @@ -4975,8 +4975,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1956__", + "parentId": "__FLD_68__", + "_id": "__REQ_1243__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-a-repository-collaborator", @@ -4991,8 +4991,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1957__", + "parentId": "__FLD_68__", + "_id": "__REQ_1244__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-permissions-for-a-user", @@ -5007,8 +5007,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1958__", + "parentId": "__FLD_68__", + "_id": "__REQ_1245__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/github-ae@latest/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments-for-a-repository", @@ -5039,8 +5039,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1959__", + "parentId": "__FLD_68__", + "_id": "__REQ_1246__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit-comment", @@ -5060,8 +5060,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1960__", + "parentId": "__FLD_68__", + "_id": "__REQ_1247__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-commit-comment", @@ -5076,8 +5076,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1961__", + "parentId": "__FLD_68__", + "_id": "__REQ_1248__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-commit-comment", @@ -5092,8 +5092,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1962__", + "parentId": "__FLD_67__", + "_id": "__REQ_1249__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-commit-comment", @@ -5128,8 +5128,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1963__", + "parentId": "__FLD_67__", + "_id": "__REQ_1250__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-commit-comment", @@ -5149,8 +5149,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1964__", + "parentId": "__FLD_67__", + "_id": "__REQ_1251__", "_type": "request", "name": "Delete a commit comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-commit-comment-reaction", @@ -5170,8 +5170,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1965__", + "parentId": "__FLD_68__", + "_id": "__REQ_1252__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commits", @@ -5217,8 +5217,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1966__", + "parentId": "__FLD_68__", + "_id": "__REQ_1253__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches-for-head-commit", @@ -5238,8 +5238,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1967__", + "parentId": "__FLD_68__", + "_id": "__REQ_1254__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments", @@ -5270,8 +5270,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1968__", + "parentId": "__FLD_68__", + "_id": "__REQ_1255__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-comment", @@ -5286,8 +5286,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1969__", + "parentId": "__FLD_68__", + "_id": "__REQ_1256__", "_type": "request", "name": "List pull requests associated with a commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-pull-requests-associated-with-a-commit", @@ -5318,8 +5318,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1970__", + "parentId": "__FLD_68__", + "_id": "__REQ_1257__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit", @@ -5334,8 +5334,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1971__", + "parentId": "__FLD_52__", + "_id": "__REQ_1258__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5374,8 +5374,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1972__", + "parentId": "__FLD_52__", + "_id": "__REQ_1259__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5409,8 +5409,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1973__", + "parentId": "__FLD_68__", + "_id": "__REQ_1260__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5425,8 +5425,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1974__", + "parentId": "__FLD_68__", + "_id": "__REQ_1261__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5452,8 +5452,8 @@ ] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1975__", + "parentId": "__FLD_53__", + "_id": "__REQ_1262__", "_type": "request", "name": "Get the code of conduct for a repository", "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", @@ -5473,8 +5473,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1976__", + "parentId": "__FLD_68__", + "_id": "__REQ_1263__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#compare-two-commits", @@ -5489,8 +5489,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1977__", + "parentId": "__FLD_68__", + "_id": "__REQ_1264__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/github-ae@latest/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content", @@ -5510,8 +5510,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1978__", + "parentId": "__FLD_68__", + "_id": "__REQ_1265__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-or-update-file-contents", @@ -5526,8 +5526,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1979__", + "parentId": "__FLD_68__", + "_id": "__REQ_1266__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-file", @@ -5542,8 +5542,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1980__", + "parentId": "__FLD_68__", + "_id": "__REQ_1267__", "_type": "request", "name": "List repository contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-contributors", @@ -5573,8 +5573,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1981__", + "parentId": "__FLD_68__", + "_id": "__REQ_1268__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployments", @@ -5625,8 +5625,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1982__", + "parentId": "__FLD_68__", + "_id": "__REQ_1269__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub AE we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/github-ae@latest/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment", @@ -5646,8 +5646,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1983__", + "parentId": "__FLD_68__", + "_id": "__REQ_1270__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment", @@ -5667,8 +5667,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1984__", + "parentId": "__FLD_68__", + "_id": "__REQ_1271__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/github-ae@latest/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deployment", @@ -5683,8 +5683,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1985__", + "parentId": "__FLD_68__", + "_id": "__REQ_1272__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployment-statuses", @@ -5715,8 +5715,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1986__", + "parentId": "__FLD_68__", + "_id": "__REQ_1273__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status", @@ -5736,8 +5736,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1987__", + "parentId": "__FLD_68__", + "_id": "__REQ_1274__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment-status", @@ -5757,8 +5757,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1988__", + "parentId": "__FLD_50__", + "_id": "__REQ_1275__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-events", @@ -5784,8 +5784,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1989__", + "parentId": "__FLD_68__", + "_id": "__REQ_1276__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-forks", @@ -5816,8 +5816,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1990__", + "parentId": "__FLD_68__", + "_id": "__REQ_1277__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub AE Support](https://support.github.com/contact) or [GitHub AE Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-fork", @@ -5832,8 +5832,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1991__", + "parentId": "__FLD_57__", + "_id": "__REQ_1278__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-blob", @@ -5848,8 +5848,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1992__", + "parentId": "__FLD_57__", + "_id": "__REQ_1279__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-blob", @@ -5864,8 +5864,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1993__", + "parentId": "__FLD_57__", + "_id": "__REQ_1280__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit", @@ -5880,8 +5880,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1994__", + "parentId": "__FLD_57__", + "_id": "__REQ_1281__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-commit", @@ -5896,8 +5896,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1995__", + "parentId": "__FLD_57__", + "_id": "__REQ_1282__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#list-matching-references", @@ -5923,8 +5923,8 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1996__", + "parentId": "__FLD_57__", + "_id": "__REQ_1283__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-reference", @@ -5939,8 +5939,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1997__", + "parentId": "__FLD_57__", + "_id": "__REQ_1284__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference", @@ -5955,8 +5955,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1998__", + "parentId": "__FLD_57__", + "_id": "__REQ_1285__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference", @@ -5971,8 +5971,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1999__", + "parentId": "__FLD_57__", + "_id": "__REQ_1286__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#delete-a-reference", @@ -5987,8 +5987,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_2000__", + "parentId": "__FLD_57__", + "_id": "__REQ_1287__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tag-object", @@ -6003,8 +6003,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_2001__", + "parentId": "__FLD_57__", + "_id": "__REQ_1288__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tag", @@ -6019,8 +6019,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_2002__", + "parentId": "__FLD_57__", + "_id": "__REQ_1289__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tree", @@ -6035,8 +6035,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_2003__", + "parentId": "__FLD_57__", + "_id": "__REQ_1290__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree", @@ -6056,8 +6056,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2004__", + "parentId": "__FLD_68__", + "_id": "__REQ_1291__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-webhooks", @@ -6083,8 +6083,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2005__", + "parentId": "__FLD_68__", + "_id": "__REQ_1292__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-webhook", @@ -6099,8 +6099,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2006__", + "parentId": "__FLD_68__", + "_id": "__REQ_1293__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-webhook", @@ -6115,8 +6115,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2007__", + "parentId": "__FLD_68__", + "_id": "__REQ_1294__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-webhook", @@ -6131,8 +6131,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2008__", + "parentId": "__FLD_68__", + "_id": "__REQ_1295__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-webhook", @@ -6147,8 +6147,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2009__", + "parentId": "__FLD_68__", + "_id": "__REQ_1296__", "_type": "request", "name": "Get a webhook configuration for a repository", "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#get-a-webhook-configuration-for-a-repository", @@ -6163,8 +6163,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2010__", + "parentId": "__FLD_68__", + "_id": "__REQ_1297__", "_type": "request", "name": "Update a webhook configuration for a repository", "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#update-a-webhook-configuration-for-a-repository", @@ -6179,8 +6179,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2011__", + "parentId": "__FLD_68__", + "_id": "__REQ_1298__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#ping-a-repository-webhook", @@ -6195,8 +6195,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2012__", + "parentId": "__FLD_68__", + "_id": "__REQ_1299__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#test-the-push-repository-webhook", @@ -6211,8 +6211,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2013__", + "parentId": "__FLD_51__", + "_id": "__REQ_1300__", "_type": "request", "name": "Get a repository installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-repository-installation-for-the-authenticated-app", @@ -6227,8 +6227,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2014__", + "parentId": "__FLD_68__", + "_id": "__REQ_1301__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations", @@ -6254,8 +6254,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2015__", + "parentId": "__FLD_68__", + "_id": "__REQ_1302__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-invitation", @@ -6270,8 +6270,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2016__", + "parentId": "__FLD_68__", + "_id": "__REQ_1303__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-invitation", @@ -6286,8 +6286,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2017__", + "parentId": "__FLD_59__", + "_id": "__REQ_1304__", "_type": "request", "name": "List repository issues", "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-repository-issues", @@ -6357,8 +6357,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2018__", + "parentId": "__FLD_59__", + "_id": "__REQ_1305__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#create-an-issue", @@ -6373,8 +6373,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2019__", + "parentId": "__FLD_59__", + "_id": "__REQ_1306__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments-for-a-repository", @@ -6418,8 +6418,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2020__", + "parentId": "__FLD_59__", + "_id": "__REQ_1307__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-comment", @@ -6439,8 +6439,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2021__", + "parentId": "__FLD_59__", + "_id": "__REQ_1308__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-an-issue-comment", @@ -6455,8 +6455,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2022__", + "parentId": "__FLD_59__", + "_id": "__REQ_1309__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-an-issue-comment", @@ -6471,8 +6471,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2023__", + "parentId": "__FLD_67__", + "_id": "__REQ_1310__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue-comment", @@ -6507,8 +6507,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2024__", + "parentId": "__FLD_67__", + "_id": "__REQ_1311__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue-comment", @@ -6528,8 +6528,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2025__", + "parentId": "__FLD_67__", + "_id": "__REQ_1312__", "_type": "request", "name": "Delete an issue comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-comment-reaction", @@ -6549,8 +6549,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2026__", + "parentId": "__FLD_59__", + "_id": "__REQ_1313__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events-for-a-repository", @@ -6581,8 +6581,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2027__", + "parentId": "__FLD_59__", + "_id": "__REQ_1314__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-event", @@ -6602,8 +6602,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2028__", + "parentId": "__FLD_59__", + "_id": "__REQ_1315__", "_type": "request", "name": "Get an issue", "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#get-an-issue", @@ -6623,8 +6623,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2029__", + "parentId": "__FLD_59__", + "_id": "__REQ_1316__", "_type": "request", "name": "Update an issue", "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#update-an-issue", @@ -6639,8 +6639,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2030__", + "parentId": "__FLD_59__", + "_id": "__REQ_1317__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-assignees-to-an-issue", @@ -6655,8 +6655,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2031__", + "parentId": "__FLD_59__", + "_id": "__REQ_1318__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue", @@ -6671,8 +6671,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2032__", + "parentId": "__FLD_59__", + "_id": "__REQ_1319__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments", @@ -6707,8 +6707,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2033__", + "parentId": "__FLD_59__", + "_id": "__REQ_1320__", "_type": "request", "name": "Create an issue comment", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment", @@ -6723,8 +6723,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2034__", + "parentId": "__FLD_59__", + "_id": "__REQ_1321__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events", @@ -6755,8 +6755,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2035__", + "parentId": "__FLD_59__", + "_id": "__REQ_1322__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-an-issue", @@ -6782,8 +6782,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2036__", + "parentId": "__FLD_59__", + "_id": "__REQ_1323__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-labels-to-an-issue", @@ -6798,8 +6798,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2037__", + "parentId": "__FLD_59__", + "_id": "__REQ_1324__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#set-labels-for-an-issue", @@ -6814,8 +6814,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2038__", + "parentId": "__FLD_59__", + "_id": "__REQ_1325__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6830,8 +6830,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2039__", + "parentId": "__FLD_59__", + "_id": "__REQ_1326__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-a-label-from-an-issue", @@ -6846,8 +6846,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2040__", + "parentId": "__FLD_59__", + "_id": "__REQ_1327__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#lock-an-issue", @@ -6862,8 +6862,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2041__", + "parentId": "__FLD_59__", + "_id": "__REQ_1328__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#unlock-an-issue", @@ -6878,8 +6878,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2042__", + "parentId": "__FLD_67__", + "_id": "__REQ_1329__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue", @@ -6914,8 +6914,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2043__", + "parentId": "__FLD_67__", + "_id": "__REQ_1330__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue", @@ -6935,8 +6935,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2044__", + "parentId": "__FLD_67__", + "_id": "__REQ_1331__", "_type": "request", "name": "Delete an issue reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-reaction", @@ -6956,8 +6956,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2045__", + "parentId": "__FLD_59__", + "_id": "__REQ_1332__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-timeline-events-for-an-issue", @@ -6988,8 +6988,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2046__", + "parentId": "__FLD_68__", + "_id": "__REQ_1333__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deploy-keys", @@ -7015,8 +7015,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2047__", + "parentId": "__FLD_68__", + "_id": "__REQ_1334__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deploy-key", @@ -7031,8 +7031,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2048__", + "parentId": "__FLD_68__", + "_id": "__REQ_1335__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deploy-key", @@ -7047,8 +7047,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2049__", + "parentId": "__FLD_68__", + "_id": "__REQ_1336__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deploy-key", @@ -7063,8 +7063,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2050__", + "parentId": "__FLD_59__", + "_id": "__REQ_1337__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-a-repository", @@ -7090,8 +7090,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2051__", + "parentId": "__FLD_59__", + "_id": "__REQ_1338__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-label", @@ -7106,8 +7106,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2052__", + "parentId": "__FLD_59__", + "_id": "__REQ_1339__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-label", @@ -7122,8 +7122,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2053__", + "parentId": "__FLD_59__", + "_id": "__REQ_1340__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-label", @@ -7138,8 +7138,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2054__", + "parentId": "__FLD_59__", + "_id": "__REQ_1341__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-label", @@ -7154,8 +7154,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2055__", + "parentId": "__FLD_68__", + "_id": "__REQ_1342__", "_type": "request", "name": "List repository languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-languages", @@ -7170,8 +7170,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_2056__", + "parentId": "__FLD_60__", + "_id": "__REQ_1343__", "_type": "request", "name": "Get the license for a repository", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/github-ae@latest/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-the-license-for-a-repository", @@ -7186,8 +7186,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2057__", + "parentId": "__FLD_68__", + "_id": "__REQ_1344__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#merge-a-branch", @@ -7202,8 +7202,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2058__", + "parentId": "__FLD_59__", + "_id": "__REQ_1345__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-milestones", @@ -7244,8 +7244,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2059__", + "parentId": "__FLD_59__", + "_id": "__REQ_1346__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-milestone", @@ -7260,8 +7260,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2060__", + "parentId": "__FLD_59__", + "_id": "__REQ_1347__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-milestone", @@ -7276,8 +7276,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2061__", + "parentId": "__FLD_59__", + "_id": "__REQ_1348__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-milestone", @@ -7292,8 +7292,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2062__", + "parentId": "__FLD_59__", + "_id": "__REQ_1349__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-milestone", @@ -7308,8 +7308,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2063__", + "parentId": "__FLD_59__", + "_id": "__REQ_1350__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -7335,8 +7335,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2064__", + "parentId": "__FLD_50__", + "_id": "__REQ_1351__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -7380,8 +7380,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2065__", + "parentId": "__FLD_50__", + "_id": "__REQ_1352__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-repository-notifications-as-read", @@ -7396,8 +7396,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2066__", + "parentId": "__FLD_68__", + "_id": "__REQ_1353__", "_type": "request", "name": "Get a GitHub AE Pages site", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-github-pages-site", @@ -7412,8 +7412,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2067__", + "parentId": "__FLD_68__", + "_id": "__REQ_1354__", "_type": "request", "name": "Create a GitHub AE Pages site", "description": "Configures a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-github-pages-site", @@ -7433,8 +7433,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2068__", + "parentId": "__FLD_68__", + "_id": "__REQ_1355__", "_type": "request", "name": "Update information about a GitHub AE Pages site", "description": "Updates information for a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-information-about-a-github-pages-site", @@ -7449,8 +7449,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2069__", + "parentId": "__FLD_68__", + "_id": "__REQ_1356__", "_type": "request", "name": "Delete a GitHub AE Pages site", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-github-pages-site", @@ -7470,8 +7470,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2070__", + "parentId": "__FLD_68__", + "_id": "__REQ_1357__", "_type": "request", "name": "List GitHub AE Pages builds", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-github-pages-builds", @@ -7497,8 +7497,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2071__", + "parentId": "__FLD_68__", + "_id": "__REQ_1358__", "_type": "request", "name": "Request a GitHub AE Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#request-a-github-pages-build", @@ -7513,8 +7513,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2072__", + "parentId": "__FLD_68__", + "_id": "__REQ_1359__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-latest-pages-build", @@ -7529,8 +7529,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2073__", + "parentId": "__FLD_68__", + "_id": "__REQ_1360__", "_type": "request", "name": "Get GitHub AE Pages build", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-github-pages-build", @@ -7545,8 +7545,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2074__", + "parentId": "__FLD_64__", + "_id": "__REQ_1361__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-repository-projects", @@ -7582,8 +7582,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2075__", + "parentId": "__FLD_64__", + "_id": "__REQ_1362__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-repository-project", @@ -7603,8 +7603,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2076__", + "parentId": "__FLD_65__", + "_id": "__REQ_1363__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests", @@ -7652,8 +7652,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2077__", + "parentId": "__FLD_65__", + "_id": "__REQ_1364__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#create-a-pull-request", @@ -7668,8 +7668,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2078__", + "parentId": "__FLD_65__", + "_id": "__REQ_1365__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7713,8 +7713,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2079__", + "parentId": "__FLD_65__", + "_id": "__REQ_1366__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7734,8 +7734,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2080__", + "parentId": "__FLD_65__", + "_id": "__REQ_1367__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7755,8 +7755,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2081__", + "parentId": "__FLD_65__", + "_id": "__REQ_1368__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7771,8 +7771,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2082__", + "parentId": "__FLD_67__", + "_id": "__REQ_1369__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7807,8 +7807,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2083__", + "parentId": "__FLD_67__", + "_id": "__REQ_1370__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7828,8 +7828,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2084__", + "parentId": "__FLD_67__", + "_id": "__REQ_1371__", "_type": "request", "name": "Delete a pull request comment reaction", "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-pull-request-comment-reaction", @@ -7849,8 +7849,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2085__", + "parentId": "__FLD_65__", + "_id": "__REQ_1372__", "_type": "request", "name": "Get a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/github-ae@latest/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-pull-request) a pull request, GitHub AE creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub AE has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#get-a-pull-request", @@ -7865,8 +7865,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2086__", + "parentId": "__FLD_65__", + "_id": "__REQ_1373__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request", @@ -7881,8 +7881,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2087__", + "parentId": "__FLD_65__", + "_id": "__REQ_1374__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7926,8 +7926,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2088__", + "parentId": "__FLD_65__", + "_id": "__REQ_1375__", "_type": "request", "name": "Create a review comment for a pull request", "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request", @@ -7947,8 +7947,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2089__", + "parentId": "__FLD_65__", + "_id": "__REQ_1376__", "_type": "request", "name": "Create a reply for a review comment", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-reply-for-a-review-comment", @@ -7963,8 +7963,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2090__", + "parentId": "__FLD_65__", + "_id": "__REQ_1377__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-commits-on-a-pull-request", @@ -7990,8 +7990,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2091__", + "parentId": "__FLD_65__", + "_id": "__REQ_1378__", "_type": "request", "name": "List pull requests files", "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests-files", @@ -8017,8 +8017,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2092__", + "parentId": "__FLD_65__", + "_id": "__REQ_1379__", "_type": "request", "name": "Check if a pull request has been merged", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#check-if-a-pull-request-has-been-merged", @@ -8033,8 +8033,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2093__", + "parentId": "__FLD_65__", + "_id": "__REQ_1380__", "_type": "request", "name": "Merge a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#merge-a-pull-request", @@ -8049,8 +8049,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2094__", + "parentId": "__FLD_65__", + "_id": "__REQ_1381__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -8076,8 +8076,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2095__", + "parentId": "__FLD_65__", + "_id": "__REQ_1382__", "_type": "request", "name": "Request reviewers for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#request-reviewers-for-a-pull-request", @@ -8092,8 +8092,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2096__", + "parentId": "__FLD_65__", + "_id": "__REQ_1383__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -8108,8 +8108,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2097__", + "parentId": "__FLD_65__", + "_id": "__REQ_1384__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -8135,8 +8135,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2098__", + "parentId": "__FLD_65__", + "_id": "__REQ_1385__", "_type": "request", "name": "Create a review for a pull request", "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-for-a-pull-request", @@ -8151,8 +8151,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2099__", + "parentId": "__FLD_65__", + "_id": "__REQ_1386__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -8167,8 +8167,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2100__", + "parentId": "__FLD_65__", + "_id": "__REQ_1387__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -8183,8 +8183,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2101__", + "parentId": "__FLD_65__", + "_id": "__REQ_1388__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -8199,8 +8199,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2102__", + "parentId": "__FLD_65__", + "_id": "__REQ_1389__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -8226,8 +8226,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2103__", + "parentId": "__FLD_65__", + "_id": "__REQ_1390__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/github-ae@latest/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -8242,8 +8242,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2104__", + "parentId": "__FLD_65__", + "_id": "__REQ_1391__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -8258,8 +8258,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2105__", + "parentId": "__FLD_65__", + "_id": "__REQ_1392__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request-branch", @@ -8279,8 +8279,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2106__", + "parentId": "__FLD_68__", + "_id": "__REQ_1393__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-readme", @@ -8300,8 +8300,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2107__", + "parentId": "__FLD_68__", + "_id": "__REQ_1394__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-releases", @@ -8327,8 +8327,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2108__", + "parentId": "__FLD_68__", + "_id": "__REQ_1395__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release", @@ -8343,8 +8343,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2109__", + "parentId": "__FLD_68__", + "_id": "__REQ_1396__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/github-ae@latest/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-asset", @@ -8359,8 +8359,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2110__", + "parentId": "__FLD_68__", + "_id": "__REQ_1397__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release-asset", @@ -8375,8 +8375,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2111__", + "parentId": "__FLD_68__", + "_id": "__REQ_1398__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release-asset", @@ -8391,8 +8391,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2112__", + "parentId": "__FLD_68__", + "_id": "__REQ_1399__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-latest-release", @@ -8407,8 +8407,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2113__", + "parentId": "__FLD_68__", + "_id": "__REQ_1400__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-by-tag-name", @@ -8423,8 +8423,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2114__", + "parentId": "__FLD_68__", + "_id": "__REQ_1401__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release", @@ -8439,8 +8439,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2115__", + "parentId": "__FLD_68__", + "_id": "__REQ_1402__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release", @@ -8455,8 +8455,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2116__", + "parentId": "__FLD_68__", + "_id": "__REQ_1403__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release", @@ -8471,8 +8471,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2117__", + "parentId": "__FLD_68__", + "_id": "__REQ_1404__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-release-assets", @@ -8498,8 +8498,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2118__", + "parentId": "__FLD_68__", + "_id": "__REQ_1405__", "_type": "request", "name": "Upload a release asset", "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub AE expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub AE renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/github-ae@latest/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub AE Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#upload-a-release-asset", @@ -8523,8 +8523,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2119__", + "parentId": "__FLD_50__", + "_id": "__REQ_1406__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-stargazers", @@ -8550,8 +8550,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2120__", + "parentId": "__FLD_68__", + "_id": "__REQ_1407__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-activity", @@ -8566,8 +8566,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2121__", + "parentId": "__FLD_68__", + "_id": "__REQ_1408__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8582,8 +8582,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2122__", + "parentId": "__FLD_68__", + "_id": "__REQ_1409__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-contributor-commit-activity", @@ -8598,8 +8598,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2123__", + "parentId": "__FLD_68__", + "_id": "__REQ_1410__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-count", @@ -8614,8 +8614,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2124__", + "parentId": "__FLD_68__", + "_id": "__REQ_1411__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8630,8 +8630,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2125__", + "parentId": "__FLD_68__", + "_id": "__REQ_1412__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-status", @@ -8646,8 +8646,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2126__", + "parentId": "__FLD_50__", + "_id": "__REQ_1413__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-watchers", @@ -8673,8 +8673,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2127__", + "parentId": "__FLD_50__", + "_id": "__REQ_1414__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription", @@ -8689,8 +8689,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2128__", + "parentId": "__FLD_50__", + "_id": "__REQ_1415__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription", @@ -8705,8 +8705,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2129__", + "parentId": "__FLD_50__", + "_id": "__REQ_1416__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription", @@ -8721,8 +8721,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2130__", + "parentId": "__FLD_68__", + "_id": "__REQ_1417__", "_type": "request", "name": "List repository tags", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-tags", @@ -8748,8 +8748,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2131__", + "parentId": "__FLD_68__", + "_id": "__REQ_1418__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", @@ -8764,8 +8764,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2132__", + "parentId": "__FLD_68__", + "_id": "__REQ_1419__", "_type": "request", "name": "List repository teams", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-teams", @@ -8791,8 +8791,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2133__", + "parentId": "__FLD_68__", + "_id": "__REQ_1420__", "_type": "request", "name": "Get all repository topics", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-all-repository-topics", @@ -8812,8 +8812,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2134__", + "parentId": "__FLD_68__", + "_id": "__REQ_1421__", "_type": "request", "name": "Replace all repository topics", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#replace-all-repository-topics", @@ -8833,8 +8833,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2135__", + "parentId": "__FLD_68__", + "_id": "__REQ_1422__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#transfer-a-repository", @@ -8849,8 +8849,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2136__", + "parentId": "__FLD_68__", + "_id": "__REQ_1423__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#enable-vulnerability-alerts", @@ -8870,8 +8870,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2137__", + "parentId": "__FLD_68__", + "_id": "__REQ_1424__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#disable-vulnerability-alerts", @@ -8891,8 +8891,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2138__", + "parentId": "__FLD_68__", + "_id": "__REQ_1425__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", @@ -8907,8 +8907,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2139__", + "parentId": "__FLD_68__", + "_id": "__REQ_1426__", "_type": "request", "name": "Create a repository using a template", "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-using-a-template", @@ -8928,8 +8928,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2140__", + "parentId": "__FLD_68__", + "_id": "__REQ_1427__", "_type": "request", "name": "List public repositories", "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-public-repositories", @@ -8949,8 +8949,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2141__", + "parentId": "__FLD_69__", + "_id": "__REQ_1428__", "_type": "request", "name": "Search code", "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-code", @@ -8989,8 +8989,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2142__", + "parentId": "__FLD_69__", + "_id": "__REQ_1429__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-commits", @@ -9034,8 +9034,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2143__", + "parentId": "__FLD_69__", + "_id": "__REQ_1430__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-issues-and-pull-requests", @@ -9074,8 +9074,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2144__", + "parentId": "__FLD_69__", + "_id": "__REQ_1431__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-labels", @@ -9108,8 +9108,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2145__", + "parentId": "__FLD_69__", + "_id": "__REQ_1432__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-repositories", @@ -9153,8 +9153,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2146__", + "parentId": "__FLD_69__", + "_id": "__REQ_1433__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-topics", @@ -9179,8 +9179,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2147__", + "parentId": "__FLD_69__", + "_id": "__REQ_1434__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-users", @@ -9219,8 +9219,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2148__", + "parentId": "__FLD_70__", + "_id": "__REQ_1435__", "_type": "request", "name": "Get a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-legacy", @@ -9235,8 +9235,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2149__", + "parentId": "__FLD_70__", + "_id": "__REQ_1436__", "_type": "request", "name": "Update a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team-legacy", @@ -9251,8 +9251,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2150__", + "parentId": "__FLD_70__", + "_id": "__REQ_1437__", "_type": "request", "name": "Delete a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team-legacy", @@ -9267,8 +9267,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2151__", + "parentId": "__FLD_70__", + "_id": "__REQ_1438__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions-legacy", @@ -9304,8 +9304,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2152__", + "parentId": "__FLD_70__", + "_id": "__REQ_1439__", "_type": "request", "name": "Create a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-legacy", @@ -9325,8 +9325,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2153__", + "parentId": "__FLD_70__", + "_id": "__REQ_1440__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-legacy", @@ -9346,8 +9346,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2154__", + "parentId": "__FLD_70__", + "_id": "__REQ_1441__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-legacy", @@ -9367,8 +9367,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2155__", + "parentId": "__FLD_70__", + "_id": "__REQ_1442__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-legacy", @@ -9383,8 +9383,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2156__", + "parentId": "__FLD_70__", + "_id": "__REQ_1443__", "_type": "request", "name": "List discussion comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments-legacy", @@ -9420,8 +9420,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2157__", + "parentId": "__FLD_70__", + "_id": "__REQ_1444__", "_type": "request", "name": "Create a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment-legacy", @@ -9441,8 +9441,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2158__", + "parentId": "__FLD_70__", + "_id": "__REQ_1445__", "_type": "request", "name": "Get a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment-legacy", @@ -9462,8 +9462,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2159__", + "parentId": "__FLD_70__", + "_id": "__REQ_1446__", "_type": "request", "name": "Update a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment-legacy", @@ -9483,8 +9483,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2160__", + "parentId": "__FLD_70__", + "_id": "__REQ_1447__", "_type": "request", "name": "Delete a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment-legacy", @@ -9499,8 +9499,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2161__", + "parentId": "__FLD_67__", + "_id": "__REQ_1448__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", @@ -9535,8 +9535,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2162__", + "parentId": "__FLD_67__", + "_id": "__REQ_1449__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", @@ -9556,8 +9556,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2163__", + "parentId": "__FLD_67__", + "_id": "__REQ_1450__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-legacy", @@ -9592,8 +9592,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2164__", + "parentId": "__FLD_67__", + "_id": "__REQ_1451__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-legacy", @@ -9613,8 +9613,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2165__", + "parentId": "__FLD_70__", + "_id": "__REQ_1452__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members-legacy", @@ -9645,8 +9645,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2166__", + "parentId": "__FLD_70__", + "_id": "__REQ_1453__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-member-legacy", @@ -9661,8 +9661,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2167__", + "parentId": "__FLD_70__", + "_id": "__REQ_1454__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-team-member-legacy", @@ -9677,8 +9677,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2168__", + "parentId": "__FLD_70__", + "_id": "__REQ_1455__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-member-legacy", @@ -9693,8 +9693,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2169__", + "parentId": "__FLD_70__", + "_id": "__REQ_1456__", "_type": "request", "name": "Get team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user-legacy", @@ -9709,8 +9709,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2170__", + "parentId": "__FLD_70__", + "_id": "__REQ_1457__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", @@ -9725,8 +9725,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2171__", + "parentId": "__FLD_70__", + "_id": "__REQ_1458__", "_type": "request", "name": "Remove team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user-legacy", @@ -9741,8 +9741,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2172__", + "parentId": "__FLD_70__", + "_id": "__REQ_1459__", "_type": "request", "name": "List team projects (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects-legacy", @@ -9773,8 +9773,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2173__", + "parentId": "__FLD_70__", + "_id": "__REQ_1460__", "_type": "request", "name": "Check team permissions for a project (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project-legacy", @@ -9794,8 +9794,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2174__", + "parentId": "__FLD_70__", + "_id": "__REQ_1461__", "_type": "request", "name": "Add or update team project permissions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions-legacy", @@ -9815,8 +9815,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2175__", + "parentId": "__FLD_70__", + "_id": "__REQ_1462__", "_type": "request", "name": "Remove a project from a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team-legacy", @@ -9831,8 +9831,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2176__", + "parentId": "__FLD_70__", + "_id": "__REQ_1463__", "_type": "request", "name": "List team repositories (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories-legacy", @@ -9858,8 +9858,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2177__", + "parentId": "__FLD_70__", + "_id": "__REQ_1464__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository-legacy", @@ -9874,8 +9874,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2178__", + "parentId": "__FLD_70__", + "_id": "__REQ_1465__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions-legacy", @@ -9890,8 +9890,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2179__", + "parentId": "__FLD_70__", + "_id": "__REQ_1466__", "_type": "request", "name": "Remove a repository from a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team-legacy", @@ -9906,8 +9906,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2180__", + "parentId": "__FLD_70__", + "_id": "__REQ_1467__", "_type": "request", "name": "List child teams (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams-legacy", @@ -9933,8 +9933,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2181__", + "parentId": "__FLD_71__", + "_id": "__REQ_1468__", "_type": "request", "name": "Get the authenticated user", "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-the-authenticated-user", @@ -9949,8 +9949,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2182__", + "parentId": "__FLD_71__", + "_id": "__REQ_1469__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#update-the-authenticated-user", @@ -9965,8 +9965,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2183__", + "parentId": "__FLD_71__", + "_id": "__REQ_1470__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9992,8 +9992,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2184__", + "parentId": "__FLD_71__", + "_id": "__REQ_1471__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -10019,8 +10019,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2185__", + "parentId": "__FLD_71__", + "_id": "__REQ_1472__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -10035,8 +10035,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2186__", + "parentId": "__FLD_71__", + "_id": "__REQ_1473__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#follow-a-user", @@ -10051,8 +10051,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2187__", + "parentId": "__FLD_71__", + "_id": "__REQ_1474__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#unfollow-a-user", @@ -10067,8 +10067,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2188__", + "parentId": "__FLD_71__", + "_id": "__REQ_1475__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -10094,8 +10094,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2189__", + "parentId": "__FLD_71__", + "_id": "__REQ_1476__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10110,8 +10110,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2190__", + "parentId": "__FLD_71__", + "_id": "__REQ_1477__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10126,8 +10126,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2191__", + "parentId": "__FLD_71__", + "_id": "__REQ_1478__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10142,8 +10142,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2192__", + "parentId": "__FLD_51__", + "_id": "__REQ_1479__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10169,8 +10169,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2193__", + "parentId": "__FLD_51__", + "_id": "__REQ_1480__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -10201,8 +10201,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2194__", + "parentId": "__FLD_51__", + "_id": "__REQ_1481__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10217,8 +10217,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2195__", + "parentId": "__FLD_51__", + "_id": "__REQ_1482__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10233,8 +10233,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2196__", + "parentId": "__FLD_59__", + "_id": "__REQ_1483__", "_type": "request", "name": "List user account issues assigned to the authenticated user", "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", @@ -10293,8 +10293,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2197__", + "parentId": "__FLD_71__", + "_id": "__REQ_1484__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10320,8 +10320,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2198__", + "parentId": "__FLD_71__", + "_id": "__REQ_1485__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10336,8 +10336,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2199__", + "parentId": "__FLD_71__", + "_id": "__REQ_1486__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10352,8 +10352,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2200__", + "parentId": "__FLD_71__", + "_id": "__REQ_1487__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10368,8 +10368,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_2201__", + "parentId": "__FLD_63__", + "_id": "__REQ_1488__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10399,8 +10399,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_2202__", + "parentId": "__FLD_63__", + "_id": "__REQ_1489__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10415,8 +10415,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_2203__", + "parentId": "__FLD_63__", + "_id": "__REQ_1490__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10431,8 +10431,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_2204__", + "parentId": "__FLD_63__", + "_id": "__REQ_1491__", "_type": "request", "name": "List organizations for the authenticated user", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-the-authenticated-user", @@ -10458,8 +10458,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2205__", + "parentId": "__FLD_64__", + "_id": "__REQ_1492__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-user-project", @@ -10479,8 +10479,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2206__", + "parentId": "__FLD_68__", + "_id": "__REQ_1493__", "_type": "request", "name": "List repositories for the authenticated user", "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-the-authenticated-user", @@ -10538,8 +10538,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2207__", + "parentId": "__FLD_68__", + "_id": "__REQ_1494__", "_type": "request", "name": "Create a repository for the authenticated user", "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-for-the-authenticated-user", @@ -10559,8 +10559,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2208__", + "parentId": "__FLD_68__", + "_id": "__REQ_1495__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10586,8 +10586,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2209__", + "parentId": "__FLD_68__", + "_id": "__REQ_1496__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#accept-a-repository-invitation", @@ -10602,8 +10602,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2210__", + "parentId": "__FLD_68__", + "_id": "__REQ_1497__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#decline-a-repository-invitation", @@ -10618,8 +10618,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2211__", + "parentId": "__FLD_50__", + "_id": "__REQ_1498__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10655,8 +10655,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2212__", + "parentId": "__FLD_50__", + "_id": "__REQ_1499__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10671,8 +10671,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2213__", + "parentId": "__FLD_50__", + "_id": "__REQ_1500__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10687,8 +10687,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2214__", + "parentId": "__FLD_50__", + "_id": "__REQ_1501__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10703,8 +10703,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2215__", + "parentId": "__FLD_50__", + "_id": "__REQ_1502__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10730,8 +10730,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_2216__", + "parentId": "__FLD_70__", + "_id": "__REQ_1503__", "_type": "request", "name": "List teams for the authenticated user", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams-for-the-authenticated-user", @@ -10757,8 +10757,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2217__", + "parentId": "__FLD_71__", + "_id": "__REQ_1504__", "_type": "request", "name": "List users", "description": "Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#list-users", @@ -10783,8 +10783,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2218__", + "parentId": "__FLD_71__", + "_id": "__REQ_1505__", "_type": "request", "name": "Get a user", "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub AE plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub AE plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub AE [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub AE. For more information, see [Authentication](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/github-ae@latest/rest/reference/users#emails)\".\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-a-user", @@ -10799,8 +10799,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2219__", + "parentId": "__FLD_50__", + "_id": "__REQ_1506__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10826,8 +10826,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2220__", + "parentId": "__FLD_50__", + "_id": "__REQ_1507__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10853,8 +10853,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2221__", + "parentId": "__FLD_50__", + "_id": "__REQ_1508__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-user", @@ -10880,8 +10880,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2222__", + "parentId": "__FLD_71__", + "_id": "__REQ_1509__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-a-user", @@ -10907,8 +10907,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2223__", + "parentId": "__FLD_71__", + "_id": "__REQ_1510__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-a-user-follows", @@ -10934,8 +10934,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2224__", + "parentId": "__FLD_71__", + "_id": "__REQ_1511__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-user-follows-another-user", @@ -10950,8 +10950,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2225__", + "parentId": "__FLD_56__", + "_id": "__REQ_1512__", "_type": "request", "name": "List gists for a user", "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-a-user", @@ -10981,8 +10981,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2226__", + "parentId": "__FLD_71__", + "_id": "__REQ_1513__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-a-user", @@ -11008,8 +11008,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2227__", + "parentId": "__FLD_71__", + "_id": "__REQ_1514__", "_type": "request", "name": "Get contextual information for a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-contextual-information-for-a-user", @@ -11033,8 +11033,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2228__", + "parentId": "__FLD_51__", + "_id": "__REQ_1515__", "_type": "request", "name": "Get a user installation for the authenticated app", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-user-installation-for-the-authenticated-app", @@ -11049,8 +11049,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2229__", + "parentId": "__FLD_71__", + "_id": "__REQ_1516__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-keys-for-a-user", @@ -11076,8 +11076,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_2230__", + "parentId": "__FLD_63__", + "_id": "__REQ_1517__", "_type": "request", "name": "List organizations for a user", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-a-user", @@ -11103,8 +11103,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2231__", + "parentId": "__FLD_64__", + "_id": "__REQ_1518__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-user-projects", @@ -11140,8 +11140,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2232__", + "parentId": "__FLD_50__", + "_id": "__REQ_1519__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -11167,8 +11167,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2233__", + "parentId": "__FLD_50__", + "_id": "__REQ_1520__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-received-by-a-user", @@ -11194,8 +11194,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2234__", + "parentId": "__FLD_68__", + "_id": "__REQ_1521__", "_type": "request", "name": "List repositories for a user", "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-a-user", @@ -11240,8 +11240,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2235__", + "parentId": "__FLD_50__", + "_id": "__REQ_1522__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11277,8 +11277,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2236__", + "parentId": "__FLD_50__", + "_id": "__REQ_1523__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11304,8 +11304,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2237__", + "parentId": "__FLD_55__", + "_id": "__REQ_1524__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user", @@ -11320,8 +11320,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2238__", + "parentId": "__FLD_55__", + "_id": "__REQ_1525__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11336,8 +11336,8 @@ "parameters": [] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_2239__", + "parentId": "__FLD_62__", + "_id": "__REQ_1526__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", From 96a901b1c9c956250eb67a43ae4cdb373ed18362 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Thu, 18 Feb 2021 12:03:28 -0500 Subject: [PATCH 5/6] refactor: run linter --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 68b8b7d..43ade47 100755 --- a/index.js +++ b/index.js @@ -15,5 +15,4 @@ const { generate, getLatestRoutes } = require('./lib/generate'); const output = JSON.stringify(data, null, 2); await fs.writeFile(destination, output); }); - })(); From 62ee2d31eb6ab749aff4c3d17d17305096201f67 Mon Sep 17 00:00:00 2001 From: John Bohannon Date: Mon, 22 Aug 2022 01:16:48 +0000 Subject: [PATCH 6/6] feat: run 2022-08-21 --- routes/api.github.com.json | 11313 ++++++++++++++---------- routes/ghes-2.18.json | 2818 +++--- routes/ghes-2.19.json | 2846 ++++--- routes/ghes-2.20.json | 2864 ++++--- routes/ghes-2.21.json | 3068 +++---- routes/ghes-2.22.json | 3583 ++++---- routes/ghes-3.0.json | 3884 +++++---- routes/ghes-3.1.json | 14671 ++++++++++++++++++++++++++++++++ routes/ghes-3.2.json | 15215 +++++++++++++++++++++++++++++++++ routes/ghes-3.3.json | 14763 ++++++++++++++++++++++++++++++++ routes/ghes-3.4.json | 15499 +++++++++++++++++++++++++++++++++ routes/ghes-3.5.json | 15919 ++++++++++++++++++++++++++++++++++ routes/ghes-3.6.json | 16048 +++++++++++++++++++++++++++++++++++ routes/github.ae.json | 8581 ++++++++++++------- 14 files changed, 114884 insertions(+), 16188 deletions(-) create mode 100644 routes/ghes-3.1.json create mode 100644 routes/ghes-3.2.json create mode 100644 routes/ghes-3.3.json create mode 100644 routes/ghes-3.4.json create mode 100644 routes/ghes-3.5.json create mode 100644 routes/ghes-3.6.json diff --git a/routes/api.github.com.json b/routes/api.github.com.json index ea77888..cb40017 100644 --- a/routes/api.github.com.json +++ b/routes/api.github.com.json @@ -1,50 +1,56 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.959Z", + "__export_date": "2022-08-22T01:15:59.905Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_72__", + "_id": "__FLD_348__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { "github_api_root": "https://api.github.com", - "access_token": "", "account_id": 0, "alert_number": 0, + "analysis_id": 0, "app_slug": "", "archive_format": "", "artifact_id": 0, "asset_id": 0, "assignee": "", + "attempt_number": 0, "author_id": 0, - "authorization_id": 0, - "base": "", + "autolink_id": 0, + "basehead": "", "branch": "", + "branch_policy_id": 0, "build_id": 0, + "cache_id": 0, "card_id": 0, "check_run_id": 0, "check_suite_id": 0, "client_id": "", "code": "", + "codespace_name": "", "column_id": 0, "comment_id": 0, "comment_number": 0, "commit_sha": "", - "content_reference_id": 0, "credential_id": 0, + "delivery_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "enterprise": "", + "enterprise_or_org": "", + "environment_name": "", "event_id": 0, + "export_id": "", "file_sha": "", - "fingerprint": "", "gist_id": "", "gpg_key_id": 0, - "grant_id": 0, - "head": "", + "group_id": 0, "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -58,7 +64,11 @@ "name": "", "org": "", "org_id": 0, + "organization_id": "", "owner": "", + "package_name": "", + "package_type": "", + "package_version_id": 0, "path": "", "plan_id": 0, "project_id": 0, @@ -73,12 +83,14 @@ "run_id": 0, "runner_group_id": 0, "runner_id": 0, + "sarif_id": "", "scim_group_id": "", "scim_user_id": "", "secret_name": "", "sha": "", "status_id": 0, "tag": "", + "tag_protection_id": 0, "tag_sha": "", "target_user": "", "team_id": 0, @@ -92,197 +104,215 @@ } }, { - "parentId": "__FLD_72__", - "_id": "__FLD_73__", + "parentId": "__FLD_348__", + "_id": "__FLD_349__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_74__", + "parentId": "__FLD_348__", + "_id": "__FLD_350__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_75__", + "parentId": "__FLD_348__", + "_id": "__FLD_351__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_76__", - "_type": "request_group", - "name": "audit-log" - }, - { - "parentId": "__FLD_72__", - "_id": "__FLD_77__", + "parentId": "__FLD_348__", + "_id": "__FLD_352__", "_type": "request_group", "name": "billing" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_78__", + "parentId": "__FLD_348__", + "_id": "__FLD_353__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_79__", + "parentId": "__FLD_348__", + "_id": "__FLD_354__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_80__", + "parentId": "__FLD_348__", + "_id": "__FLD_355__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_81__", + "parentId": "__FLD_348__", + "_id": "__FLD_356__", + "_type": "request_group", + "name": "codespaces" + }, + { + "parentId": "__FLD_348__", + "_id": "__FLD_357__", + "_type": "request_group", + "name": "dependabot" + }, + { + "parentId": "__FLD_348__", + "_id": "__FLD_358__", + "_type": "request_group", + "name": "dependency-graph" + }, + { + "parentId": "__FLD_348__", + "_id": "__FLD_359__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_82__", + "parentId": "__FLD_348__", + "_id": "__FLD_360__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_83__", + "parentId": "__FLD_348__", + "_id": "__FLD_361__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_84__", + "parentId": "__FLD_348__", + "_id": "__FLD_362__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_85__", + "parentId": "__FLD_348__", + "_id": "__FLD_363__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_86__", + "parentId": "__FLD_348__", + "_id": "__FLD_364__", "_type": "request_group", "name": "interactions" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_87__", + "parentId": "__FLD_348__", + "_id": "__FLD_365__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_88__", + "parentId": "__FLD_348__", + "_id": "__FLD_366__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_89__", + "parentId": "__FLD_348__", + "_id": "__FLD_367__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_90__", + "parentId": "__FLD_348__", + "_id": "__FLD_368__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_91__", + "parentId": "__FLD_348__", + "_id": "__FLD_369__", "_type": "request_group", "name": "migrations" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_92__", + "parentId": "__FLD_348__", + "_id": "__FLD_370__", "_type": "request_group", - "name": "oauth-authorizations" + "name": "oidc" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_93__", + "parentId": "__FLD_348__", + "_id": "__FLD_371__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_94__", + "parentId": "__FLD_348__", + "_id": "__FLD_372__", + "_type": "request_group", + "name": "packages" + }, + { + "parentId": "__FLD_348__", + "_id": "__FLD_373__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_95__", + "parentId": "__FLD_348__", + "_id": "__FLD_374__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_96__", + "parentId": "__FLD_348__", + "_id": "__FLD_375__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_97__", + "parentId": "__FLD_348__", + "_id": "__FLD_376__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_98__", + "parentId": "__FLD_348__", + "_id": "__FLD_377__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_99__", + "parentId": "__FLD_348__", + "_id": "__FLD_378__", "_type": "request_group", "name": "scim" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_100__", + "parentId": "__FLD_348__", + "_id": "__FLD_379__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_101__", + "parentId": "__FLD_348__", + "_id": "__FLD_380__", "_type": "request_group", "name": "secret-scanning" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_102__", + "parentId": "__FLD_348__", + "_id": "__FLD_381__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_72__", - "_id": "__FLD_103__", + "parentId": "__FLD_348__", + "_id": "__FLD_382__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1527__", + "parentId": "__FLD_368__", + "_id": "__REQ_8522__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -294,11 +324,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1528__", + "parentId": "__FLD_351__", + "_id": "__REQ_8523__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -310,11 +340,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1529__", + "parentId": "__FLD_351__", + "_id": "__REQ_8524__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -326,11 +356,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1530__", + "parentId": "__FLD_351__", + "_id": "__REQ_8525__", "_type": "request", "name": "Get a webhook configuration for an app", - "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#get-a-webhook-configuration-for-an-app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -342,11 +372,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1531__", + "parentId": "__FLD_351__", + "_id": "__REQ_8526__", "_type": "request", "name": "Update a webhook configuration for an app", - "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps#update-a-webhook-configuration-for-an-app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -358,18 +388,18 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1532__", + "parentId": "__FLD_351__", + "_id": "__REQ_8527__", "_type": "request", - "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/v3/apps/#list-installations-for-the-authenticated-app", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/app/installations", + "url": "{{ github_api_root }}/app/hook/deliveries", "body": {}, "parameters": [ { @@ -378,162 +408,161 @@ "disabled": false }, { - "name": "page", - "value": 1, - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "outdated", + "name": "cursor", "disabled": false } ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1533__", + "parentId": "__FLD_351__", + "_id": "__REQ_8528__", "_type": "request", - "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-installation-for-the-authenticated-app", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1534__", + "parentId": "__FLD_351__", + "_id": "__REQ_8529__", "_type": "request", - "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1535__", + "parentId": "__FLD_351__", + "_id": "__REQ_8530__", "_type": "request", - "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#create-an-installation-access-token-for-an-app", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "method": "GET", + "url": "{{ github_api_root }}/app/installations", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1536__", + "parentId": "__FLD_351__", + "_id": "__REQ_8531__", "_type": "request", - "name": "Suspend an app installation", - "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nSuspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#suspend-an-app-installation", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1537__", + "parentId": "__FLD_351__", + "_id": "__REQ_8532__", "_type": "request", - "name": "Unsuspend an app installation", - "description": "**Note:** Suspending a GitHub App installation is currently in beta and subject to change. Before you can suspend a GitHub App, the app owner must enable suspending installations for the app by opting-in to the beta. For more information, see \"[Suspending a GitHub App installation](https://docs.github.com/apps/managing-github-apps/suspending-a-github-app-installation/).\"\n\nRemoves a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#unsuspend-an-app-installation", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1538__", + "parentId": "__FLD_351__", + "_id": "__REQ_8533__", "_type": "request", - "name": "List your grants", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-grants", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/applications/grants", + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1539__", + "parentId": "__FLD_351__", + "_id": "__REQ_8534__", "_type": "request", - "name": "Get a single grant", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#suspend-an-app-installation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1540__", + "parentId": "__FLD_351__", + "_id": "__REQ_8535__", "_type": "request", - "name": "Delete a grant", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#unsuspend-an-app-installation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1541__", + "parentId": "__FLD_351__", + "_id": "__REQ_8536__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-authorization", @@ -548,24 +577,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1542__", - "_type": "request", - "name": "Revoke a grant for an application", - "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_75__", - "_id": "__REQ_1543__", + "parentId": "__FLD_351__", + "_id": "__REQ_8537__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-a-token", @@ -580,8 +593,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1544__", + "parentId": "__FLD_351__", + "_id": "__REQ_8538__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-a-token", @@ -596,8 +609,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1545__", + "parentId": "__FLD_351__", + "_id": "__REQ_8539__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#delete-an-app-token", @@ -612,11 +625,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1546__", + "parentId": "__FLD_351__", + "_id": "__REQ_8540__", "_type": "request", "name": "Create a scoped access token", - "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#create-a-scoped-access-token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#create-a-scoped-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -628,277 +641,132 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1547__", + "parentId": "__FLD_351__", + "_id": "__REQ_8541__", "_type": "request", - "name": "Check an authorization", - "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#check-an-authorization", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps/#get-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1548__", + "parentId": "__FLD_355__", + "_id": "__REQ_8542__", "_type": "request", - "name": "Reset an authorization", - "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/rest/reference/apps#reset-an-authorization", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1549__", + "parentId": "__FLD_355__", + "_id": "__REQ_8543__", "_type": "request", - "name": "Revoke an authorization for an application", - "description": "**Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1550__", + "parentId": "__FLD_359__", + "_id": "__REQ_8544__", "_type": "request", - "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-app", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub.\n\nhttps://docs.github.com/rest/reference/emojis#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1551__", + "parentId": "__FLD_360__", + "_id": "__REQ_8545__", "_type": "request", - "name": "List your authorizations", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations", + "name": "Get GitHub Enterprise Server statistics", + "description": "Returns aggregate usage metrics for your GitHub Enterprise Server 3.5+ instance for a specified time period up to 365 days.\n\nTo use this endpoint, your GitHub Enterprise Server instance must be connected to GitHub Enterprise Cloud using GitHub Connect. You must enable Server Statistics, and for the API request provide your enterprise account name or organization name connected to the GitHub Enterprise Server. For more information, see \"[Enabling Server Statistics for your enterprise](/admin/configuration/configuring-github-connect/enabling-server-statistics-for-your-enterprise)\" in the GitHub Enterprise Server documentation.\n\nYou'll need to use a personal access token:\n - If you connected your GitHub Enterprise Server to an enterprise account and enabled Server Statistics, you'll need a personal access token with the `read:enterprise` permission.\n - If you connected your GitHub Enterprise Server to an organization account and enabled Server Statistics, you'll need a personal access token with the `read:org` permission.\n\nFor more information on creating a personal access token, see \"[Creating a personal access token](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-github-enterprise-server-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/authorizations", + "url": "{{ github_api_root }}/enterprise-installation/{{ enterprise_or_org }}/server-statistics", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "date_start", "disabled": false }, { - "name": "page", - "value": 1, + "name": "date_end", "disabled": false } ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1552__", - "_type": "request", - "name": "Create a new authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_92__", - "_id": "__REQ_1553__", - "_type": "request", - "name": "Get-or-create an authorization for a specific app", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_92__", - "_id": "__REQ_1554__", - "_type": "request", - "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_92__", - "_id": "__REQ_1555__", - "_type": "request", - "name": "Get a single authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_92__", - "_id": "__REQ_1556__", - "_type": "request", - "name": "Update an existing authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_92__", - "_id": "__REQ_1557__", + "parentId": "__FLD_349__", + "_id": "__REQ_8546__", "_type": "request", - "name": "Delete an authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/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://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/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/).\n\nhttps://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization", + "name": "Get GitHub Actions cache usage for an enterprise", + "description": "Gets the total GitHub Actions cache usage for an enterprise.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_80__", - "_id": "__REQ_1558__", - "_type": "request", - "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_80__", - "_id": "__REQ_1559__", - "_type": "request", - "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_75__", - "_id": "__REQ_1560__", - "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage", "body": {}, "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1561__", + "parentId": "__FLD_349__", + "_id": "__REQ_8547__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub.\n\nhttps://docs.github.com/v3/emojis/#get-emojis", + "name": "Set the GitHub Actions OIDC custom issuer policy for an enterprise", + "description": "Sets the GitHub Actions OpenID Connect (OIDC) custom issuer policy for an enterprise.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/emojis", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/oidc/customization/issuer", "body": {}, "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1562__", + "parentId": "__FLD_360__", + "_id": "__REQ_8548__", "_type": "request", "name": "Get GitHub Actions permissions for an enterprise", - "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions and reusable workflows in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -910,11 +778,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1563__", + "parentId": "__FLD_360__", + "_id": "__REQ_8549__", "_type": "request", "name": "Set GitHub Actions permissions for an enterprise", - "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions and reusable workflows in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -926,11 +794,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1564__", + "parentId": "__FLD_360__", + "_id": "__REQ_8550__", "_type": "request", "name": "List selected organizations enabled for GitHub Actions in an enterprise", - "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -953,11 +821,11 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1565__", + "parentId": "__FLD_360__", + "_id": "__REQ_8551__", "_type": "request", "name": "Set selected organizations enabled for GitHub Actions in an enterprise", - "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -969,11 +837,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1566__", + "parentId": "__FLD_360__", + "_id": "__REQ_8552__", "_type": "request", "name": "Enable a selected organization for GitHub Actions in an enterprise", - "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -985,11 +853,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1567__", + "parentId": "__FLD_360__", + "_id": "__REQ_8553__", "_type": "request", "name": "Disable a selected organization for GitHub Actions in an enterprise", - "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1001,11 +869,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1568__", + "parentId": "__FLD_360__", + "_id": "__REQ_8554__", "_type": "request", - "name": "Get allowed actions for an enterprise", - "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", + "name": "Get allowed actions and reusable workflows for an enterprise", + "description": "Gets the selected actions and reusable workflows that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1017,11 +885,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1569__", + "parentId": "__FLD_360__", + "_id": "__REQ_8555__", "_type": "request", - "name": "Set allowed actions for an enterprise", - "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", + "name": "Set allowed actions and reusable workflows for an enterprise", + "description": "Sets the actions and reusable workflows that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1033,11 +901,43 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1570__", + "parentId": "__FLD_349__", + "_id": "__REQ_8556__", + "_type": "request", + "name": "Get default workflow permissions for an enterprise", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8557__", + "_type": "request", + "name": "Set default workflow permissions for an enterprise", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and sets\nwhether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8558__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", - "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1056,15 +956,19 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "visible_to_organization", + "disabled": false } ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1571__", + "parentId": "__FLD_360__", + "_id": "__REQ_8559__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", - "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1076,11 +980,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1572__", + "parentId": "__FLD_360__", + "_id": "__REQ_8560__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", - "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1092,11 +996,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1573__", + "parentId": "__FLD_360__", + "_id": "__REQ_8561__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", - "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1108,11 +1012,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1574__", + "parentId": "__FLD_360__", + "_id": "__REQ_8562__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", - "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1124,11 +1028,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1575__", + "parentId": "__FLD_360__", + "_id": "__REQ_8563__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", - "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1151,11 +1055,11 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1576__", + "parentId": "__FLD_360__", + "_id": "__REQ_8564__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", - "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1167,11 +1071,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1577__", + "parentId": "__FLD_360__", + "_id": "__REQ_8565__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", - "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1183,11 +1087,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1578__", + "parentId": "__FLD_360__", + "_id": "__REQ_8566__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", - "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1199,11 +1103,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1579__", + "parentId": "__FLD_360__", + "_id": "__REQ_8567__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", - "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1226,11 +1130,11 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1580__", + "parentId": "__FLD_360__", + "_id": "__REQ_8568__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1242,11 +1146,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1581__", + "parentId": "__FLD_360__", + "_id": "__REQ_8569__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", - "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1258,11 +1162,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1582__", + "parentId": "__FLD_360__", + "_id": "__REQ_8570__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", - "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1274,11 +1178,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1583__", + "parentId": "__FLD_360__", + "_id": "__REQ_8571__", "_type": "request", "name": "List self-hosted runners for an enterprise", - "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1301,11 +1205,11 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1584__", + "parentId": "__FLD_360__", + "_id": "__REQ_8572__", "_type": "request", "name": "List runner applications for an enterprise", - "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1317,11 +1221,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1585__", + "parentId": "__FLD_360__", + "_id": "__REQ_8573__", "_type": "request", "name": "Create a registration token for an enterprise", - "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1333,11 +1237,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1586__", + "parentId": "__FLD_360__", + "_id": "__REQ_8574__", "_type": "request", "name": "Create a remove token for an enterprise", - "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1349,11 +1253,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1587__", + "parentId": "__FLD_360__", + "_id": "__REQ_8575__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", - "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1365,11 +1269,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1588__", + "parentId": "__FLD_360__", + "_id": "__REQ_8576__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", - "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1381,26 +1285,106 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1589__", + "parentId": "__FLD_360__", + "_id": "__REQ_8577__", "_type": "request", - "name": "Get the audit log for an enterprise", - "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "name": "List labels for a self-hosted runner for an enterprise", + "description": "Lists all labels for a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", "body": {}, - "parameters": [ - { - "name": "phrase", - "disabled": false - }, - { - "name": "include", + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8578__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an enterprise", + "description": "Add custom labels to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8579__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an enterprise", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8580__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an enterprise", + "description": "Remove all custom labels from a self-hosted runner configured in an\nenterprise. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8581__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an enterprise", + "description": "Remove a custom label from a self-hosted runner configured\nin an enterprise. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8582__", + "_type": "request", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", "disabled": false }, { @@ -1415,19 +1399,176 @@ "name": "order", "disabled": false }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8583__", + "_type": "request", + "name": "List code scanning alerts for an enterprise", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an enterprise. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be a member of the enterprise,\nand you must use an access token with the `repo` scope or `security_events` scope.\n\nhttps://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "state", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8584__", + "_type": "request", + "name": "List enterprise consumed licenses", + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/consumed-licenses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_8585__", + "_type": "request", + "name": "Get a license sync status", + "description": "Gets information about the status of a license sync job for an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/license-sync-status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_380__", + "_id": "__REQ_8586__", + "_type": "request", + "name": "List secret scanning alerts for an enterprise", + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, { "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false } ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1590__", + "parentId": "__FLD_352__", + "_id": "__REQ_8587__", "_type": "request", "name": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1439,11 +1580,38 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1591__", + "parentId": "__FLD_352__", + "_id": "__REQ_8588__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an enterprise", + "description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_352__", + "_id": "__REQ_8589__", "_type": "request", "name": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1455,11 +1623,11 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1592__", + "parentId": "__FLD_352__", + "_id": "__REQ_8590__", "_type": "request", "name": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\nhttps://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1471,8 +1639,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1593__", + "parentId": "__FLD_350__", + "_id": "__REQ_8591__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/rest/reference/activity#list-public-events", @@ -1498,8 +1666,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1594__", + "parentId": "__FLD_350__", + "_id": "__REQ_8592__", "_type": "request", "name": "Get feeds", "description": "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/rest/reference/activity#get-feeds", @@ -1514,11 +1682,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1595__", + "parentId": "__FLD_361__", + "_id": "__REQ_8593__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1545,11 +1713,11 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1596__", + "parentId": "__FLD_361__", + "_id": "__REQ_8594__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1561,11 +1729,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1597__", + "parentId": "__FLD_361__", + "_id": "__REQ_8595__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1592,11 +1760,11 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1598__", + "parentId": "__FLD_361__", + "_id": "__REQ_8596__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1623,11 +1791,11 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1599__", + "parentId": "__FLD_361__", + "_id": "__REQ_8597__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1639,11 +1807,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1600__", + "parentId": "__FLD_361__", + "_id": "__REQ_8598__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1655,11 +1823,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1601__", + "parentId": "__FLD_361__", + "_id": "__REQ_8599__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1671,8 +1839,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1602__", + "parentId": "__FLD_361__", + "_id": "__REQ_8600__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/rest/reference/gists#list-gist-comments", @@ -1698,8 +1866,8 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1603__", + "parentId": "__FLD_361__", + "_id": "__REQ_8601__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#create-a-gist-comment", @@ -1714,8 +1882,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1604__", + "parentId": "__FLD_361__", + "_id": "__REQ_8602__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#get-a-gist-comment", @@ -1730,8 +1898,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1605__", + "parentId": "__FLD_361__", + "_id": "__REQ_8603__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#update-a-gist-comment", @@ -1746,8 +1914,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1606__", + "parentId": "__FLD_361__", + "_id": "__REQ_8604__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/rest/reference/gists#delete-a-gist-comment", @@ -1762,11 +1930,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1607__", + "parentId": "__FLD_361__", + "_id": "__REQ_8605__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1789,11 +1957,11 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1608__", + "parentId": "__FLD_361__", + "_id": "__REQ_8606__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1816,11 +1984,11 @@ ] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1609__", + "parentId": "__FLD_361__", + "_id": "__REQ_8607__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/v3/gists/#fork-a-gist", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1832,11 +2000,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1610__", + "parentId": "__FLD_361__", + "_id": "__REQ_8608__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1848,11 +2016,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1611__", + "parentId": "__FLD_361__", + "_id": "__REQ_8609__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1864,11 +2032,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1612__", + "parentId": "__FLD_361__", + "_id": "__REQ_8610__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1880,11 +2048,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1613__", + "parentId": "__FLD_361__", + "_id": "__REQ_8611__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1896,11 +2064,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1614__", + "parentId": "__FLD_363__", + "_id": "__REQ_8612__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1912,11 +2080,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1615__", + "parentId": "__FLD_363__", + "_id": "__REQ_8613__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1928,17 +2096,12 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1616__", + "parentId": "__FLD_351__", + "_id": "__REQ_8614__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1960,8 +2123,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1617__", + "parentId": "__FLD_351__", + "_id": "__REQ_8615__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#revoke-an-installation-access-token", @@ -1976,17 +2139,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1618__", + "parentId": "__FLD_365__", + "_id": "__REQ_8616__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2052,11 +2210,11 @@ ] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1619__", + "parentId": "__FLD_366__", + "_id": "__REQ_8617__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2074,15 +2232,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1620__", + "parentId": "__FLD_366__", + "_id": "__REQ_8618__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2094,11 +2257,11 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1621__", + "parentId": "__FLD_367__", + "_id": "__REQ_8619__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2110,11 +2273,11 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1622__", + "parentId": "__FLD_367__", + "_id": "__REQ_8620__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2126,8 +2289,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1623__", + "parentId": "__FLD_351__", + "_id": "__REQ_8621__", "_type": "request", "name": "Get a subscription plan for an account", "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account", @@ -2142,8 +2305,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1624__", + "parentId": "__FLD_351__", + "_id": "__REQ_8622__", "_type": "request", "name": "List plans", "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans", @@ -2169,8 +2332,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1625__", + "parentId": "__FLD_351__", + "_id": "__REQ_8623__", "_type": "request", "name": "List accounts for a plan", "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan", @@ -2205,8 +2368,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1626__", + "parentId": "__FLD_351__", + "_id": "__REQ_8624__", "_type": "request", "name": "Get a subscription plan for an account (stubbed)", "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed", @@ -2221,8 +2384,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1627__", + "parentId": "__FLD_351__", + "_id": "__REQ_8625__", "_type": "request", "name": "List plans (stubbed)", "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-plans-stubbed", @@ -2248,8 +2411,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1628__", + "parentId": "__FLD_351__", + "_id": "__REQ_8626__", "_type": "request", "name": "List accounts for a plan (stubbed)", "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed", @@ -2284,11 +2447,11 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1629__", + "parentId": "__FLD_368__", + "_id": "__REQ_8627__", "_type": "request", "name": "Get GitHub meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/v3/meta/#get-github-meta-information", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2300,8 +2463,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1630__", + "parentId": "__FLD_350__", + "_id": "__REQ_8628__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2327,8 +2490,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1631__", + "parentId": "__FLD_350__", + "_id": "__REQ_8629__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2360,20 +2523,20 @@ "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "page", + "value": 1, "disabled": false }, { - "name": "page", - "value": 1, + "name": "per_page", + "value": 50, "disabled": false } ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1632__", + "parentId": "__FLD_350__", + "_id": "__REQ_8630__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-notifications-as-read", @@ -2388,8 +2551,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1633__", + "parentId": "__FLD_350__", + "_id": "__REQ_8631__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread", @@ -2404,8 +2567,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1634__", + "parentId": "__FLD_350__", + "_id": "__REQ_8632__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/rest/reference/activity#mark-a-thread-as-read", @@ -2420,8 +2583,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1635__", + "parentId": "__FLD_350__", + "_id": "__REQ_8633__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2436,8 +2599,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1636__", + "parentId": "__FLD_350__", + "_id": "__REQ_8634__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/rest/reference/activity#set-a-thread-subscription", @@ -2452,8 +2615,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1637__", + "parentId": "__FLD_350__", + "_id": "__REQ_8635__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/rest/reference/activity#delete-a-thread-subscription", @@ -2468,11 +2631,11 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1638__", + "parentId": "__FLD_368__", + "_id": "__REQ_8636__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2489,11 +2652,11 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1639__", + "parentId": "__FLD_371__", + "_id": "__REQ_8637__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2515,69 +2678,150 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1640__", + "parentId": "__FLD_371__", + "_id": "__REQ_8638__", "_type": "request", - "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"\n\nhttps://docs.github.com/v3/orgs/#get-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], + "name": "List custom repository roles in an organization", + "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".\n\nhttps://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}", + "url": "{{ github_api_root }}/organizations/{{ organization_id }}/custom_roles", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1641__", + "parentId": "__FLD_371__", + "_id": "__REQ_8639__", "_type": "request", - "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/v3/orgs/#update-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", + "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1642__", + "parentId": "__FLD_371__", + "_id": "__REQ_8640__", "_type": "request", - "name": "Get GitHub Actions permissions for an organization", - "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/rest/reference/orgs/#update-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", - "body": {}, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8641__", + "_type": "request", + "name": "Get GitHub Actions cache usage for an organization", + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8642__", + "_type": "request", + "name": "List repositories with GitHub Actions cache usage for an organization", + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage-by-repository", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_370__", + "_id": "__REQ_8643__", + "_type": "request", + "name": "Get the customization template for an OIDC subject claim for an organization", + "description": "Gets the customization template for an OpenID Connect (OIDC) subject claim.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint.\nGitHub Apps must have the `organization_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/oidc/customization/sub", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_370__", + "_id": "__REQ_8644__", + "_type": "request", + "name": "Set the customization template for an OIDC subject claim for an organization", + "description": "Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.\nYou must authenticate using an access token with the `write:org` scope to use this endpoint.\nGitHub Apps must have the `admin:org` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/oidc/customization/sub", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8645__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1643__", + "parentId": "__FLD_349__", + "_id": "__REQ_8646__", "_type": "request", "name": "Set GitHub Actions permissions for an organization", - "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions and reusable workflows, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2589,8 +2833,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1644__", + "parentId": "__FLD_349__", + "_id": "__REQ_8647__", "_type": "request", "name": "List selected repositories enabled for GitHub Actions in an organization", "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -2616,8 +2860,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1645__", + "parentId": "__FLD_349__", + "_id": "__REQ_8648__", "_type": "request", "name": "Set selected repositories enabled for GitHub Actions in an organization", "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -2632,8 +2876,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1646__", + "parentId": "__FLD_349__", + "_id": "__REQ_8649__", "_type": "request", "name": "Enable a selected repository for GitHub Actions in an organization", "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", @@ -2648,8 +2892,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1647__", + "parentId": "__FLD_349__", + "_id": "__REQ_8650__", "_type": "request", "name": "Disable a selected repository for GitHub Actions in an organization", "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", @@ -2664,11 +2908,11 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1648__", + "parentId": "__FLD_349__", + "_id": "__REQ_8651__", "_type": "request", - "name": "Get allowed actions for an organization", - "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization", + "name": "Get allowed actions and reusable workflows for an organization", + "description": "Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2680,11 +2924,11 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1649__", + "parentId": "__FLD_349__", + "_id": "__REQ_8652__", "_type": "request", - "name": "Set allowed actions for an organization", - "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization", + "name": "Set allowed actions and reusable workflows for an organization", + "description": "Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions and reusable workflows set at the enterprise level, then you cannot override any of the enterprise's allowed actions and reusable workflows settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2696,8 +2940,40 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1650__", + "parentId": "__FLD_349__", + "_id": "__REQ_8653__", + "_type": "request", + "name": "Get default workflow permissions for an organization", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8654__", + "_type": "request", + "name": "Set default workflow permissions for an organization", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8655__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists all self-hosted runner groups configured in an organization and inherited from an enterprise.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -2719,12 +2995,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "visible_to_repository", + "disabled": false } ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1651__", + "parentId": "__FLD_349__", + "_id": "__REQ_8656__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -2739,8 +3019,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1652__", + "parentId": "__FLD_349__", + "_id": "__REQ_8657__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nGets a specific self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -2755,8 +3035,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1653__", + "parentId": "__FLD_349__", + "_id": "__REQ_8658__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -2771,8 +3051,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1654__", + "parentId": "__FLD_349__", + "_id": "__REQ_8659__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nDeletes a self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -2787,8 +3067,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1655__", + "parentId": "__FLD_349__", + "_id": "__REQ_8660__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2800,11 +3080,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1656__", + "parentId": "__FLD_349__", + "_id": "__REQ_8661__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2819,8 +3110,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1657__", + "parentId": "__FLD_349__", + "_id": "__REQ_8662__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -2835,8 +3126,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1658__", + "parentId": "__FLD_349__", + "_id": "__REQ_8663__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2851,8 +3142,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1659__", + "parentId": "__FLD_349__", + "_id": "__REQ_8664__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists self-hosted runners that are in a specific organization group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -2878,8 +3169,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1660__", + "parentId": "__FLD_349__", + "_id": "__REQ_8665__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of self-hosted runners that are part of an organization runner group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -2894,8 +3185,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1661__", + "parentId": "__FLD_349__", + "_id": "__REQ_8666__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a self-hosted runner to a runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -2910,8 +3201,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1662__", + "parentId": "__FLD_349__", + "_id": "__REQ_8667__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -2926,8 +3217,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1663__", + "parentId": "__FLD_349__", + "_id": "__REQ_8668__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -2953,8 +3244,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1664__", + "parentId": "__FLD_349__", + "_id": "__REQ_8669__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization", @@ -2969,8 +3260,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1665__", + "parentId": "__FLD_349__", + "_id": "__REQ_8670__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -2985,8 +3276,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1666__", + "parentId": "__FLD_349__", + "_id": "__REQ_8671__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3001,8 +3292,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1667__", + "parentId": "__FLD_349__", + "_id": "__REQ_8672__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3017,8 +3308,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1668__", + "parentId": "__FLD_349__", + "_id": "__REQ_8673__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3033,8 +3324,88 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1669__", + "parentId": "__FLD_349__", + "_id": "__REQ_8674__", + "_type": "request", + "name": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8675__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an organization", + "description": "Add custom labels to a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8676__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8677__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8678__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8679__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-organization-secrets", @@ -3060,8 +3431,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1670__", + "parentId": "__FLD_349__", + "_id": "__REQ_8680__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-public-key", @@ -3076,8 +3447,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1671__", + "parentId": "__FLD_349__", + "_id": "__REQ_8681__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-organization-secret", @@ -3092,11 +3463,11 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1672__", + "parentId": "__FLD_349__", + "_id": "__REQ_8682__", "_type": "request", "name": "Create or update an organization secret", - "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3108,8 +3479,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1673__", + "parentId": "__FLD_349__", + "_id": "__REQ_8683__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-organization-secret", @@ -3124,8 +3495,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1674__", + "parentId": "__FLD_349__", + "_id": "__REQ_8684__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3137,11 +3508,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1675__", + "parentId": "__FLD_349__", + "_id": "__REQ_8685__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3156,8 +3538,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1676__", + "parentId": "__FLD_349__", + "_id": "__REQ_8686__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3172,8 +3554,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1677__", + "parentId": "__FLD_349__", + "_id": "__REQ_8687__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3188,11 +3570,11 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1678__", + "parentId": "__FLD_371__", + "_id": "__REQ_8688__", "_type": "request", "name": "Get the audit log for an organization", - "description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#get-the-audit-log-for-an-organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nThis endpoint is available for organizations on GitHub Enterprise Cloud. To use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/rest/reference/orgs#get-audit-log", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3230,8 +3612,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1679__", + "parentId": "__FLD_371__", + "_id": "__REQ_8689__", "_type": "request", "name": "List users blocked by an organization", "description": "List the users blocked by an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization", @@ -3246,8 +3628,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1680__", + "parentId": "__FLD_371__", + "_id": "__REQ_8690__", "_type": "request", "name": "Check if a user is blocked by an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization", @@ -3262,8 +3644,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1681__", + "parentId": "__FLD_371__", + "_id": "__REQ_8691__", "_type": "request", "name": "Block a user from an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization", @@ -3278,8 +3660,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1682__", + "parentId": "__FLD_371__", + "_id": "__REQ_8692__", "_type": "request", "name": "Unblock a user from an organization", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization", @@ -3294,77 +3676,75 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1683__", - "_type": "request", - "name": "List SAML SSO authorizations for an organization", - "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on).\n\nhttps://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_93__", - "_id": "__REQ_1684__", - "_type": "request", - "name": "Remove a SAML SSO authorization for an organization", - "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nhttps://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations/{{ credential_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_74__", - "_id": "__REQ_1685__", + "parentId": "__FLD_354__", + "_id": "__REQ_8693__", "_type": "request", - "name": "List public organization events", - "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-organization-events", + "name": "List code scanning alerts for an organization", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "url": "{{ github_api_root }}/orgs/{{ org }}/code-scanning/alerts", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", "disabled": false }, { "name": "page", "value": 1, "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "state", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1686__", + "parentId": "__FLD_356__", + "_id": "__REQ_8694__", "_type": "request", - "name": "List failed organization invitations", - "description": "The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.\n\nhttps://docs.github.com/rest/reference/orgs#list-failed-organization-invitations", + "name": "List codespaces for the organization", + "description": "Lists the codespaces associated to a specified organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-in-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/failed_invitations", + "url": "{{ github_api_root }}/orgs/{{ org }}/codespaces", "body": {}, "parameters": [ { @@ -3380,18 +3760,18 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1687__", + "parentId": "__FLD_371__", + "_id": "__REQ_8695__", "_type": "request", - "name": "List organization webhooks", - "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-webhooks", + "name": "List SAML SSO authorizations for an organization", + "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `read:org` scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see [About authentication with SAML single sign-on](https://docs.github.com/en/articles/about-authentication-with-saml-single-sign-on).\n\nhttps://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations", "body": {}, "parameters": [ { @@ -3401,227 +3781,209 @@ }, { "name": "page", - "value": 1, + "disabled": false + }, + { + "name": "login", "disabled": false } ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1688__", + "parentId": "__FLD_371__", + "_id": "__REQ_8696__", "_type": "request", - "name": "Create an organization webhook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-webhook", + "name": "Remove a SAML SSO authorization for an organization", + "description": "Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\n\nAn authenticated organization owner with the `admin:org` scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.\n\nhttps://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/credential-authorizations/{{ credential_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1689__", + "parentId": "__FLD_357__", + "_id": "__REQ_8697__", "_type": "request", - "name": "Get an organization webhook", - "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-webhook", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#list-organization-secrets", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_93__", - "_id": "__REQ_1690__", - "_type": "request", - "name": "Update an organization webhook", - "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-webhook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_93__", - "_id": "__REQ_1691__", - "_type": "request", - "name": "Delete an organization webhook", - "description": "\n\nhttps://docs.github.com/rest/reference/orgs#delete-an-organization-webhook", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1692__", + "parentId": "__FLD_357__", + "_id": "__REQ_8698__", "_type": "request", - "name": "Get a webhook configuration for an organization", - "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/v3/orgs#get-a-webhook-configuration-for-an-organization", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#get-an-organization-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/public-key", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1693__", + "parentId": "__FLD_357__", + "_id": "__REQ_8699__", "_type": "request", - "name": "Update a webhook configuration for an organization", - "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/v3/orgs#update-a-webhook-configuration-for-an-organization", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#get-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1694__", + "parentId": "__FLD_357__", + "_id": "__REQ_8700__", "_type": "request", - "name": "Ping an organization webhook", - "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/orgs#ping-an-organization-webhook", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1695__", + "parentId": "__FLD_357__", + "_id": "__REQ_8701__", "_type": "request", - "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#delete-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1696__", + "parentId": "__FLD_357__", + "_id": "__REQ_8702__", "_type": "request", - "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/v3/orgs/#list-app-installations-for-an-organization", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "page", + "value": 1, "disabled": false }, { - "name": "page", - "value": 1, + "name": "per_page", + "value": 30, "disabled": false } ] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1697__", + "parentId": "__FLD_357__", + "_id": "__REQ_8703__", "_type": "request", - "name": "Get interaction restrictions for an organization", - "description": "Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", "body": {}, "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1698__", + "parentId": "__FLD_357__", + "_id": "__REQ_8704__", "_type": "request", - "name": "Set interaction restrictions for an organization", - "description": "Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#add-selected-repository-to-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1699__", + "parentId": "__FLD_357__", + "_id": "__REQ_8705__", "_type": "request", - "name": "Remove interaction restrictions for an organization", - "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1700__", + "parentId": "__FLD_350__", + "_id": "__REQ_8706__", "_type": "request", - "name": "List pending organization invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-organization-events", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", "body": {}, "parameters": [ { @@ -3637,50 +3999,34 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1701__", - "_type": "request", - "name": "Create an organization invitation", - "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-invitation", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_93__", - "_id": "__REQ_1702__", + "parentId": "__FLD_381__", + "_id": "__REQ_8707__", "_type": "request", - "name": "Cancel an organization invitation", - "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nhttps://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation", + "name": "Get an external group", + "description": "Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/teams#external-idp-group-info-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/external-group/{{ group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1703__", + "parentId": "__FLD_381__", + "_id": "__REQ_8708__", "_type": "request", - "name": "List organization invitation teams", - "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-invitation-teams", + "name": "List external groups in an organization", + "description": "Lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/teams#list-external-idp-groups-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/external-groups", "body": {}, "parameters": [ { @@ -3690,59 +4036,29 @@ }, { "name": "page", - "value": 1, + "disabled": false + }, + { + "name": "display_name", "disabled": false } ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1704__", + "parentId": "__FLD_371__", + "_id": "__REQ_8709__", "_type": "request", - "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List failed organization invitations", + "description": "The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.\n\nhttps://docs.github.com/rest/reference/orgs#list-failed-organization-invitations", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "url": "{{ github_api_root }}/orgs/{{ org }}/failed_invitations", "body": {}, "parameters": [ - { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3756,30 +4072,20 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1705__", + "parentId": "__FLD_371__", + "_id": "__REQ_8710__", "_type": "request", - "name": "List organization members", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-members", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", "body": {}, "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "role", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3793,103 +4099,114 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1706__", + "parentId": "__FLD_371__", + "_id": "__REQ_8711__", "_type": "request", - "name": "Check organization membership for a user", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_371__", + "_id": "__REQ_8712__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1707__", + "parentId": "__FLD_371__", + "_id": "__REQ_8713__", "_type": "request", - "name": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-an-organization-member", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1708__", + "parentId": "__FLD_371__", + "_id": "__REQ_8714__", "_type": "request", - "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#delete-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1709__", + "parentId": "__FLD_371__", + "_id": "__REQ_8715__", "_type": "request", - "name": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1710__", + "parentId": "__FLD_371__", + "_id": "__REQ_8716__", "_type": "request", - "name": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1711__", + "parentId": "__FLD_371__", + "_id": "__REQ_8717__", "_type": "request", - "name": "List organization migrations", - "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/rest/reference/migrations#list-organization-migrations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", "body": {}, "parameters": [ { @@ -3898,130 +4215,88 @@ "disabled": false }, { - "name": "page", - "value": 1, + "name": "cursor", "disabled": false } ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1712__", + "parentId": "__FLD_371__", + "_id": "__REQ_8718__", "_type": "request", - "name": "Start an organization migration", - "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-organization-migration", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1713__", + "parentId": "__FLD_371__", + "_id": "__REQ_8719__", "_type": "request", - "name": "Get an organization migration status", - "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1714__", + "parentId": "__FLD_371__", + "_id": "__REQ_8720__", "_type": "request", - "name": "Download an organization migration archive", - "description": "Fetches the URL to a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1715__", + "parentId": "__FLD_351__", + "_id": "__REQ_8721__", "_type": "request", - "name": "Delete an organization migration archive", - "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.\n\nhttps://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_91__", - "_id": "__REQ_1716__", - "_type": "request", - "name": "Unlock an organization repository", - "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", "body": {}, "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1717__", + "parentId": "__FLD_371__", + "_id": "__REQ_8722__", "_type": "request", - "name": "List repositories in an organization migration", - "description": "List all the repositories for this organization migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repositories", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", "body": {}, "parameters": [ { @@ -4037,94 +4312,68 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1718__", + "parentId": "__FLD_364__", + "_id": "__REQ_8723__", "_type": "request", - "name": "List outside collaborators for an organization", - "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "name": "Get interaction restrictions for an organization", + "description": "Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, - "parameters": [ - { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1719__", + "parentId": "__FLD_364__", + "_id": "__REQ_8724__", "_type": "request", - "name": "Convert an organization member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "name": "Set interaction restrictions for an organization", + "description": "Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1720__", + "parentId": "__FLD_364__", + "_id": "__REQ_8725__", "_type": "request", - "name": "Remove outside collaborator from an organization", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "name": "Remove interaction restrictions for an organization", + "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/interaction-limits", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1721__", + "parentId": "__FLD_371__", + "_id": "__REQ_8726__", "_type": "request", - "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-organization-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List pending organization invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", "body": {}, "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -4138,39 +4387,50 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1722__", + "parentId": "__FLD_371__", + "_id": "__REQ_8727__", "_type": "request", - "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-an-organization-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create an organization invitation", + "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/orgs#create-an-organization-invitation", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1723__", + "parentId": "__FLD_371__", + "_id": "__REQ_8728__", "_type": "request", - "name": "List public organization members", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/rest/reference/orgs#list-public-organization-members", + "name": "Cancel an organization invitation", + "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications).\n\nhttps://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_371__", + "_id": "__REQ_8729__", + "_type": "request", + "name": "List organization invitation teams", + "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-invitation-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "url": "{{ github_api_root }}/orgs/{{ org }}/invitations/{{ invitation_id }}/teams", "body": {}, "parameters": [ { @@ -4186,84 +4446,83 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1724__", + "parentId": "__FLD_365__", + "_id": "__REQ_8730__", "_type": "request", - "name": "Check public organization membership for a user", - "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_93__", - "_id": "__REQ_1725__", - "_type": "request", - "name": "Set public organization membership for the authenticated user", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1726__", + "parentId": "__FLD_371__", + "_id": "__REQ_8731__", "_type": "request", - "name": "Remove public organization membership for the authenticated user", - "description": "\n\nhttps://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_98__", - "_id": "__REQ_1727__", - "_type": "request", - "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/v3/repos/#list-organization-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", "body": {}, "parameters": [ { - "name": "type", - "disabled": false - }, - { - "name": "sort", - "value": "created", + "name": "filter", + "value": "all", "disabled": false }, { - "name": "direction", + "name": "role", + "value": "all", "disabled": false }, { @@ -4279,331 +4538,278 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1728__", + "parentId": "__FLD_371__", + "_id": "__REQ_8732__", "_type": "request", - "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-an-organization-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1729__", + "parentId": "__FLD_371__", + "_id": "__REQ_8733__", "_type": "request", - "name": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-an-organization", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-an-organization-member", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/actions", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1730__", + "parentId": "__FLD_356__", + "_id": "__REQ_8734__", "_type": "request", - "name": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage usued for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-an-organization", + "name": "Delete a codespace from the organization", + "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/packages", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}/codespaces/{{ codespace_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1731__", + "parentId": "__FLD_356__", + "_id": "__REQ_8735__", "_type": "request", - "name": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-organization", + "name": "Stop a codespace for an organization user", + "description": "Stops a user's codespace.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/shared-storage", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}/codespaces/{{ codespace_name }}/stop", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1732__", + "parentId": "__FLD_371__", + "_id": "__REQ_8736__", "_type": "request", - "name": "List IdP groups for an organization", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nThe `per_page` parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user `octocat` wants to see two groups per page in `octo-org` via cURL, it would look like this:\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/team-sync/groups", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1733__", + "parentId": "__FLD_371__", + "_id": "__REQ_8737__", "_type": "request", - "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/v3/teams/#list-teams", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1734__", + "parentId": "__FLD_371__", + "_id": "__REQ_8738__", "_type": "request", - "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/v3/teams/#create-a-team", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1735__", + "parentId": "__FLD_369__", + "_id": "__REQ_8739__", "_type": "request", - "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#get-a-team-by-name", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/rest/reference/migrations#list-organization-migrations", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "exclude", + "disabled": false + } + ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1736__", + "parentId": "__FLD_369__", + "_id": "__REQ_8740__", "_type": "request", - "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#update-a-team", + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-organization-migration", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1737__", + "parentId": "__FLD_369__", + "_id": "__REQ_8741__", "_type": "request", - "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/v3/teams/#delete-a-team", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_102__", - "_id": "__REQ_1738__", - "_type": "request", - "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", "body": {}, "parameters": [ { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "exclude", "disabled": false } ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1739__", + "parentId": "__FLD_369__", + "_id": "__REQ_8742__", "_type": "request", - "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Download an organization migration archive", + "description": "Fetches the URL to a migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1740__", + "parentId": "__FLD_369__", + "_id": "__REQ_8743__", "_type": "request", - "name": "Get a discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Delete an organization migration archive", + "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.\n\nhttps://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/archive", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1741__", + "parentId": "__FLD_369__", + "_id": "__REQ_8744__", "_type": "request", - "name": "Update a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Unlock an organization repository", + "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/reference/repos#delete-a-repository) when the migration is complete and you no longer need the source data.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repos/{{ repo_name }}/lock", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1742__", + "parentId": "__FLD_369__", + "_id": "__REQ_8745__", "_type": "request", - "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion", + "name": "List repositories in an organization migration", + "description": "List all the repositories for this organization migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1743__", + "parentId": "__FLD_371__", + "_id": "__REQ_8746__", "_type": "request", - "name": "List discussion comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", "body": {}, "parameters": [ { - "name": "direction", - "value": "desc", + "name": "filter", + "value": "all", "disabled": false }, { @@ -4619,106 +4825,133 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1744__", + "parentId": "__FLD_371__", + "_id": "__REQ_8747__", "_type": "request", - "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nhttps://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1745__", + "parentId": "__FLD_371__", + "_id": "__REQ_8748__", "_type": "request", - "name": "Get a discussion comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1746__", + "parentId": "__FLD_372__", + "_id": "__REQ_8749__", "_type": "request", - "name": "Update a discussion comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment", - "headers": [ + "name": "List packages for an organization", + "description": "Lists all packages in an organization readable by the user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#list-packages-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages", + "body": {}, + "parameters": [ + { + "name": "package_type", + "disabled": false + }, { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "name": "visibility", + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_8750__", + "_type": "request", + "name": "Get a package for an organization", + "description": "Gets a specific package in an organization.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1747__", + "parentId": "__FLD_372__", + "_id": "__REQ_8751__", "_type": "request", - "name": "Delete a discussion comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment", + "name": "Delete a package for an organization", + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container you want to delete.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1748__", + "parentId": "__FLD_372__", + "_id": "__REQ_8752__", "_type": "request", - "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", - "headers": [ + "name": "Restore a package for an organization", + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}/restore", + "body": {}, + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "name": "token", + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_8753__", + "_type": "request", + "name": "Get all package versions for a package owned by an organization", + "description": "Returns all package versions for a package owned by an organization.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}/versions", "body": {}, "parameters": [ { - "name": "content", + "name": "page", + "value": 1, "disabled": false }, { @@ -4727,76 +4960,78 @@ "disabled": false }, { - "name": "page", - "value": 1, + "name": "state", + "value": "active", "disabled": false } ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1749__", + "parentId": "__FLD_372__", + "_id": "__REQ_8754__", "_type": "request", - "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a package version for an organization", + "description": "Gets a specific package version in an organization.\n\nYou must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-version-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1750__", + "parentId": "__FLD_372__", + "_id": "__REQ_8755__", "_type": "request", - "name": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-comment-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Delete package version for an organization", + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container you want to delete.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-version-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1751__", + "parentId": "__FLD_372__", + "_id": "__REQ_8756__", "_type": "request", - "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Restore package version for an organization", + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-version-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}/restore", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_373__", + "_id": "__REQ_8757__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#list-organization-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", "body": {}, "parameters": [ { - "name": "content", + "name": "state", + "value": "open", "disabled": false }, { @@ -4812,62 +5047,124 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1752__", + "parentId": "__FLD_373__", + "_id": "__REQ_8758__", "_type": "request", - "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#create-an-organization-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1753__", + "parentId": "__FLD_371__", + "_id": "__REQ_8759__", "_type": "request", - "name": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#delete-team-discussion-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/rest/reference/orgs#list-public-organization-members", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", - "body": {}, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_371__", + "_id": "__REQ_8760__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1754__", + "parentId": "__FLD_371__", + "_id": "__REQ_8761__", "_type": "request", - "name": "List pending team invitations", - "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_371__", + "_id": "__REQ_8762__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8763__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/rest/reference/repos#list-organization-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/invitations", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -4881,103 +5178,155 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1755__", + "parentId": "__FLD_377__", + "_id": "__REQ_8764__", "_type": "request", - "name": "List team members", - "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/rest/reference/repos#create-an-organization-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_380__", + "_id": "__REQ_8765__", + "_type": "request", + "name": "List secret scanning alerts for an organization", + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "url": "{{ github_api_root }}/orgs/{{ org }}/secret-scanning/alerts", "body": {}, "parameters": [ { - "name": "role", - "value": "all", + "name": "state", "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", "disabled": false }, { "name": "page", "value": 1, "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false } ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1756__", + "parentId": "__FLD_371__", + "_id": "__REQ_8766__", "_type": "request", - "name": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user", + "name": "List security manager teams", + "description": "Lists teams that are security managers for an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `read:org` scope.\n\nGitHub Apps must have the `administration` organization read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#list-security-manager-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/security-managers", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1757__", + "parentId": "__FLD_371__", + "_id": "__REQ_8767__", "_type": "request", - "name": "Add or update team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user", + "name": "Add a security manager team", + "description": "Adds a team as a security manager for an organization. For more information, see \"[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization.\"\n\nTo use this endpoint, you must be an administrator for the organization, and you must use an access token with the `write:org` scope.\n\nGitHub Apps must have the `administration` organization read-write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#add-a-security-manager-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/security-managers/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1758__", + "parentId": "__FLD_371__", + "_id": "__REQ_8768__", "_type": "request", - "name": "Remove team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user", + "name": "Remove a security manager team", + "description": "Removes the security manager role from a team for an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization.\"\n\nTo use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.\n\nGitHub Apps must have the `administration` organization read-write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/orgs#remove-a-security-manager-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/security-managers/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1759__", + "parentId": "__FLD_352__", + "_id": "__REQ_8769__", "_type": "request", - "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/v3/teams/#list-team-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get GitHub Actions billing for an organization", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_352__", + "_id": "__REQ_8770__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an organization", + "description": "Gets the GitHub Advanced Security active committers for an organization per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.\n\nIf this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/advanced-security", "body": {}, "parameters": [ { @@ -4993,76 +5342,50 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1760__", + "parentId": "__FLD_352__", + "_id": "__REQ_8771__", "_type": "request", - "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get GitHub Packages billing for an organization", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_102__", - "_id": "__REQ_1761__", - "_type": "request", - "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-project-permissions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/packages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1762__", + "parentId": "__FLD_352__", + "_id": "__REQ_8772__", "_type": "request", - "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-project-from-a-team", + "name": "Get shared storage billing for an organization", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/shared-storage", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1763__", + "parentId": "__FLD_381__", + "_id": "__REQ_8773__", "_type": "request", - "name": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/v3/teams/#list-team-repositories", + "name": "List IdP groups for an organization", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups available in an organization. You can limit your page results using the `per_page` parameter. GitHub generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/team-sync/groups", "body": {}, "parameters": [ { @@ -5072,106 +5395,121 @@ }, { "name": "page", - "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1764__", + "parentId": "__FLD_381__", + "_id": "__REQ_8774__", "_type": "request", - "name": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-repository", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1765__", + "parentId": "__FLD_381__", + "_id": "__REQ_8775__", "_type": "request", - "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-repository-permissions", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1766__", + "parentId": "__FLD_381__", + "_id": "__REQ_8776__", "_type": "request", - "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/v3/teams/#remove-a-repository-from-a-team", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1767__", + "parentId": "__FLD_381__", + "_id": "__REQ_8777__", "_type": "request", - "name": "List IdP groups for a team", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1768__", + "parentId": "__FLD_381__", + "_id": "__REQ_8778__", "_type": "request", - "name": "Create or update IdP group connections", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_1769__", + "parentId": "__FLD_381__", + "_id": "__REQ_8779__", "_type": "request", - "name": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/v3/teams/#list-child-teams", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", "body": {}, "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -5181,179 +5519,95 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "pinned", + "disabled": false } ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1770__", + "parentId": "__FLD_381__", + "_id": "__REQ_8780__", "_type": "request", - "name": "Get a project card", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1771__", + "parentId": "__FLD_381__", + "_id": "__REQ_8781__", "_type": "request", - "name": "Update an existing project card", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1772__", + "parentId": "__FLD_381__", + "_id": "__REQ_8782__", "_type": "request", - "name": "Delete a project card", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_94__", - "_id": "__REQ_1773__", - "_type": "request", - "name": "Move a project card", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_94__", - "_id": "__REQ_1774__", - "_type": "request", - "name": "Get a project column", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_94__", - "_id": "__REQ_1775__", - "_type": "request", - "name": "Update an existing project column", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1776__", + "parentId": "__FLD_381__", + "_id": "__REQ_8783__", "_type": "request", - "name": "Delete a project column", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1777__", + "parentId": "__FLD_381__", + "_id": "__REQ_8784__", "_type": "request", - "name": "List project cards", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-cards", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [ { - "name": "archived_state", - "value": "not_archived", + "name": "direction", + "value": "desc", "disabled": false }, { @@ -5369,133 +5623,86 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1778__", - "_type": "request", - "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_94__", - "_id": "__REQ_1779__", + "parentId": "__FLD_381__", + "_id": "__REQ_8785__", "_type": "request", - "name": "Move a project column", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1780__", + "parentId": "__FLD_381__", + "_id": "__REQ_8786__", "_type": "request", - "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#get-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1781__", + "parentId": "__FLD_381__", + "_id": "__REQ_8787__", "_type": "request", - "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#update-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1782__", + "parentId": "__FLD_381__", + "_id": "__REQ_8788__", "_type": "request", - "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/v3/projects/#delete-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1783__", + "parentId": "__FLD_376__", + "_id": "__REQ_8789__", "_type": "request", - "name": "List project collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/rest/reference/projects#list-project-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", "body": {}, "parameters": [ { - "name": "affiliation", - "value": "all", + "name": "content", "disabled": false }, { @@ -5511,88 +5718,56 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1784__", + "parentId": "__FLD_376__", + "_id": "__REQ_8790__", "_type": "request", - "name": "Add project collaborator", - "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#add-project-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1785__", + "parentId": "__FLD_376__", + "_id": "__REQ_8791__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#remove-project-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_94__", - "_id": "__REQ_1786__", - "_type": "request", - "name": "Get project permission for a user", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/rest/reference/projects#get-project-permission-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1787__", + "parentId": "__FLD_376__", + "_id": "__REQ_8792__", "_type": "request", - "name": "List project columns", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-columns", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, "parameters": [ + { + "name": "content", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -5606,134 +5781,98 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1788__", + "parentId": "__FLD_376__", + "_id": "__REQ_8793__", "_type": "request", - "name": "Create a project column", - "description": "\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1789__", + "parentId": "__FLD_376__", + "_id": "__REQ_8794__", "_type": "request", - "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/rate_limit", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_97__", - "_id": "__REQ_1790__", - "_type": "request", - "name": "Delete a reaction (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-reaction-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "DELETE", - "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1791__", + "parentId": "__FLD_381__", + "_id": "__REQ_8795__", "_type": "request", - "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/v3/repos/#get-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "List a connection between an external group and a team", + "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/teams#list-external-idp-group-team-connection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/external-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1792__", + "parentId": "__FLD_381__", + "_id": "__REQ_8796__", "_type": "request", - "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/v3/repos/#update-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "Update the connection between an external group and a team", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/teams#link-external-idp-group-team-connection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/external-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1793__", + "parentId": "__FLD_381__", + "_id": "__REQ_8797__", "_type": "request", - "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/v3/repos/#delete-a-repository", + "name": "Remove the connection between an external group and a team", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/teams#unlink-external-idp-group-team-connection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/external-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1794__", + "parentId": "__FLD_381__", + "_id": "__REQ_8798__", "_type": "request", - "name": "List artifacts for a repository", - "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository", + "name": "List pending team invitations", + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/invitations", "body": {}, "parameters": [ { @@ -5749,162 +5888,173 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1795__", + "parentId": "__FLD_381__", + "_id": "__REQ_8799__", "_type": "request", - "name": "Get an artifact", - "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-artifact", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1796__", + "parentId": "__FLD_381__", + "_id": "__REQ_8800__", "_type": "request", - "name": "Delete an artifact", - "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-artifact", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1797__", + "parentId": "__FLD_381__", + "_id": "__REQ_8801__", "_type": "request", - "name": "Download an artifact", - "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-an-artifact", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1798__", + "parentId": "__FLD_381__", + "_id": "__REQ_8802__", "_type": "request", - "name": "Get a job for a workflow run", - "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1799__", + "parentId": "__FLD_381__", + "_id": "__REQ_8803__", "_type": "request", - "name": "Download job logs for a workflow run", - "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/rest/reference/teams#list-team-projects", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1800__", + "parentId": "__FLD_381__", + "_id": "__REQ_8804__", "_type": "request", - "name": "Get GitHub Actions permissions for a repository", - "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1801__", + "parentId": "__FLD_381__", + "_id": "__REQ_8805__", "_type": "request", - "name": "Set GitHub Actions permissions for a repository", - "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_73__", - "_id": "__REQ_1802__", - "_type": "request", - "name": "Get allowed actions for a repository", - "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1803__", + "parentId": "__FLD_381__", + "_id": "__REQ_8806__", "_type": "request", - "name": "Set allowed actions for a repository", - "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/rest/reference/teams#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1804__", + "parentId": "__FLD_381__", + "_id": "__REQ_8807__", "_type": "request", - "name": "List self-hosted runners for a repository", - "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/rest/reference/teams#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", "body": {}, "parameters": [ { @@ -5920,116 +6070,100 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1805__", + "parentId": "__FLD_381__", + "_id": "__REQ_8808__", "_type": "request", - "name": "List runner applications for a repository", - "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1806__", + "parentId": "__FLD_381__", + "_id": "__REQ_8809__", "_type": "request", - "name": "Create a registration token for a repository", - "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1807__", + "parentId": "__FLD_381__", + "_id": "__REQ_8810__", "_type": "request", - "name": "Create a remove token for a repository", - "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1808__", + "parentId": "__FLD_381__", + "_id": "__REQ_8811__", "_type": "request", - "name": "Get a self-hosted runner for a repository", - "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "name": "List IdP groups for a team", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1809__", + "parentId": "__FLD_381__", + "_id": "__REQ_8812__", "_type": "request", - "name": "Delete a self-hosted runner from a repository", - "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "name": "Create or update IdP group connections", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings`.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/team-sync/group-mappings", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1810__", + "parentId": "__FLD_381__", + "_id": "__REQ_8813__", "_type": "request", - "name": "List workflow runs for a repository", - "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/rest/reference/teams#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", "body": {}, "parameters": [ - { - "name": "actor", - "disabled": false - }, - { - "name": "branch", - "disabled": false - }, - { - "name": "event", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -6043,191 +6177,137 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1811__", + "parentId": "__FLD_373__", + "_id": "__REQ_8814__", "_type": "request", - "name": "Get a workflow run", - "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow-run", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1812__", + "parentId": "__FLD_373__", + "_id": "__REQ_8815__", "_type": "request", - "name": "Delete a workflow run", - "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-workflow-run", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1813__", + "parentId": "__FLD_373__", + "_id": "__REQ_8816__", "_type": "request", - "name": "List workflow run artifacts", - "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-run-artifacts", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1814__", + "parentId": "__FLD_373__", + "_id": "__REQ_8817__", "_type": "request", - "name": "Cancel a workflow run", - "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#cancel-a-workflow-run", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1815__", - "_type": "request", - "name": "List jobs for a workflow run", - "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", - "body": {}, - "parameters": [ - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_73__", - "_id": "__REQ_1816__", + "parentId": "__FLD_373__", + "_id": "__REQ_8818__", "_type": "request", - "name": "Download workflow run logs", - "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-workflow-run-logs", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#get-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_73__", - "_id": "__REQ_1817__", - "_type": "request", - "name": "Delete workflow run logs", - "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-workflow-run-logs", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1818__", + "parentId": "__FLD_373__", + "_id": "__REQ_8819__", "_type": "request", - "name": "Re-run a workflow", - "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-a-workflow", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#update-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1819__", + "parentId": "__FLD_373__", + "_id": "__REQ_8820__", "_type": "request", - "name": "Get workflow run usage", - "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-run-usage", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/timing", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1820__", + "parentId": "__FLD_373__", + "_id": "__REQ_8821__", "_type": "request", - "name": "List repository secrets", - "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-secrets", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-cards", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -6241,84 +6321,105 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1821__", + "parentId": "__FLD_373__", + "_id": "__REQ_8822__", "_type": "request", - "name": "Get a repository public key", - "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-public-key", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1822__", + "parentId": "__FLD_373__", + "_id": "__REQ_8823__", "_type": "request", - "name": "Get a repository secret", - "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-secret", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#move-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1823__", + "parentId": "__FLD_373__", + "_id": "__REQ_8824__", "_type": "request", - "name": "Create or update a repository secret", - "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#get-a-project", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1824__", + "parentId": "__FLD_373__", + "_id": "__REQ_8825__", "_type": "request", - "name": "Delete a repository secret", - "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-repository-secret", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#update-a-project", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1825__", + "parentId": "__FLD_373__", + "_id": "__REQ_8826__", "_type": "request", - "name": "List repository workflows", - "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-workflows", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/rest/reference/projects#delete-a-project", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", - "body": {}, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_373__", + "_id": "__REQ_8827__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/rest/reference/projects#list-project-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -6332,100 +6433,68 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1826__", - "_type": "request", - "name": "Get a workflow", - "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_73__", - "_id": "__REQ_1827__", + "parentId": "__FLD_373__", + "_id": "__REQ_8828__", "_type": "request", - "name": "Disable a workflow", - "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-workflow", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#add-project-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1828__", + "parentId": "__FLD_373__", + "_id": "__REQ_8829__", "_type": "request", - "name": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/rest/reference/projects#remove-project-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1829__", + "parentId": "__FLD_373__", + "_id": "__REQ_8830__", "_type": "request", - "name": "Enable a workflow", - "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-workflow", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/rest/reference/projects#get-project-permission-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", "body": {}, "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1830__", + "parentId": "__FLD_373__", + "_id": "__REQ_8831__", "_type": "request", - "name": "List workflow runs", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-project-columns", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [ - { - "name": "actor", - "disabled": false - }, - { - "name": "branch", - "disabled": false - }, - { - "name": "event", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -6439,125 +6508,100 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1831__", + "parentId": "__FLD_373__", + "_id": "__REQ_8832__", "_type": "request", - "name": "Get workflow usage", - "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-usage", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#create-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/timing", + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1832__", + "parentId": "__FLD_375__", + "_id": "__REQ_8833__", "_type": "request", - "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/rest/reference/issues#list-assignees", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "url": "{{ github_api_root }}/rate_limit", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1833__", + "parentId": "__FLD_377__", + "_id": "__REQ_8834__", "_type": "request", - "name": "Check if a user can be assigned", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned", + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1834__", + "parentId": "__FLD_377__", + "_id": "__REQ_8835__", "_type": "request", - "name": "Enable automated security fixes", - "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#enable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/rest/reference/repos/#update-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1835__", + "parentId": "__FLD_377__", + "_id": "__REQ_8836__", "_type": "request", - "name": "Disable automated security fixes", - "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/v3/repos/#disable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1836__", + "parentId": "__FLD_349__", + "_id": "__REQ_8837__", "_type": "request", - "name": "List branches", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-branches", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", "body": {}, "parameters": [ - { - "name": "protected", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -6571,661 +6615,738 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1837__", + "parentId": "__FLD_349__", + "_id": "__REQ_8838__", "_type": "request", - "name": "Get a branch", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-branch", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1838__", + "parentId": "__FLD_349__", + "_id": "__REQ_8839__", "_type": "request", - "name": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-artifact", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1839__", + "parentId": "__FLD_349__", + "_id": "__REQ_8840__", "_type": "request", - "name": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/rest/reference/repos#update-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-an-artifact", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1840__", + "parentId": "__FLD_349__", + "_id": "__REQ_8841__", "_type": "request", - "name": "Delete branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-branch-protection", + "name": "Get GitHub Actions cache usage for a repository", + "description": "Gets GitHub Actions cache usage for a repository.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1841__", + "parentId": "__FLD_349__", + "_id": "__REQ_8842__", "_type": "request", - "name": "Get admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-admin-branch-protection", + "name": "List GitHub Actions caches for a repository", + "description": "Lists the GitHub Actions caches for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/caches", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "key", + "disabled": false + }, + { + "name": "sort", + "value": "last_accessed_at", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1842__", + "parentId": "__FLD_349__", + "_id": "__REQ_8843__", "_type": "request", - "name": "Set admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#set-admin-branch-protection", + "name": "Delete GitHub Actions caches for a repository (using a cache key)", + "description": "Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nGitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/caches", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "key", + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1843__", + "parentId": "__FLD_349__", + "_id": "__REQ_8844__", "_type": "request", - "name": "Delete admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#delete-admin-branch-protection", + "name": "Delete a GitHub Actions cache for a repository (using a cache ID)", + "description": "Deletes a GitHub Actions cache for a repository, using a cache ID.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nGitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/caches/{{ cache_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1844__", + "parentId": "__FLD_349__", + "_id": "__REQ_8845__", "_type": "request", - "name": "Get pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-pull-request-review-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1845__", + "parentId": "__FLD_349__", + "_id": "__REQ_8846__", "_type": "request", - "name": "Update pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/rest/reference/repos#update-pull-request-review-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1846__", + "parentId": "__FLD_349__", + "_id": "__REQ_8847__", "_type": "request", - "name": "Delete pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", + "name": "Re-run a job from a workflow run", + "description": "Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-job-for-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/rerun", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1847__", + "parentId": "__FLD_349__", + "_id": "__REQ_8848__", "_type": "request", - "name": "Get commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#get-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "name": "Get the opt-out flag of an OIDC subject claim customization for a repository", + "description": "Gets the `opt-out` flag of a GitHub Actions OpenID Connect (OIDC) subject claim customization for a repository.\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `organization_administration:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/oidc#get-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/oidc/customization/sub", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1848__", + "parentId": "__FLD_349__", + "_id": "__REQ_8849__", "_type": "request", - "name": "Create commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#create-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "name": "Set the opt-in flag of an OIDC subject claim customization for a repository", + "description": "Sets the `opt-in` or `opt-out` flag of a GitHub Actions OpenID Connect (OIDC) subject claim customization for a repository.\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/actions/oidc#set-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/oidc/customization/sub", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1849__", + "parentId": "__FLD_349__", + "_id": "__REQ_8850__", "_type": "request", - "name": "Delete commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#delete-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1850__", + "parentId": "__FLD_349__", + "_id": "__REQ_8851__", "_type": "request", - "name": "Get status checks protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-status-checks-protection", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions and reusable workflows, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1851__", + "parentId": "__FLD_349__", + "_id": "__REQ_8852__", "_type": "request", - "name": "Update status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#update-status-check-potection", + "name": "Get the level of access for workflows outside of the repository", + "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-access-level-to-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1852__", + "parentId": "__FLD_349__", + "_id": "__REQ_8853__", "_type": "request", - "name": "Remove status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-protection", + "name": "Set the level of access for workflows outside of the repository", + "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-workflow-access-to-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1853__", + "parentId": "__FLD_349__", + "_id": "__REQ_8854__", "_type": "request", - "name": "Get all status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-all-status-check-contexts", + "name": "Get allowed actions and reusable workflows for a repository", + "description": "Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1854__", + "parentId": "__FLD_349__", + "_id": "__REQ_8855__", "_type": "request", - "name": "Add status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#add-status-check-contexts", + "name": "Set allowed actions and reusable workflows for a repository", + "description": "Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions and reusable workflows set at the organization or enterprise levels, then you cannot override any of the allowed actions and reusable workflows settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1855__", + "parentId": "__FLD_349__", + "_id": "__REQ_8856__", "_type": "request", - "name": "Set status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#set-status-check-contexts", + "name": "Get default workflow permissions for a repository", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,\nas well as if GitHub Actions can submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/workflow", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1856__", + "parentId": "__FLD_349__", + "_id": "__REQ_8857__", "_type": "request", - "name": "Remove status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-contexts", + "name": "Set default workflow permissions for a repository", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions\ncan submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.\n\nhttps://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/workflow", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1857__", + "parentId": "__FLD_349__", + "_id": "__REQ_8858__", "_type": "request", - "name": "Get access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-access-restrictions", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1858__", + "parentId": "__FLD_349__", + "_id": "__REQ_8859__", "_type": "request", - "name": "Delete access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/rest/reference/repos#delete-access-restrictions", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1859__", + "parentId": "__FLD_349__", + "_id": "__REQ_8860__", "_type": "request", - "name": "Get apps with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1860__", + "parentId": "__FLD_349__", + "_id": "__REQ_8861__", "_type": "request", - "name": "Add app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-app-access-restrictions", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1861__", + "parentId": "__FLD_349__", + "_id": "__REQ_8862__", "_type": "request", - "name": "Set app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-app-access-restrictions", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1862__", + "parentId": "__FLD_349__", + "_id": "__REQ_8863__", "_type": "request", - "name": "Remove app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-app-access-restrictions", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1863__", + "parentId": "__FLD_349__", + "_id": "__REQ_8864__", "_type": "request", - "name": "Get teams with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "name": "List labels for a self-hosted runner for a repository", + "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1864__", + "parentId": "__FLD_349__", + "_id": "__REQ_8865__", "_type": "request", - "name": "Add team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-team-access-restrictions", + "name": "Add custom labels to a self-hosted runner for a repository", + "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1865__", + "parentId": "__FLD_349__", + "_id": "__REQ_8866__", "_type": "request", - "name": "Set team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-team-access-restrictions", + "name": "Set custom labels for a self-hosted runner for a repository", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1866__", + "parentId": "__FLD_349__", + "_id": "__REQ_8867__", "_type": "request", - "name": "Remove team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-team-access-restrictions", + "name": "Remove all custom labels from a self-hosted runner for a repository", + "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1867__", + "parentId": "__FLD_349__", + "_id": "__REQ_8868__", "_type": "request", - "name": "Get users with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "name": "Remove a custom label from a self-hosted runner for a repository", + "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels/{{ name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1868__", + "parentId": "__FLD_349__", + "_id": "__REQ_8869__", "_type": "request", - "name": "Add user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-user-access-restrictions", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1869__", + "parentId": "__FLD_349__", + "_id": "__REQ_8870__", "_type": "request", - "name": "Set user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-user-access-restrictions", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1870__", + "parentId": "__FLD_349__", + "_id": "__REQ_8871__", "_type": "request", - "name": "Remove user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-user-access-restrictions", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1871__", + "parentId": "__FLD_349__", + "_id": "__REQ_8872__", "_type": "request", - "name": "Rename a branch", - "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/rest/reference/repos#rename-a-branch", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-the-review-history-for-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", "body": {}, "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1872__", + "parentId": "__FLD_349__", + "_id": "__REQ_8873__", "_type": "request", - "name": "Create a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-run", + "name": "Approve a workflow run for a fork pull request", + "description": "Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approve", "body": {}, "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1873__", + "parentId": "__FLD_349__", + "_id": "__REQ_8874__", "_type": "request", - "name": "Get a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-run", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-run-artifacts", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1874__", + "parentId": "__FLD_349__", + "_id": "__REQ_8875__", "_type": "request", - "name": "Update a check run", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/rest/reference/checks#update-a-check-run", + "name": "Get a workflow run attempt", + "description": "Gets a specific workflow run attempt. Anyone with read access to the repository\ncan use this endpoint. If the repository is private you must use an access token\nwith the `repo` scope. GitHub Apps must have the `actions:read` permission to\nuse this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow-run-attempt", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1875__", + "parentId": "__FLD_349__", + "_id": "__REQ_8876__", "_type": "request", - "name": "List check run annotations", - "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-run-annotations", + "name": "List jobs for a workflow run attempt", + "description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run-attempt", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/jobs", "body": {}, "parameters": [ { @@ -7241,76 +7362,52 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1876__", - "_type": "request", - "name": "Create a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-suite", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_78__", - "_id": "__REQ_1877__", + "parentId": "__FLD_349__", + "_id": "__REQ_8877__", "_type": "request", - "name": "Update repository preferences for check suites", - "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites", + "name": "Download workflow run attempt logs", + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-workflow-run-attempt-logs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1878__", + "parentId": "__FLD_349__", + "_id": "__REQ_8878__", "_type": "request", - "name": "Get a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-suite", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#cancel-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", "body": {}, "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1879__", + "parentId": "__FLD_349__", + "_id": "__REQ_8879__", "_type": "request", - "name": "List check runs in a check suite", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", "body": {}, "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, { "name": "filter", "value": "latest", @@ -7329,139 +7426,132 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1880__", + "parentId": "__FLD_349__", + "_id": "__REQ_8880__", "_type": "request", - "name": "Rerequest a check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/rest/reference/checks#rerequest-a-check-suite", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#download-workflow-run-logs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1881__", + "parentId": "__FLD_349__", + "_id": "__REQ_8881__", "_type": "request", - "name": "List code scanning alerts for a repository", - "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-workflow-run-logs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, - "parameters": [ - { - "name": "state", - "disabled": false - }, - { - "name": "ref", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1882__", + "parentId": "__FLD_349__", + "_id": "__REQ_8882__", "_type": "request", - "name": "Get a code scanning alert", - "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-pending-deployments-for-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1883__", + "parentId": "__FLD_349__", + "_id": "__REQ_8883__", "_type": "request", - "name": "Update a code scanning alert", - "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-code-scanning-alert", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1884__", + "parentId": "__FLD_349__", + "_id": "__REQ_8884__", "_type": "request", - "name": "List recent code scanning analyses for a repository", - "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#list-recent-analyses", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", "body": {}, - "parameters": [ - { - "name": "ref", - "disabled": false - }, - { - "name": "tool_name", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1885__", + "parentId": "__FLD_349__", + "_id": "__REQ_8885__", "_type": "request", - "name": "Upload a SARIF file", - "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/v3/code-scanning/#upload-a-sarif-analysis", + "name": "Re-run failed jobs from a workflow run", + "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun-failed-jobs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1886__", + "parentId": "__FLD_349__", + "_id": "__REQ_8886__", "_type": "request", - "name": "List repository collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-collaborators", + "name": "Get workflow run usage", + "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-run-usage", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/timing", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_8887__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", "body": {}, "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -7475,87 +7565,82 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1887__", + "parentId": "__FLD_349__", + "_id": "__REQ_8888__", "_type": "request", - "name": "Check if a user is a repository collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-public-key", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1888__", + "parentId": "__FLD_349__", + "_id": "__REQ_8889__", "_type": "request", - "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/rest/reference/repos#add-a-repository-collaborator", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1889__", + "parentId": "__FLD_349__", + "_id": "__REQ_8890__", "_type": "request", - "name": "Remove a repository collaborator", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#remove-a-repository-collaborator", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1890__", + "parentId": "__FLD_349__", + "_id": "__REQ_8891__", "_type": "request", - "name": "Get repository permissions for a user", - "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1891__", + "parentId": "__FLD_349__", + "_id": "__REQ_8892__", "_type": "request", - "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-repository-workflows", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", "body": {}, "parameters": [ { @@ -7571,169 +7656,98 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1892__", + "parentId": "__FLD_349__", + "_id": "__REQ_8893__", "_type": "request", - "name": "Get a commit comment", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-a-workflow", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1893__", + "parentId": "__FLD_349__", + "_id": "__REQ_8894__", "_type": "request", - "name": "Update a commit comment", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-commit-comment", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#disable-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1894__", + "parentId": "__FLD_349__", + "_id": "__REQ_8895__", "_type": "request", - "name": "Delete a commit comment", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-commit-comment", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_97__", - "_id": "__REQ_1895__", - "_type": "request", - "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", - "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_97__", - "_id": "__REQ_1896__", - "_type": "request", - "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", "body": {}, "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1897__", + "parentId": "__FLD_349__", + "_id": "__REQ_8896__", "_type": "request", - "name": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-commit-comment-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#enable-a-workflow", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1898__", + "parentId": "__FLD_349__", + "_id": "__REQ_8897__", "_type": "request", - "name": "List commits", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#list-commits", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/rest/reference/actions#list-workflow-runs", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", "body": {}, "parameters": [ { - "name": "sha", - "disabled": false - }, - { - "name": "path", + "name": "actor", "disabled": false }, { - "name": "author", + "name": "branch", "disabled": false }, { - "name": "since", + "name": "event", "disabled": false }, { - "name": "until", + "name": "status", "disabled": false }, { @@ -7745,48 +7759,51 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false } ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1899__", + "parentId": "__FLD_349__", + "_id": "__REQ_8898__", "_type": "request", - "name": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/rest/reference/repos#list-branches-for-head-commit", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.groot-preview+json" - } - ], + "name": "Get workflow usage", + "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-workflow-usage", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/timing", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1900__", + "parentId": "__FLD_365__", + "_id": "__REQ_8899__", "_type": "request", - "name": "List commit comments", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/rest/reference/issues#list-assignees", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", "body": {}, "parameters": [ { @@ -7802,46 +7819,36 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1901__", + "parentId": "__FLD_365__", + "_id": "__REQ_8900__", "_type": "request", - "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-comment", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1902__", + "parentId": "__FLD_377__", + "_id": "__REQ_8901__", "_type": "request", - "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.groot-preview+json" - } - ], + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/v3/repos#list-autolinks", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", "body": {}, "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, { "name": "page", "value": 1, @@ -7850,127 +7857,2148 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1903__", + "parentId": "__FLD_377__", + "_id": "__REQ_8902__", "_type": "request", - "name": "Get a commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#get-a-commit", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/v3/repos#create-an-autolink", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1904__", + "parentId": "__FLD_377__", + "_id": "__REQ_8903__", "_type": "request", - "name": "List check runs for a Git reference", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/v3/repos#get-autolink", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", "body": {}, - "parameters": [ - { - "name": "check_name", - "disabled": false - }, - { - "name": "status", - "disabled": false - }, - { - "name": "filter", - "value": "latest", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8904__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8905__", + "_type": "request", + "name": "Enable automated security fixes", + "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://docs.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/rest/reference/repos#enable-automated-security-fixes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8906__", + "_type": "request", + "name": "Disable automated security fixes", + "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://docs.github.com/en/articles/configuring-automated-security-fixes)\".\n\nhttps://docs.github.com/rest/reference/repos#disable-automated-security-fixes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8907__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8908__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8909__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8910__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/rest/reference/repos#update-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8911__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8912__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8913__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8914__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8915__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8916__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/rest/reference/repos#update-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8917__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8918__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#get-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8919__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#create-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8920__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/rest/reference/repos#delete-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8921__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8922__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8923__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8924__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8925__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8926__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8927__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8928__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8929__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8930__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8931__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8932__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8933__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8934__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8935__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8936__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8937__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8938__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8939__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8940__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8941__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8942__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8943__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8944__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8945__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8946__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8947__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/rest/reference/checks#rerequest-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8948__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8949__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8950__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8951__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8952__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8953__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nhttps://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8954__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8955__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8956__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8957__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8958__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8959__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8960__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_354__", + "_id": "__REQ_8961__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8962__", + "_type": "request", + "name": "List CODEOWNERS errors", + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"\n\nhttps://docs.github.com/rest/reference/repos#list-codeowners-errors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codeowners/errors", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8963__", + "_type": "request", + "name": "List codespaces in a repository for the authenticated user", + "description": "Lists the codespaces associated to a specified repository and the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8964__", + "_type": "request", + "name": "Create a codespace in a repository", + "description": "Creates a codespace owned by the authenticated user in the specified repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#create-a-codespace-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8965__", + "_type": "request", + "name": "List devcontainer configurations in a repository for the authenticated user", + "description": "Lists the devcontainer.json files associated with a specified repository and the authenticated user. These files\nspecify launchpoint configurations for codespaces created within the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-devcontainers-in-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/devcontainers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8966__", + "_type": "request", + "name": "List available machine types for a repository", + "description": "List the machine types available for a given repository based on its configuration.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_metadata` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-available-machine-types-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/machines", + "body": {}, + "parameters": [ + { + "name": "location", + "disabled": false + }, + { + "name": "client_ip", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8967__", + "_type": "request", + "name": "Get default attributes for a codespace", + "description": "Gets the default attributes for codespaces created by the user with the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/new", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + }, + { + "name": "client_ip", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8968__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `codespaces_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8969__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `codespaces_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8970__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `codespaces_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8971__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `codespaces_secrets` repository\npermission to use this endpoint.\n\n#### Example of encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example of encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example of encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example of encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/codespaces#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_8972__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `codespaces_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8973__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8974__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8975__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8976__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8977__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8978__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8979__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/rest/commits/comments#get-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8980__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8981__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_376__", + "_id": "__REQ_8982__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_376__", + "_id": "__REQ_8983__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_376__", + "_id": "__REQ_8984__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).\n\nhttps://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8985__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8986__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/rest/commits/commits#list-branches-for-head-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8987__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/rest/commits/comments#list-commit-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8988__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8989__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8990__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8991__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_353__", + "_id": "__REQ_8992__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8993__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8994__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8995__", + "_type": "request", + "name": "Get community profile metrics", + "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.\n\nhttps://docs.github.com/rest/metrics/community#get-community-profile-metrics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/profile", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8996__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8997__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/rest/reference/git#get-a-tree).\n\n#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8998__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_8999__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9000__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_357__", + "_id": "__REQ_9001__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_357__", + "_id": "__REQ_9002__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_357__", + "_id": "__REQ_9003__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_357__", + "_id": "__REQ_9004__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/dependabot#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1905__", + "parentId": "__FLD_357__", + "_id": "__REQ_9005__", "_type": "request", - "name": "List check suites for a Git reference", - "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/dependabot#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_358__", + "_id": "__REQ_9006__", + "_type": "request", + "name": "Get a diff of the dependencies between commits", + "description": "Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.\n\nhttps://docs.github.com/rest/reference/dependency-graph#get-a-diff-of-the-dependencies-between-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependency-graph/compare/{{ basehead }}", "body": {}, "parameters": [ { - "name": "app_id", - "disabled": false - }, - { - "name": "check_name", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, + "name": "name", "disabled": false } ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1906__", + "parentId": "__FLD_358__", + "_id": "__REQ_9007__", "_type": "request", - "name": "Get the combined status for a specific reference", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "name": "Create a snapshot of dependencies for a repository", + "description": "Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.\n\nhttps://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependency-graph/snapshots", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1907__", + "parentId": "__FLD_377__", + "_id": "__REQ_9008__", "_type": "request", - "name": "List commit statuses for a reference", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/rest/reference/repos#list-deployments", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", "body": {}, "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -7984,182 +10012,143 @@ ] }, { - "parentId": "__FLD_80__", - "_id": "__REQ_1908__", + "parentId": "__FLD_377__", + "_id": "__REQ_9009__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1909__", + "parentId": "__FLD_377__", + "_id": "__REQ_9010__", "_type": "request", - "name": "Get community profile metrics", - "description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.\n\nhttps://docs.github.com/rest/reference/repos#get-community-profile-metrics", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/profile", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1910__", + "parentId": "__FLD_377__", + "_id": "__REQ_9011__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/repos#compare-two-commits", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deployment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1911__", + "parentId": "__FLD_377__", + "_id": "__REQ_9012__", "_type": "request", - "name": "Get repository content", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-content", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#list-deployment-statuses", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [ { - "name": "ref", + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1912__", + "parentId": "__FLD_377__", + "_id": "__REQ_9013__", "_type": "request", - "name": "Create or update file contents", - "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/rest/reference/repos#create-or-update-file-contents", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment-status", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1913__", + "parentId": "__FLD_377__", + "_id": "__REQ_9014__", "_type": "request", - "name": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-file", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment-status", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1914__", + "parentId": "__FLD_377__", + "_id": "__REQ_9015__", "_type": "request", - "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/v3/repos/#list-repository-contributors", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", "body": {}, - "parameters": [ - { - "name": "anon", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1915__", + "parentId": "__FLD_377__", + "_id": "__REQ_9016__", "_type": "request", - "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/rest/reference/repos#list-deployments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/environments#list-environments", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", "body": {}, "parameters": [ - { - "name": "sha", - "value": "none", - "disabled": false - }, - { - "name": "ref", - "value": "none", - "disabled": false - }, - { - "name": "task", - "value": "none", - "disabled": false - }, - { - "name": "environment", - "value": "none", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -8173,81 +10162,66 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1916__", + "parentId": "__FLD_377__", + "_id": "__REQ_9017__", "_type": "request", - "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/repos#get-an-environment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1917__", + "parentId": "__FLD_377__", + "_id": "__REQ_9018__", "_type": "request", - "name": "Get a deployment", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/rest/reference/repos#create-or-update-an-environment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1918__", + "parentId": "__FLD_377__", + "_id": "__REQ_9019__", "_type": "request", - "name": "Delete a deployment", - "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deployment", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/rest/reference/repos#delete-an-environment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1919__", + "parentId": "__FLD_377__", + "_id": "__REQ_9020__", "_type": "request", - "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", "body": {}, "parameters": [ { @@ -8263,66 +10237,72 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1920__", + "parentId": "__FLD_377__", + "_id": "__REQ_9021__", "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1921__", + "parentId": "__FLD_377__", + "_id": "__REQ_9022__", "_type": "request", - "name": "Get a deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/rest/reference/repos#get-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1922__", + "parentId": "__FLD_377__", + "_id": "__REQ_9023__", "_type": "request", - "name": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/v3/repos/#create-a-repository-dispatch-event", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9024__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1923__", + "parentId": "__FLD_350__", + "_id": "__REQ_9025__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-repository-events", @@ -8348,8 +10328,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1924__", + "parentId": "__FLD_377__", + "_id": "__REQ_9026__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-forks", @@ -8380,11 +10360,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1925__", + "parentId": "__FLD_377__", + "_id": "__REQ_9027__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8396,8 +10376,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1926__", + "parentId": "__FLD_362__", + "_id": "__REQ_9028__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/rest/reference/git#create-a-blob", @@ -8412,8 +10392,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1927__", + "parentId": "__FLD_362__", + "_id": "__REQ_9029__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/rest/reference/git#get-a-blob", @@ -8428,11 +10408,11 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1928__", + "parentId": "__FLD_362__", + "_id": "__REQ_9030__", "_type": "request", "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8444,11 +10424,11 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1929__", + "parentId": "__FLD_362__", + "_id": "__REQ_9031__", "_type": "request", "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8460,8 +10440,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1930__", + "parentId": "__FLD_362__", + "_id": "__REQ_9032__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/rest/reference/git#list-matching-references", @@ -8473,22 +10453,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1931__", + "parentId": "__FLD_362__", + "_id": "__REQ_9033__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/rest/reference/git#get-a-reference", @@ -8503,8 +10472,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1932__", + "parentId": "__FLD_362__", + "_id": "__REQ_9034__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/rest/reference/git#create-a-reference", @@ -8519,8 +10488,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1933__", + "parentId": "__FLD_362__", + "_id": "__REQ_9035__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/rest/reference/git#update-a-reference", @@ -8535,8 +10504,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1934__", + "parentId": "__FLD_362__", + "_id": "__REQ_9036__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/rest/reference/git#delete-a-reference", @@ -8551,8 +10520,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1935__", + "parentId": "__FLD_362__", + "_id": "__REQ_9037__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#create-a-tag-object", @@ -8567,8 +10536,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1936__", + "parentId": "__FLD_362__", + "_id": "__REQ_9038__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/rest/reference/git#get-a-tag", @@ -8583,11 +10552,11 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1937__", + "parentId": "__FLD_362__", + "_id": "__REQ_9039__", "_type": "request", "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/rest/reference/git#create-a-tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8599,8 +10568,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1938__", + "parentId": "__FLD_362__", + "_id": "__REQ_9040__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/rest/reference/git#get-a-tree", @@ -8620,11 +10589,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1939__", + "parentId": "__FLD_377__", + "_id": "__REQ_9041__", "_type": "request", "name": "List repository webhooks", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-repository-webhooks", + "description": "\n\nhttps://docs.github.com/rest/webhooks/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8647,11 +10616,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1940__", + "parentId": "__FLD_377__", + "_id": "__REQ_9042__", "_type": "request", "name": "Create a repository webhook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/rest/webhooks/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8663,11 +10632,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1941__", + "parentId": "__FLD_377__", + "_id": "__REQ_9043__", "_type": "request", "name": "Get a repository webhook", - "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/webhooks/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8679,11 +10648,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1942__", + "parentId": "__FLD_377__", + "_id": "__REQ_9044__", "_type": "request", "name": "Update a repository webhook", - "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/rest/webhooks/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8695,59 +10664,117 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1943__", + "parentId": "__FLD_377__", + "_id": "__REQ_9045__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9046__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9047__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9048__", "_type": "request", - "name": "Delete a repository webhook", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-webhook", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1944__", + "parentId": "__FLD_377__", + "_id": "__REQ_9049__", "_type": "request", - "name": "Get a webhook configuration for a repository", - "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/v3/repos#get-a-webhook-configuration-for-a-repository", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1945__", + "parentId": "__FLD_377__", + "_id": "__REQ_9050__", "_type": "request", - "name": "Update a webhook configuration for a repository", - "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/v3/repos#update-a-webhook-configuration-for-a-repository", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", "body": {}, "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1946__", + "parentId": "__FLD_377__", + "_id": "__REQ_9051__", "_type": "request", "name": "Ping a repository webhook", - "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/reference/repos#ping-a-repository-webhook", + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8759,11 +10786,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1947__", + "parentId": "__FLD_377__", + "_id": "__REQ_9052__", "_type": "request", "name": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/rest/reference/repos#test-the-push-repository-webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8775,11 +10802,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1948__", + "parentId": "__FLD_369__", + "_id": "__REQ_9053__", "_type": "request", "name": "Get an import status", - "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-import-status", + "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/reference/migrations#cancel-an-import) and [retry](https://docs.github.com/rest/reference/migrations#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/reference/migrations#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://docs.github.com/rest/reference/migrations#get-an-import-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8791,8 +10818,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1949__", + "parentId": "__FLD_369__", + "_id": "__REQ_9054__", "_type": "request", "name": "Start an import", "description": "Start a source import to a GitHub repository using GitHub Importer.\n\nhttps://docs.github.com/rest/reference/migrations#start-an-import", @@ -8807,11 +10834,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1950__", + "parentId": "__FLD_369__", + "_id": "__REQ_9055__", "_type": "request", "name": "Update an import", - "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.\n\nhttps://docs.github.com/rest/reference/migrations#update-an-import", + "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.\n\nSome servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will\nhave the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.\nYou can select the project to import by providing one of the objects in the `project_choices` array in the update request.\n\nhttps://docs.github.com/rest/reference/migrations#update-an-import", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8823,8 +10850,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1951__", + "parentId": "__FLD_369__", + "_id": "__REQ_9056__", "_type": "request", "name": "Cancel an import", "description": "Stop an import for a repository.\n\nhttps://docs.github.com/rest/reference/migrations#cancel-an-import", @@ -8839,8 +10866,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1952__", + "parentId": "__FLD_369__", + "_id": "__REQ_9057__", "_type": "request", "name": "Get commit authors", "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/rest/reference/migrations#map-a-commit-author) endpoint allow you to provide correct Git author information.\n\nhttps://docs.github.com/rest/reference/migrations#get-commit-authors", @@ -8860,8 +10887,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1953__", + "parentId": "__FLD_369__", + "_id": "__REQ_9058__", "_type": "request", "name": "Map a commit author", "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.\n\nhttps://docs.github.com/rest/reference/migrations#map-a-commit-author", @@ -8876,8 +10903,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1954__", + "parentId": "__FLD_369__", + "_id": "__REQ_9059__", "_type": "request", "name": "Get large files", "description": "List files larger than 100MB found during the import\n\nhttps://docs.github.com/rest/reference/migrations#get-large-files", @@ -8892,11 +10919,11 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1955__", + "parentId": "__FLD_369__", + "_id": "__REQ_9060__", "_type": "request", "name": "Update Git LFS preference", - "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).\n\nhttps://docs.github.com/rest/reference/migrations#update-git-lfs-preference", + "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/articles/versioning-large-files/).\n\nhttps://docs.github.com/rest/reference/migrations#update-git-lfs-preference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8908,11 +10935,11 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_1956__", + "parentId": "__FLD_351__", + "_id": "__REQ_9061__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8924,8 +10951,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1957__", + "parentId": "__FLD_364__", + "_id": "__REQ_9062__", "_type": "request", "name": "Get interaction restrictions for a repository", "description": "Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository", @@ -8940,8 +10967,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1958__", + "parentId": "__FLD_364__", + "_id": "__REQ_9063__", "_type": "request", "name": "Set interaction restrictions for a repository", "description": "Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository", @@ -8956,8 +10983,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1959__", + "parentId": "__FLD_364__", + "_id": "__REQ_9064__", "_type": "request", "name": "Remove interaction restrictions for a repository", "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository", @@ -8972,11 +10999,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1960__", + "parentId": "__FLD_377__", + "_id": "__REQ_9065__", "_type": "request", "name": "List repository invitations", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/rest/collaborators/invitations#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8999,11 +11026,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1961__", + "parentId": "__FLD_377__", + "_id": "__REQ_9066__", "_type": "request", "name": "Update a repository invitation", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#update-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9015,11 +11042,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1962__", + "parentId": "__FLD_377__", + "_id": "__REQ_9067__", "_type": "request", "name": "Delete a repository invitation", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9031,17 +11058,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1963__", + "parentId": "__FLD_365__", + "_id": "__REQ_9068__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-repository-issues", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/issues#list-repository-issues", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9102,11 +11124,11 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1964__", + "parentId": "__FLD_365__", + "_id": "__REQ_9069__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9118,17 +11140,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1965__", + "parentId": "__FLD_365__", + "_id": "__REQ_9070__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9163,17 +11180,12 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1966__", + "parentId": "__FLD_365__", + "_id": "__REQ_9071__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9184,8 +11196,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1967__", + "parentId": "__FLD_365__", + "_id": "__REQ_9072__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-an-issue-comment", @@ -9200,8 +11212,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1968__", + "parentId": "__FLD_365__", + "_id": "__REQ_9073__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-an-issue-comment", @@ -9216,17 +11228,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1969__", + "parentId": "__FLD_376__", + "_id": "__REQ_9074__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9252,17 +11259,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1970__", + "parentId": "__FLD_376__", + "_id": "__REQ_9075__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9273,17 +11275,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1971__", + "parentId": "__FLD_376__", + "_id": "__REQ_9076__", "_type": "request", "name": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-comment-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).\n\nhttps://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9294,17 +11291,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1972__", + "parentId": "__FLD_365__", + "_id": "__REQ_9077__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9326,17 +11318,12 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1973__", + "parentId": "__FLD_365__", + "_id": "__REQ_9078__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue-event", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9347,17 +11334,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1974__", + "parentId": "__FLD_365__", + "_id": "__REQ_9079__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#get-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/issues#get-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9368,11 +11350,11 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1975__", + "parentId": "__FLD_365__", + "_id": "__REQ_9080__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9384,8 +11366,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1976__", + "parentId": "__FLD_365__", + "_id": "__REQ_9081__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/rest/reference/issues#add-assignees-to-an-issue", @@ -9400,8 +11382,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1977__", + "parentId": "__FLD_365__", + "_id": "__REQ_9082__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue", @@ -9416,17 +11398,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1978__", + "parentId": "__FLD_365__", + "_id": "__REQ_9083__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/rest/reference/issues#list-issue-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9452,11 +11429,11 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1979__", + "parentId": "__FLD_365__", + "_id": "__REQ_9084__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9468,17 +11445,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1980__", + "parentId": "__FLD_365__", + "_id": "__REQ_9085__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-issue-events", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9500,8 +11472,8 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1981__", + "parentId": "__FLD_365__", + "_id": "__REQ_9086__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-an-issue", @@ -9527,8 +11499,8 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1982__", + "parentId": "__FLD_365__", + "_id": "__REQ_9087__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#add-labels-to-an-issue", @@ -9543,8 +11515,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1983__", + "parentId": "__FLD_365__", + "_id": "__REQ_9088__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/rest/reference/issues#set-labels-for-an-issue", @@ -9559,8 +11531,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1984__", + "parentId": "__FLD_365__", + "_id": "__REQ_9089__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue", @@ -9575,8 +11547,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1985__", + "parentId": "__FLD_365__", + "_id": "__REQ_9090__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue", @@ -9591,11 +11563,11 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1986__", + "parentId": "__FLD_365__", + "_id": "__REQ_9091__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/issues#lock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9607,11 +11579,11 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1987__", + "parentId": "__FLD_365__", + "_id": "__REQ_9092__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9623,17 +11595,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1988__", + "parentId": "__FLD_376__", + "_id": "__REQ_9093__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9659,17 +11626,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1989__", + "parentId": "__FLD_376__", + "_id": "__REQ_9094__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9680,17 +11642,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1990__", + "parentId": "__FLD_376__", + "_id": "__REQ_9095__", "_type": "request", "name": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).\n\nhttps://docs.github.com/v3/reactions/#delete-an-issue-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).\n\nhttps://docs.github.com/rest/reference/reactions#delete-an-issue-reaction", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9701,17 +11658,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1991__", + "parentId": "__FLD_365__", + "_id": "__REQ_9096__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9733,8 +11685,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1992__", + "parentId": "__FLD_377__", + "_id": "__REQ_9097__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-deploy-keys", @@ -9760,8 +11712,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1993__", + "parentId": "__FLD_377__", + "_id": "__REQ_9098__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/rest/reference/repos#create-a-deploy-key", @@ -9776,8 +11728,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1994__", + "parentId": "__FLD_377__", + "_id": "__REQ_9099__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-deploy-key", @@ -9792,8 +11744,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1995__", + "parentId": "__FLD_377__", + "_id": "__REQ_9100__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-deploy-key", @@ -9808,8 +11760,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1996__", + "parentId": "__FLD_365__", + "_id": "__REQ_9101__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-a-repository", @@ -9835,8 +11787,8 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1997__", + "parentId": "__FLD_365__", + "_id": "__REQ_9102__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-label", @@ -9851,8 +11803,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1998__", + "parentId": "__FLD_365__", + "_id": "__REQ_9103__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-label", @@ -9867,8 +11819,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1999__", + "parentId": "__FLD_365__", + "_id": "__REQ_9104__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-label", @@ -9883,8 +11835,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2000__", + "parentId": "__FLD_365__", + "_id": "__REQ_9105__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-label", @@ -9899,11 +11851,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2001__", + "parentId": "__FLD_377__", + "_id": "__REQ_9106__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9915,11 +11867,43 @@ "parameters": [] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_2002__", + "parentId": "__FLD_377__", + "_id": "__REQ_9107__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9108__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_366__", + "_id": "__REQ_9109__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9931,8 +11915,24 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2003__", + "parentId": "__FLD_377__", + "_id": "__REQ_9110__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9111__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/rest/reference/repos#merge-a-branch", @@ -9947,8 +11947,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2004__", + "parentId": "__FLD_365__", + "_id": "__REQ_9112__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-milestones", @@ -9989,8 +11989,8 @@ ] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2005__", + "parentId": "__FLD_365__", + "_id": "__REQ_9113__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#create-a-milestone", @@ -10005,8 +12005,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2006__", + "parentId": "__FLD_365__", + "_id": "__REQ_9114__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#get-a-milestone", @@ -10021,8 +12021,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2007__", + "parentId": "__FLD_365__", + "_id": "__REQ_9115__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#update-a-milestone", @@ -10037,8 +12037,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2008__", + "parentId": "__FLD_365__", + "_id": "__REQ_9116__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#delete-a-milestone", @@ -10053,8 +12053,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2009__", + "parentId": "__FLD_365__", + "_id": "__REQ_9117__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -10080,8 +12080,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2010__", + "parentId": "__FLD_350__", + "_id": "__REQ_9118__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -10125,8 +12125,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2011__", + "parentId": "__FLD_350__", + "_id": "__REQ_9119__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read", @@ -10141,11 +12141,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2012__", + "parentId": "__FLD_377__", + "_id": "__REQ_9120__", "_type": "request", "name": "Get a GitHub Pages site", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-a-github-pages-site", + "description": "\n\nhttps://docs.github.com/rest/pages#get-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10157,17 +12157,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2013__", + "parentId": "__FLD_377__", + "_id": "__REQ_9121__", "_type": "request", "name": "Create a GitHub Pages site", - "description": "Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/rest/reference/repos#create-a-github-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" - } - ], + "description": "Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/rest/pages#create-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10178,11 +12173,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2014__", + "parentId": "__FLD_377__", + "_id": "__REQ_9122__", "_type": "request", "name": "Update information about a GitHub Pages site", - "description": "Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site", + "description": "Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/rest/pages#update-information-about-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10194,17 +12189,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2015__", + "parentId": "__FLD_377__", + "_id": "__REQ_9123__", "_type": "request", "name": "Delete a GitHub Pages site", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-github-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/rest/pages#delete-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10215,11 +12205,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2016__", + "parentId": "__FLD_377__", + "_id": "__REQ_9124__", "_type": "request", "name": "List GitHub Pages builds", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-github-pages-builds", + "description": "\n\nhttps://docs.github.com/rest/pages#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10242,11 +12232,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2017__", + "parentId": "__FLD_377__", + "_id": "__REQ_9125__", "_type": "request", "name": "Request a GitHub Pages build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/rest/reference/repos#request-a-github-pages-build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/rest/pages#request-a-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10258,11 +12248,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2018__", + "parentId": "__FLD_377__", + "_id": "__REQ_9126__", "_type": "request", "name": "Get latest Pages build", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-latest-pages-build", + "description": "\n\nhttps://docs.github.com/rest/pages#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10274,11 +12264,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2019__", + "parentId": "__FLD_377__", + "_id": "__REQ_9127__", "_type": "request", "name": "Get GitHub Pages build", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-github-pages-build", + "description": "\n\nhttps://docs.github.com/rest/pages#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10290,17 +12280,44 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2020__", + "parentId": "__FLD_377__", + "_id": "__REQ_9128__", + "_type": "request", + "name": "Create a GitHub Pages deployment", + "description": "Create a GitHub Pages deployment for a repository.\n\nUsers must have write permissions. GitHub Apps must have the `pages:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/pages#create-a-github-pages-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/deployment", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9129__", + "_type": "request", + "name": "Get a DNS health check for GitHub Pages", + "description": "Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.\n\nThe first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.\n\nUsers must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/health", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_373__", + "_id": "__REQ_9130__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#list-repository-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#list-repository-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10327,17 +12344,12 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2021__", + "parentId": "__FLD_373__", + "_id": "__REQ_9131__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/v3/projects/#create-a-repository-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#create-a-repository-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10348,11 +12360,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2022__", + "parentId": "__FLD_374__", + "_id": "__REQ_9132__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/rest/reference/pulls#list-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10397,11 +12409,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2023__", + "parentId": "__FLD_374__", + "_id": "__REQ_9133__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10413,17 +12425,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2024__", + "parentId": "__FLD_374__", + "_id": "__REQ_9134__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10434,7 +12441,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -10458,17 +12464,12 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2025__", + "parentId": "__FLD_374__", + "_id": "__REQ_9135__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10479,17 +12480,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2026__", + "parentId": "__FLD_374__", + "_id": "__REQ_9136__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10500,8 +12496,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2027__", + "parentId": "__FLD_374__", + "_id": "__REQ_9137__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -10516,17 +12512,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2028__", + "parentId": "__FLD_376__", + "_id": "__REQ_9138__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10552,17 +12543,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2029__", + "parentId": "__FLD_376__", + "_id": "__REQ_9139__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10573,17 +12559,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2030__", + "parentId": "__FLD_376__", + "_id": "__REQ_9140__", "_type": "request", "name": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10594,11 +12575,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2031__", + "parentId": "__FLD_374__", + "_id": "__REQ_9141__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10610,11 +12591,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2032__", + "parentId": "__FLD_374__", + "_id": "__REQ_9142__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/rest/reference/pulls/#update-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10626,17 +12607,28 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2033__", + "parentId": "__FLD_356__", + "_id": "__REQ_9143__", + "_type": "request", + "name": "Create a codespace from a pull request", + "description": "Creates a codespace owned by the authenticated user for the specified pull request.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#create-a-codespace-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/codespaces", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_374__", + "_id": "__REQ_9144__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10671,17 +12663,12 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2034__", + "parentId": "__FLD_374__", + "_id": "__REQ_9145__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10692,11 +12679,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2035__", + "parentId": "__FLD_374__", + "_id": "__REQ_9146__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10708,11 +12695,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2036__", + "parentId": "__FLD_374__", + "_id": "__REQ_9147__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10735,11 +12722,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2037__", + "parentId": "__FLD_374__", + "_id": "__REQ_9148__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10762,11 +12749,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2038__", + "parentId": "__FLD_374__", + "_id": "__REQ_9149__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10778,11 +12765,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2039__", + "parentId": "__FLD_374__", + "_id": "__REQ_9150__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/v3/pulls/#merge-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10794,11 +12781,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2040__", + "parentId": "__FLD_374__", + "_id": "__REQ_9151__", "_type": "request", - "name": "List requested reviewers for a pull request", - "description": "\n\nhttps://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10807,25 +12794,14 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2041__", + "parentId": "__FLD_374__", + "_id": "__REQ_9152__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10837,8 +12813,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2042__", + "parentId": "__FLD_374__", + "_id": "__REQ_9153__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -10853,8 +12829,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2043__", + "parentId": "__FLD_374__", + "_id": "__REQ_9154__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -10880,11 +12856,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2044__", + "parentId": "__FLD_374__", + "_id": "__REQ_9155__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10896,8 +12872,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2045__", + "parentId": "__FLD_374__", + "_id": "__REQ_9156__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -10912,8 +12888,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2046__", + "parentId": "__FLD_374__", + "_id": "__REQ_9157__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -10928,8 +12904,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2047__", + "parentId": "__FLD_374__", + "_id": "__REQ_9158__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -10944,8 +12920,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2048__", + "parentId": "__FLD_374__", + "_id": "__REQ_9159__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -10971,8 +12947,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2049__", + "parentId": "__FLD_374__", + "_id": "__REQ_9160__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -10987,11 +12963,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2050__", + "parentId": "__FLD_374__", + "_id": "__REQ_9161__", "_type": "request", "name": "Submit a review for a pull request", - "description": "\n\nhttps://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11003,17 +12979,12 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2051__", + "parentId": "__FLD_374__", + "_id": "__REQ_9162__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/v3/pulls/#update-a-pull-request-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.lydian-preview+json" - } - ], + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11024,8 +12995,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2052__", + "parentId": "__FLD_377__", + "_id": "__REQ_9163__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-readme", @@ -11045,8 +13016,29 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2053__", + "parentId": "__FLD_377__", + "_id": "__REQ_9164__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9165__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/rest/reference/repos#list-releases", @@ -11072,11 +13064,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2054__", + "parentId": "__FLD_377__", + "_id": "__REQ_9166__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11088,8 +13080,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2055__", + "parentId": "__FLD_377__", + "_id": "__REQ_9167__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-asset", @@ -11104,8 +13096,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2056__", + "parentId": "__FLD_377__", + "_id": "__REQ_9168__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release-asset", @@ -11120,8 +13112,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2057__", + "parentId": "__FLD_377__", + "_id": "__REQ_9169__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release-asset", @@ -11136,8 +13128,24 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2058__", + "parentId": "__FLD_377__", + "_id": "__REQ_9170__", + "_type": "request", + "name": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.\n\nhttps://docs.github.com/rest/reference/repos#generate-release-notes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/generate-notes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9171__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/rest/reference/repos#get-the-latest-release", @@ -11152,8 +13160,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2059__", + "parentId": "__FLD_377__", + "_id": "__REQ_9172__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", @@ -11168,8 +13176,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2060__", + "parentId": "__FLD_377__", + "_id": "__REQ_9173__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/rest/reference/repos#get-a-release", @@ -11184,8 +13192,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2061__", + "parentId": "__FLD_377__", + "_id": "__REQ_9174__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/rest/reference/repos#update-a-release", @@ -11200,8 +13208,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2062__", + "parentId": "__FLD_377__", + "_id": "__REQ_9175__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/rest/reference/repos#delete-a-release", @@ -11216,8 +13224,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2063__", + "parentId": "__FLD_377__", + "_id": "__REQ_9176__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-release-assets", @@ -11243,11 +13251,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2064__", + "parentId": "__FLD_377__", + "_id": "__REQ_9177__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11268,11 +13276,74 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2065__", + "parentId": "__FLD_376__", + "_id": "__REQ_9178__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/rest/reference/repos#releases).\n\nhttps://docs.github.com/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_376__", + "_id": "__REQ_9179__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_376__", + "_id": "__REQ_9180__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/rest/reference/repos#releases).\n\nhttps://docs.github.com/rest/reference/reactions/#delete-a-release-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_380__", + "_id": "__REQ_9181__", "_type": "request", "name": "List secret scanning alerts for a repository", - "description": "Lists all secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "description": "Lists secret scanning alerts for an eligible repository, from newest to oldest.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11286,6 +13357,24 @@ "name": "state", "disabled": false }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, { "name": "page", "value": 1, @@ -11295,15 +13384,23 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false } ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2066__", + "parentId": "__FLD_380__", + "_id": "__REQ_9182__", "_type": "request", "name": "Get a secret scanning alert", - "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "description": "Gets a single secret scanning alert detected in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11315,11 +13412,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2067__", + "parentId": "__FLD_380__", + "_id": "__REQ_9183__", "_type": "request", "name": "Update a secret scanning alert", - "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11331,8 +13428,35 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2068__", + "parentId": "__FLD_380__", + "_id": "__REQ_9184__", + "_type": "request", + "name": "List locations for a secret scanning alert", + "description": "Lists all locations for a given secret scanning alert for an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}/locations", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_350__", + "_id": "__REQ_9185__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-stargazers", @@ -11358,11 +13482,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2069__", + "parentId": "__FLD_377__", + "_id": "__REQ_9186__", "_type": "request", "name": "Get the weekly commit activity", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11374,11 +13498,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2070__", + "parentId": "__FLD_377__", + "_id": "__REQ_9187__", "_type": "request", "name": "Get the last year of commit activity", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11390,11 +13514,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2071__", + "parentId": "__FLD_377__", + "_id": "__REQ_9188__", "_type": "request", "name": "Get all contributor commit activity", - "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11406,11 +13530,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2072__", + "parentId": "__FLD_377__", + "_id": "__REQ_9189__", "_type": "request", "name": "Get the weekly commit count", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/rest/reference/repos#get-the-weekly-commit-count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11422,11 +13546,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2073__", + "parentId": "__FLD_377__", + "_id": "__REQ_9190__", "_type": "request", "name": "Get the hourly commit count for each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11438,11 +13562,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2074__", + "parentId": "__FLD_377__", + "_id": "__REQ_9191__", "_type": "request", "name": "Create a commit status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/rest/reference/repos#create-a-commit-status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/rest/commits/statuses#create-a-commit-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11454,8 +13578,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2075__", + "parentId": "__FLD_350__", + "_id": "__REQ_9192__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/rest/reference/activity#list-watchers", @@ -11481,8 +13605,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2076__", + "parentId": "__FLD_350__", + "_id": "__REQ_9193__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/rest/reference/activity#get-a-repository-subscription", @@ -11497,8 +13621,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2077__", + "parentId": "__FLD_350__", + "_id": "__REQ_9194__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/rest/reference/activity#set-a-repository-subscription", @@ -11513,8 +13637,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2078__", + "parentId": "__FLD_350__", + "_id": "__REQ_9195__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/rest/reference/activity#delete-a-repository-subscription", @@ -11529,11 +13653,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2079__", + "parentId": "__FLD_377__", + "_id": "__REQ_9196__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11556,8 +13680,56 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2080__", + "parentId": "__FLD_377__", + "_id": "__REQ_9197__", + "_type": "request", + "name": "List tag protection states for a repository", + "description": "This returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.\n\nhttps://docs.github.com/rest/reference/repos#list-tag-protection-state-of-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9198__", + "_type": "request", + "name": "Create a tag protection state for a repository", + "description": "This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/rest/reference/repos#create-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9199__", + "_type": "request", + "name": "Delete a tag protection state for a repository", + "description": "This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/rest/reference/repos#delete-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection/{{ tag_protection_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_377__", + "_id": "__REQ_9200__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", @@ -11572,11 +13744,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2081__", + "parentId": "__FLD_377__", + "_id": "__REQ_9201__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11599,17 +13771,12 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2082__", + "parentId": "__FLD_377__", + "_id": "__REQ_9202__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/v3/repos/#get-all-repository-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/rest/reference/repos#get-all-repository-topics", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11617,20 +13784,26 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2083__", + "parentId": "__FLD_377__", + "_id": "__REQ_9203__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/v3/repos/#replace-all-repository-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/rest/reference/repos#replace-all-repository-topics", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11641,11 +13814,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2084__", + "parentId": "__FLD_377__", + "_id": "__REQ_9204__", "_type": "request", "name": "Get repository clones", - "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-repository-clones", + "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/metrics/traffic#get-repository-clones", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11663,11 +13836,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2085__", + "parentId": "__FLD_377__", + "_id": "__REQ_9205__", "_type": "request", "name": "Get top referral paths", - "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-paths", + "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://docs.github.com/rest/metrics/traffic#get-top-referral-paths", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11679,11 +13852,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2086__", + "parentId": "__FLD_377__", + "_id": "__REQ_9206__", "_type": "request", "name": "Get top referral sources", - "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://docs.github.com/rest/reference/repos#get-top-referral-sources", + "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://docs.github.com/rest/metrics/traffic#get-top-referral-sources", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11695,11 +13868,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2087__", + "parentId": "__FLD_377__", + "_id": "__REQ_9207__", "_type": "request", "name": "Get page views", - "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/reference/repos#get-page-views", + "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://docs.github.com/rest/metrics/traffic#get-page-views", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11717,11 +13890,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2088__", + "parentId": "__FLD_377__", + "_id": "__REQ_9208__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11733,17 +13906,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2089__", + "parentId": "__FLD_377__", + "_id": "__REQ_9209__", "_type": "request", "name": "Check if vulnerability alerts are enabled for a repository", - "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11754,17 +13922,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2090__", + "parentId": "__FLD_377__", + "_id": "__REQ_9210__", "_type": "request", "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/rest/reference/repos#enable-vulnerability-alerts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11775,17 +13938,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2091__", + "parentId": "__FLD_377__", + "_id": "__REQ_9211__", "_type": "request", "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/rest/reference/repos#disable-vulnerability-alerts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11796,11 +13954,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2092__", + "parentId": "__FLD_377__", + "_id": "__REQ_9212__", "_type": "request", "name": "Download a repository archive (zip)", - "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/rest/reference/repos#download-a-repository-archive", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11812,17 +13970,12 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2093__", + "parentId": "__FLD_377__", + "_id": "__REQ_9213__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-a-repository-using-a-template", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" - } - ], + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-using-a-template", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11833,11 +13986,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2094__", + "parentId": "__FLD_377__", + "_id": "__REQ_9214__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11854,8 +14007,99 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2095__", + "parentId": "__FLD_349__", + "_id": "__REQ_9215__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_9216__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_9217__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_9218__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_349__", + "_id": "__REQ_9219__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_360__", + "_id": "__REQ_9220__", "_type": "request", "name": "List provisioned SCIM groups for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise", @@ -11875,12 +14119,20 @@ { "name": "count", "disabled": false + }, + { + "name": "filter", + "disabled": false + }, + { + "name": "excludedAttributes", + "disabled": false } ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2096__", + "parentId": "__FLD_360__", + "_id": "__REQ_9221__", "_type": "request", "name": "Provision a SCIM enterprise group and invite users", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users", @@ -11895,8 +14147,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2097__", + "parentId": "__FLD_360__", + "_id": "__REQ_9222__", "_type": "request", "name": "Get SCIM provisioning information for an enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group", @@ -11908,11 +14160,16 @@ "method": "GET", "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "excludedAttributes", + "disabled": false + } + ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2098__", + "parentId": "__FLD_360__", + "_id": "__REQ_9223__", "_type": "request", "name": "Set SCIM information for a provisioned enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group", @@ -11927,8 +14184,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2099__", + "parentId": "__FLD_360__", + "_id": "__REQ_9224__", "_type": "request", "name": "Update an attribute for a SCIM enterprise group", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group", @@ -11943,8 +14200,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2100__", + "parentId": "__FLD_360__", + "_id": "__REQ_9225__", "_type": "request", "name": "Delete a SCIM group from an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise", @@ -11959,8 +14216,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2101__", + "parentId": "__FLD_360__", + "_id": "__REQ_9226__", "_type": "request", "name": "List SCIM provisioned identities for an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nRetrieves a paginated list of all provisioned enterprise members, including pending invitations.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an enterprise, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub enterprise.\n\n1. The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub enterprise, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise", @@ -11980,12 +14237,16 @@ { "name": "count", "disabled": false + }, + { + "name": "filter", + "disabled": false } ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2102__", + "parentId": "__FLD_360__", + "_id": "__REQ_9227__", "_type": "request", "name": "Provision and invite a SCIM enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision enterprise membership for a user, and send organization invitation emails to the email address.\n\nYou can optionally include the groups a user will be invited to join. If you do not provide a list of `groups`, the user is provisioned for the enterprise, but no organization invitation emails will be sent.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user", @@ -12000,8 +14261,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2103__", + "parentId": "__FLD_360__", + "_id": "__REQ_9228__", "_type": "request", "name": "Get SCIM provisioning information for an enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user", @@ -12016,8 +14277,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2104__", + "parentId": "__FLD_360__", + "_id": "__REQ_9229__", "_type": "request", "name": "Set SCIM information for a provisioned enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](#update-an-attribute-for-an-enterprise-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the enterprise, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user", @@ -12032,8 +14293,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2105__", + "parentId": "__FLD_360__", + "_id": "__REQ_9230__", "_type": "request", "name": "Update an attribute for a SCIM enterprise user", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user", @@ -12048,8 +14309,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2106__", + "parentId": "__FLD_360__", + "_id": "__REQ_9231__", "_type": "request", "name": "Delete a SCIM user from an enterprise", "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise", @@ -12064,11 +14325,11 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2107__", + "parentId": "__FLD_378__", + "_id": "__REQ_9232__", "_type": "request", "name": "List SCIM provisioned identities", - "description": "Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub organization.\n\n1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/v3/scim/#list-scim-provisioned-identities", + "description": "Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned.\n\nWhen a user with a SAML-provisioned external identity leaves (or is removed from) an organization, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:\n - When a user with a SCIM-provisioned external identity is removed from an organization, the account's metadata is preserved to allow the user to re-join the organization in the future.\n - When inviting a user to join an organization, you can expect to see their external identity in the results before they accept the invitation, or if the invitation is cancelled (or never accepted).\n - When a user is invited over SCIM, an external identity is created that matches with the invitee's email address. However, this identity is only linked to a user account when the user accepts the invitation by going through SAML SSO.\n\nThe returned list of external identities can include an entry for a `null` user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:\n\n1. The user is granted access by the IdP and is not a member of the GitHub organization.\n\n1. The user attempts to access the GitHub organization and initiates the SAML SSO process, and is not currently signed in to their GitHub account.\n\n1. After successfully authenticating with the SAML SSO IdP, the `null` external identity entry is created and the user is prompted to sign in to their GitHub account:\n - If the user signs in, their GitHub account is linked to this entry.\n - If the user does not sign in (or does not create a new account when prompted), they are not added to the GitHub organization, and the external identity `null` entry remains in place.\n\nhttps://docs.github.com/rest/reference/scim#list-scim-provisioned-identities", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12093,11 +14354,11 @@ ] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2108__", + "parentId": "__FLD_378__", + "_id": "__REQ_9233__", "_type": "request", "name": "Provision and invite a SCIM user", - "description": "Provision organization membership for a user, and send an activation email to the email address.\n\nhttps://docs.github.com/v3/scim/#provision-and-invite-a-scim-user", + "description": "Provision organization membership for a user, and send an activation email to the email address.\n\nhttps://docs.github.com/rest/reference/scim#provision-and-invite-a-scim-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12109,11 +14370,11 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2109__", + "parentId": "__FLD_378__", + "_id": "__REQ_9234__", "_type": "request", "name": "Get SCIM provisioning information for a user", - "description": "\n\nhttps://docs.github.com/v3/scim/#get-scim-provisioning-information-for-a-user", + "description": "\n\nhttps://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12125,11 +14386,11 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2110__", + "parentId": "__FLD_378__", + "_id": "__REQ_9235__", "_type": "request", "name": "Update a provisioned organization membership", - "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/v3/scim/#set-scim-information-for-a-provisioned-user", + "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead.\n\nYou must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `{scim_user_id}`.\n\nhttps://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12141,11 +14402,11 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2111__", + "parentId": "__FLD_378__", + "_id": "__REQ_9236__", "_type": "request", "name": "Update an attribute for a SCIM user", - "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://docs.github.com/v3/scim/#update-an-attribute-for-a-scim-user", + "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12157,11 +14418,11 @@ "parameters": [] }, { - "parentId": "__FLD_99__", - "_id": "__REQ_2112__", + "parentId": "__FLD_378__", + "_id": "__REQ_9237__", "_type": "request", "name": "Delete a SCIM user from an organization", - "description": "\n\nhttps://docs.github.com/v3/scim/#delete-a-scim-user-from-an-organization", + "description": "\n\nhttps://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12173,11 +14434,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2113__", + "parentId": "__FLD_379__", + "_id": "__REQ_9238__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12213,17 +14474,12 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2114__", + "parentId": "__FLD_379__", + "_id": "__REQ_9239__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/v3/search/#search-commits", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.cloak-preview+json" - } - ], + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/rest/reference/search#search-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12258,11 +14514,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2115__", + "parentId": "__FLD_379__", + "_id": "__REQ_9240__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12298,11 +14554,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2116__", + "parentId": "__FLD_379__", + "_id": "__REQ_9241__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12328,21 +14584,26 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2117__", + "parentId": "__FLD_379__", + "_id": "__REQ_9242__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/v3/search/#search-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/rest/reference/search#search-repositories", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12377,17 +14638,12 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2118__", + "parentId": "__FLD_379__", + "_id": "__REQ_9243__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/v3/search/#search-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/rest/reference/search#search-topics", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12399,15 +14655,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2119__", + "parentId": "__FLD_379__", + "_id": "__REQ_9244__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12443,11 +14709,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2120__", + "parentId": "__FLD_381__", + "_id": "__REQ_9245__", "_type": "request", "name": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/v3/teams/#get-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/rest/reference/teams/#get-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12459,11 +14725,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2121__", + "parentId": "__FLD_381__", + "_id": "__REQ_9246__", "_type": "request", "name": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/v3/teams/#update-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/rest/reference/teams/#update-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12475,11 +14741,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2122__", + "parentId": "__FLD_381__", + "_id": "__REQ_9247__", "_type": "request", "name": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/v3/teams/#delete-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/rest/reference/teams/#delete-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12491,17 +14757,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2123__", + "parentId": "__FLD_381__", + "_id": "__REQ_9248__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#list-discussions-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12528,17 +14789,12 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2124__", + "parentId": "__FLD_381__", + "_id": "__REQ_9249__", "_type": "request", "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12549,17 +14805,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2125__", + "parentId": "__FLD_381__", + "_id": "__REQ_9250__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12570,17 +14821,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2126__", + "parentId": "__FLD_381__", + "_id": "__REQ_9251__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12591,8 +14837,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2127__", + "parentId": "__FLD_381__", + "_id": "__REQ_9252__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-legacy", @@ -12607,17 +14853,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2128__", + "parentId": "__FLD_381__", + "_id": "__REQ_9253__", "_type": "request", "name": "List discussion comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#list-discussion-comments-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12644,17 +14885,12 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2129__", + "parentId": "__FLD_381__", + "_id": "__REQ_9254__", "_type": "request", "name": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12665,17 +14901,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2130__", + "parentId": "__FLD_381__", + "_id": "__REQ_9255__", "_type": "request", "name": "Get a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12686,17 +14917,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2131__", + "parentId": "__FLD_381__", + "_id": "__REQ_9256__", "_type": "request", "name": "Update a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12707,8 +14933,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2132__", + "parentId": "__FLD_381__", + "_id": "__REQ_9257__", "_type": "request", "name": "Delete a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy", @@ -12723,17 +14949,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2133__", + "parentId": "__FLD_376__", + "_id": "__REQ_9258__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12759,17 +14980,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2134__", + "parentId": "__FLD_376__", + "_id": "__REQ_9259__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12780,17 +14996,12 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2135__", + "parentId": "__FLD_376__", + "_id": "__REQ_9260__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12816,17 +15027,12 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2136__", + "parentId": "__FLD_376__", + "_id": "__REQ_9261__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12837,8 +15043,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2137__", + "parentId": "__FLD_381__", + "_id": "__REQ_9262__", "_type": "request", "name": "List pending team invitations (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy", @@ -12864,8 +15070,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2138__", + "parentId": "__FLD_381__", + "_id": "__REQ_9263__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/rest/reference/teams#list-team-members-legacy", @@ -12896,8 +15102,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2139__", + "parentId": "__FLD_381__", + "_id": "__REQ_9264__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/rest/reference/teams#get-team-member-legacy", @@ -12912,11 +15118,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2140__", + "parentId": "__FLD_381__", + "_id": "__REQ_9265__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/teams#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12928,11 +15134,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2141__", + "parentId": "__FLD_381__", + "_id": "__REQ_9266__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12944,11 +15150,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2142__", + "parentId": "__FLD_381__", + "_id": "__REQ_9267__", "_type": "request", "name": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12960,11 +15166,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2143__", + "parentId": "__FLD_381__", + "_id": "__REQ_9268__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12976,11 +15182,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2144__", + "parentId": "__FLD_381__", + "_id": "__REQ_9269__", "_type": "request", "name": "Remove team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12992,17 +15198,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2145__", + "parentId": "__FLD_381__", + "_id": "__REQ_9270__", "_type": "request", "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/v3/teams/#list-team-projects-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/rest/reference/teams/#list-team-projects-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13024,17 +15225,12 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2146__", + "parentId": "__FLD_381__", + "_id": "__REQ_9271__", "_type": "request", "name": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-project-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13045,17 +15241,12 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2147__", + "parentId": "__FLD_381__", + "_id": "__REQ_9272__", "_type": "request", "name": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-project-permissions-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13066,11 +15257,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2148__", + "parentId": "__FLD_381__", + "_id": "__REQ_9273__", "_type": "request", "name": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/v3/teams/#remove-a-project-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13082,11 +15273,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2149__", + "parentId": "__FLD_381__", + "_id": "__REQ_9274__", "_type": "request", "name": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/v3/teams/#list-team-repositories-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/rest/reference/teams/#list-team-repositories-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13109,11 +15300,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2150__", + "parentId": "__FLD_381__", + "_id": "__REQ_9275__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13125,11 +15316,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2151__", + "parentId": "__FLD_381__", + "_id": "__REQ_9276__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13141,11 +15332,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2152__", + "parentId": "__FLD_381__", + "_id": "__REQ_9277__", "_type": "request", "name": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/v3/teams/#remove-a-repository-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13157,11 +15348,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2153__", + "parentId": "__FLD_381__", + "_id": "__REQ_9278__", "_type": "request", "name": "List IdP groups for a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\nhttps://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13173,11 +15364,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2154__", + "parentId": "__FLD_381__", + "_id": "__REQ_9279__", "_type": "request", "name": "Create or update IdP group connections (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nhttps://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13189,11 +15380,11 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2155__", + "parentId": "__FLD_381__", + "_id": "__REQ_9280__", "_type": "request", "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/v3/teams/#list-child-teams-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/rest/reference/teams/#list-child-teams-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13216,11 +15407,11 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2156__", + "parentId": "__FLD_382__", + "_id": "__REQ_9281__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13232,11 +15423,11 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2157__", + "parentId": "__FLD_382__", + "_id": "__REQ_9282__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13248,8 +15439,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2158__", + "parentId": "__FLD_382__", + "_id": "__REQ_9283__", "_type": "request", "name": "List users blocked by the authenticated user", "description": "List the users you've blocked on your personal account.\n\nhttps://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", @@ -13264,8 +15455,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2159__", + "parentId": "__FLD_382__", + "_id": "__REQ_9284__", "_type": "request", "name": "Check if a user is blocked by the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user", @@ -13280,8 +15471,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2160__", + "parentId": "__FLD_382__", + "_id": "__REQ_9285__", "_type": "request", "name": "Block a user", "description": "\n\nhttps://docs.github.com/rest/reference/users#block-a-user", @@ -13290,30 +15481,360 @@ "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "method": "PUT", + "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_382__", + "_id": "__REQ_9286__", + "_type": "request", + "name": "Unblock a user", + "description": "\n\nhttps://docs.github.com/rest/reference/users#unblock-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9287__", + "_type": "request", + "name": "List codespaces for the authenticated user", + "description": "Lists the authenticated user's codespaces.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-codespaces-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "repository_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9288__", + "_type": "request", + "name": "Create a codespace for the authenticated user", + "description": "Creates a new codespace, owned by the authenticated user.\n\nThis endpoint requires either a `repository_id` OR a `pull_request` but not both.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#create-a-codespace-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/codespaces", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9289__", + "_type": "request", + "name": "List secrets for the authenticated user", + "description": "Lists all secrets available for a user's Codespaces without revealing their\nencrypted values.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-secrets-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9290__", + "_type": "request", + "name": "Get public key for the authenticated user", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#get-public-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9291__", + "_type": "request", + "name": "Get a secret for the authenticated user", + "description": "Gets a secret available to a user's codespaces without revealing its encrypted value.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#get-a-secret-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9292__", + "_type": "request", + "name": "Create or update a secret for the authenticated user", + "description": "Creates or updates a secret for a user's codespace with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages).\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must also have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission and `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/rest/reference/codespaces#create-or-update-a-secret-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9293__", + "_type": "request", + "name": "Delete a secret for the authenticated user", + "description": "Deletes a secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#delete-a-secret-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9294__", + "_type": "request", + "name": "List selected repositories for a user secret", + "description": "List the repositories that have been granted the ability to use a user's codespace secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9295__", + "_type": "request", + "name": "Set selected repositories for a user secret", + "description": "Select the repositories that will use a user's codespace secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-a-user-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9296__", + "_type": "request", + "name": "Add a selected repository to a user secret", + "description": "Adds a repository to the selected repositories for a user's codespace secret.\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on the referenced repository to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9297__", + "_type": "request", + "name": "Remove a selected repository from a user secret", + "description": "Removes a repository from the selected repositories for a user's codespace secret.\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/codespaces/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9298__", + "_type": "request", + "name": "Get a codespace for the authenticated user", + "description": "Gets information about a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#get-a-codespace-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9299__", + "_type": "request", + "name": "Update a codespace for the authenticated user", + "description": "Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.\n\nIf you specify a new machine type it will be applied the next time your codespace is started.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#update-a-codespace-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9300__", + "_type": "request", + "name": "Delete a codespace for the authenticated user", + "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#delete-a-codespace-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9301__", + "_type": "request", + "name": "Export a codespace for the authenticated user", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}/exports", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9302__", + "_type": "request", + "name": "Get details about a codespace export", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}/exports/{{ export_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9303__", + "_type": "request", + "name": "List machine types for a codespace", + "description": "List the machine types a codespace can transition to use.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#list-machine-types-for-a-codespace", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}/machines", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_356__", + "_id": "__REQ_9304__", + "_type": "request", + "name": "Start a codespace for the authenticated user", + "description": "Starts a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}/start", "body": {}, "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2161__", + "parentId": "__FLD_356__", + "_id": "__REQ_9305__", "_type": "request", - "name": "Unblock a user", - "description": "\n\nhttps://docs.github.com/rest/reference/users#unblock-a-user", + "name": "Stop a codespace for the authenticated user", + "description": "Stops a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.\n\nhttps://docs.github.com/rest/reference/codespaces#stop-a-codespace-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/user/blocks/{{ username }}", + "method": "POST", + "url": "{{ github_api_root }}/user/codespaces/{{ codespace_name }}/stop", "body": {}, "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2162__", + "parentId": "__FLD_382__", + "_id": "__REQ_9306__", "_type": "request", "name": "Set primary email visibility for the authenticated user", "description": "Sets the visibility for your primary email addresses.\n\nhttps://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user", @@ -13328,8 +15849,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2163__", + "parentId": "__FLD_382__", + "_id": "__REQ_9307__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -13355,8 +15876,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2164__", + "parentId": "__FLD_382__", + "_id": "__REQ_9308__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -13371,8 +15892,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2165__", + "parentId": "__FLD_382__", + "_id": "__REQ_9309__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -13387,8 +15908,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2166__", + "parentId": "__FLD_382__", + "_id": "__REQ_9310__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user", @@ -13414,8 +15935,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2167__", + "parentId": "__FLD_382__", + "_id": "__REQ_9311__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -13441,8 +15962,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2168__", + "parentId": "__FLD_382__", + "_id": "__REQ_9312__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -13457,8 +15978,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2169__", + "parentId": "__FLD_382__", + "_id": "__REQ_9313__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/rest/reference/users#follow-a-user", @@ -13473,8 +15994,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2170__", + "parentId": "__FLD_382__", + "_id": "__REQ_9314__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/rest/reference/users#unfollow-a-user", @@ -13489,8 +16010,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2171__", + "parentId": "__FLD_382__", + "_id": "__REQ_9315__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -13516,8 +16037,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2172__", + "parentId": "__FLD_382__", + "_id": "__REQ_9316__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -13532,8 +16053,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2173__", + "parentId": "__FLD_382__", + "_id": "__REQ_9317__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -13548,8 +16069,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2174__", + "parentId": "__FLD_382__", + "_id": "__REQ_9318__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -13564,8 +16085,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2175__", + "parentId": "__FLD_351__", + "_id": "__REQ_9319__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -13591,17 +16112,12 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2176__", + "parentId": "__FLD_351__", + "_id": "__REQ_9320__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13623,8 +16139,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2177__", + "parentId": "__FLD_351__", + "_id": "__REQ_9321__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -13639,8 +16155,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2178__", + "parentId": "__FLD_351__", + "_id": "__REQ_9322__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -13655,11 +16171,11 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_2179__", + "parentId": "__FLD_364__", + "_id": "__REQ_9323__", "_type": "request", "name": "Get interaction restrictions for your public repositories", - "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.\n\nhttps://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13671,8 +16187,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_2180__", + "parentId": "__FLD_364__", + "_id": "__REQ_9324__", "_type": "request", "name": "Set interaction restrictions for your public repositories", "description": "Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.\n\nhttps://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories", @@ -13687,8 +16203,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_2181__", + "parentId": "__FLD_364__", + "_id": "__REQ_9325__", "_type": "request", "name": "Remove interaction restrictions from your public repositories", "description": "Removes any interaction restrictions from your public repositories.\n\nhttps://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories", @@ -13703,17 +16219,12 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_2182__", + "parentId": "__FLD_365__", + "_id": "__REQ_9326__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13763,8 +16274,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2183__", + "parentId": "__FLD_382__", + "_id": "__REQ_9327__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -13790,8 +16301,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2184__", + "parentId": "__FLD_382__", + "_id": "__REQ_9328__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -13806,8 +16317,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2185__", + "parentId": "__FLD_382__", + "_id": "__REQ_9329__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -13822,8 +16333,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2186__", + "parentId": "__FLD_382__", + "_id": "__REQ_9330__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -13838,8 +16349,8 @@ "parameters": [] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2187__", + "parentId": "__FLD_351__", + "_id": "__REQ_9331__", "_type": "request", "name": "List subscriptions for the authenticated user", "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user", @@ -13865,8 +16376,8 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2188__", + "parentId": "__FLD_351__", + "_id": "__REQ_9332__", "_type": "request", "name": "List subscriptions for the authenticated user (stubbed)", "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed", @@ -13892,8 +16403,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2189__", + "parentId": "__FLD_371__", + "_id": "__REQ_9333__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -13923,8 +16434,8 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2190__", + "parentId": "__FLD_371__", + "_id": "__REQ_9334__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -13939,8 +16450,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2191__", + "parentId": "__FLD_371__", + "_id": "__REQ_9335__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -13955,17 +16466,12 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2192__", + "parentId": "__FLD_369__", + "_id": "__REQ_9336__", "_type": "request", "name": "List user migrations", "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/rest/reference/migrations#list-user-migrations", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -13987,8 +16493,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2193__", + "parentId": "__FLD_369__", + "_id": "__REQ_9337__", "_type": "request", "name": "Start a user migration", "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/rest/reference/migrations#start-a-user-migration", @@ -14003,17 +16509,12 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2194__", + "parentId": "__FLD_369__", + "_id": "__REQ_9338__", "_type": "request", "name": "Get a user migration status", "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive).\n\nhttps://docs.github.com/rest/reference/migrations#get-a-user-migration-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14029,17 +16530,12 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2195__", + "parentId": "__FLD_369__", + "_id": "__REQ_9339__", "_type": "request", "name": "Download a user migration archive", "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/rest/reference/migrations#download-a-user-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14050,17 +16546,12 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2196__", + "parentId": "__FLD_369__", + "_id": "__REQ_9340__", "_type": "request", "name": "Delete a user migration archive", "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/reference/migrations#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/reference/migrations#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.\n\nhttps://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14071,17 +16562,12 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2197__", + "parentId": "__FLD_369__", + "_id": "__REQ_9341__", "_type": "request", "name": "Unlock a user repository", "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/reference/migrations#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/reference/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.\n\nhttps://docs.github.com/rest/reference/migrations#unlock-a-user-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14092,17 +16578,12 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2198__", + "parentId": "__FLD_369__", + "_id": "__REQ_9342__", "_type": "request", "name": "List repositories for a user migration", "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.wyandotte-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14124,11 +16605,11 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2199__", + "parentId": "__FLD_371__", + "_id": "__REQ_9343__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14151,17 +16632,170 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2200__", + "parentId": "__FLD_372__", + "_id": "__REQ_9344__", "_type": "request", - "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/v3/projects/#create-a-user-project", - "headers": [ + "name": "List packages for the authenticated user's namespace", + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#list-packages-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/packages", + "body": {}, + "parameters": [ + { + "name": "package_type", + "disabled": false + }, + { + "name": "visibility", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9345__", + "_type": "request", + "name": "Get a package for the authenticated user", + "description": "Gets a specific package for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9346__", + "_type": "request", + "name": "Delete a package for the authenticated user", + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9347__", + "_type": "request", + "name": "Restore a package for the authenticated user", + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. If `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}/restore", + "body": {}, + "parameters": [ + { + "name": "token", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9348__", + "_type": "request", + "name": "Get all package versions for a package owned by the authenticated user", + "description": "Returns all package versions for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}/versions", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "name": "state", + "value": "active", + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9349__", + "_type": "request", + "name": "Get a package version for the authenticated user", + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-version-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9350__", + "_type": "request", + "name": "Delete a package version for the authenticated user", + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `packages:read` and `packages:delete` scopes.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-version-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9351__", + "_type": "request", + "name": "Restore a package version for the authenticated user", + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. If `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-version-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}/restore", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_373__", + "_id": "__REQ_9352__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/rest/reference/projects#create-a-user-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14172,8 +16806,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2201__", + "parentId": "__FLD_382__", + "_id": "__REQ_9353__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -14199,11 +16833,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2202__", + "parentId": "__FLD_377__", + "_id": "__REQ_9354__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14258,17 +16892,12 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2203__", + "parentId": "__FLD_377__", + "_id": "__REQ_9355__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/v3/repos/#create-a-repository-for-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14279,11 +16908,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2204__", + "parentId": "__FLD_377__", + "_id": "__REQ_9356__", "_type": "request", "name": "List repository invitations for the authenticated user", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14306,11 +16935,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2205__", + "parentId": "__FLD_377__", + "_id": "__REQ_9357__", "_type": "request", "name": "Accept a repository invitation", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#accept-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14322,11 +16951,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2206__", + "parentId": "__FLD_377__", + "_id": "__REQ_9358__", "_type": "request", "name": "Decline a repository invitation", - "description": "\n\nhttps://docs.github.com/rest/reference/repos#decline-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14338,8 +16967,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2207__", + "parentId": "__FLD_350__", + "_id": "__REQ_9359__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -14375,8 +17004,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2208__", + "parentId": "__FLD_350__", + "_id": "__REQ_9360__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -14391,8 +17020,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2209__", + "parentId": "__FLD_350__", + "_id": "__REQ_9361__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -14407,8 +17036,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2210__", + "parentId": "__FLD_350__", + "_id": "__REQ_9362__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -14423,8 +17052,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2211__", + "parentId": "__FLD_350__", + "_id": "__REQ_9363__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -14450,11 +17079,11 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2212__", + "parentId": "__FLD_381__", + "_id": "__REQ_9364__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).\n\nhttps://docs.github.com/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).\n\nhttps://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14477,11 +17106,11 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2213__", + "parentId": "__FLD_382__", + "_id": "__REQ_9365__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14503,11 +17132,11 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2214__", + "parentId": "__FLD_382__", + "_id": "__REQ_9366__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/rest/reference/users#emails)\".\n\nhttps://docs.github.com/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/rest/reference/users#emails)\".\n\nhttps://docs.github.com/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14519,8 +17148,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2215__", + "parentId": "__FLD_350__", + "_id": "__REQ_9367__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user", @@ -14546,8 +17175,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2216__", + "parentId": "__FLD_350__", + "_id": "__REQ_9368__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -14573,8 +17202,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2217__", + "parentId": "__FLD_350__", + "_id": "__REQ_9369__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-for-a-user", @@ -14600,8 +17229,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2218__", + "parentId": "__FLD_382__", + "_id": "__REQ_9370__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/rest/reference/users#list-followers-of-a-user", @@ -14627,8 +17256,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2219__", + "parentId": "__FLD_382__", + "_id": "__REQ_9371__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/rest/reference/users#list-the-people-a-user-follows", @@ -14654,8 +17283,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2220__", + "parentId": "__FLD_382__", + "_id": "__REQ_9372__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user", @@ -14670,11 +17299,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_2221__", + "parentId": "__FLD_361__", + "_id": "__REQ_9373__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14701,8 +17330,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2222__", + "parentId": "__FLD_382__", + "_id": "__REQ_9374__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user", @@ -14728,11 +17357,11 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2223__", + "parentId": "__FLD_382__", + "_id": "__REQ_9375__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14753,11 +17382,11 @@ ] }, { - "parentId": "__FLD_75__", - "_id": "__REQ_2224__", + "parentId": "__FLD_351__", + "_id": "__REQ_9376__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14769,8 +17398,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2225__", + "parentId": "__FLD_382__", + "_id": "__REQ_9377__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/rest/reference/users#list-public-keys-for-a-user", @@ -14796,11 +17425,11 @@ ] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_2226__", + "parentId": "__FLD_371__", + "_id": "__REQ_9378__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14823,17 +17452,154 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_2227__", + "parentId": "__FLD_372__", + "_id": "__REQ_9379__", "_type": "request", - "name": "List user projects", - "description": "\n\nhttps://docs.github.com/v3/projects/#list-user-projects", - "headers": [ + "name": "List packages for a user", + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#list-packages-for-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/packages", + "body": {}, + "parameters": [ + { + "name": "package_type", + "disabled": false + }, + { + "name": "visibility", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9380__", + "_type": "request", + "name": "Get a package for a user", + "description": "Gets a specific package metadata for a public package owned by a user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9381__", + "_type": "request", + "name": "Delete a package for a user", + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container you want to delete.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9382__", + "_type": "request", + "name": "Restore a package for a user", + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}/restore", + "body": {}, + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" + "name": "token", + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9383__", + "_type": "request", + "name": "Get all package versions for a package owned by a user", + "description": "Returns all package versions for a public package owned by a specified user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}/versions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9384__", + "_type": "request", + "name": "Get a package version for a user", + "description": "Gets a specific package version for a public package owned by a specified user.\n\nAt this time, to use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.\n\nhttps://docs.github.com/rest/reference/packages#get-a-package-version-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9385__", + "_type": "request", + "name": "Delete package version for a user", + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:delete` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container you want to delete.\n\nhttps://docs.github.com/rest/reference/packages#delete-a-package-version-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_372__", + "_id": "__REQ_9386__", + "_type": "request", + "name": "Restore package version for a user", + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` and `packages:write` scopes. In addition:\n- If `package_type` is not `container`, your token must also include the `repo` scope.\n- If `package_type` is `container`, you must also have admin permissions to the container that you want to restore.\n\nhttps://docs.github.com/rest/reference/packages#restore-a-package-version-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/users/{{ username }}/packages/{{ package_type }}/{{ package_name }}/versions/{{ package_version_id }}/restore", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_373__", + "_id": "__REQ_9387__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/rest/reference/projects#list-user-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14860,8 +17626,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2228__", + "parentId": "__FLD_350__", + "_id": "__REQ_9388__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -14887,8 +17653,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2229__", + "parentId": "__FLD_350__", + "_id": "__REQ_9389__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user", @@ -14914,17 +17680,12 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2230__", + "parentId": "__FLD_377__", + "_id": "__REQ_9390__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/v3/repos/#list-repositories-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json" - } - ], + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/rest/reference/repos#list-repositories-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -14960,11 +17721,11 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2231__", + "parentId": "__FLD_352__", + "_id": "__REQ_9391__", "_type": "request", "name": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-actions-billing-for-a-user", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14976,11 +17737,11 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2232__", + "parentId": "__FLD_352__", + "_id": "__REQ_9392__", "_type": "request", "name": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-github-packages-billing-for-a-user", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14992,11 +17753,11 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2233__", + "parentId": "__FLD_352__", + "_id": "__REQ_9393__", "_type": "request", "name": "Get shared storage billing for a user", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/v3/billing/#get-shared-storage-billing-for-a-user", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.\n\nhttps://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -15008,8 +17769,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2234__", + "parentId": "__FLD_350__", + "_id": "__REQ_9394__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user", @@ -15045,8 +17806,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_2235__", + "parentId": "__FLD_350__", + "_id": "__REQ_9395__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user", @@ -15072,8 +17833,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2236__", + "parentId": "__FLD_368__", + "_id": "__REQ_9396__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.18.json b/routes/ghes-2.18.json index aa2ee39..ca44682 100644 --- a/routes/ghes-2.18.json +++ b/routes/ghes-2.18.json @@ -1,22 +1,22 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.934Z", + "__export_date": "2022-08-22T01:15:59.719Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_25__", + "_id": "__FLD_49__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "app_slug": "", "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -30,6 +30,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "event_id": 0, "file_sha": "", @@ -37,7 +38,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -73,154 +73,153 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "" } }, { - "parentId": "__FLD_25__", - "_id": "__FLD_26__", + "parentId": "__FLD_49__", + "_id": "__FLD_50__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_27__", + "parentId": "__FLD_49__", + "_id": "__FLD_51__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_28__", + "parentId": "__FLD_49__", + "_id": "__FLD_52__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_29__", + "parentId": "__FLD_49__", + "_id": "__FLD_53__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_30__", + "parentId": "__FLD_49__", + "_id": "__FLD_54__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_31__", + "parentId": "__FLD_49__", + "_id": "__FLD_55__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_32__", + "parentId": "__FLD_49__", + "_id": "__FLD_56__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_33__", + "parentId": "__FLD_49__", + "_id": "__FLD_57__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_34__", + "parentId": "__FLD_49__", + "_id": "__FLD_58__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_35__", + "parentId": "__FLD_49__", + "_id": "__FLD_59__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_36__", + "parentId": "__FLD_49__", + "_id": "__FLD_60__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_37__", + "parentId": "__FLD_49__", + "_id": "__FLD_61__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_38__", + "parentId": "__FLD_49__", + "_id": "__FLD_62__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_39__", + "parentId": "__FLD_49__", + "_id": "__FLD_63__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_40__", + "parentId": "__FLD_49__", + "_id": "__FLD_64__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_41__", + "parentId": "__FLD_49__", + "_id": "__FLD_65__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_42__", + "parentId": "__FLD_49__", + "_id": "__FLD_66__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_43__", + "parentId": "__FLD_49__", + "_id": "__FLD_67__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_44__", + "parentId": "__FLD_49__", + "_id": "__FLD_68__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_45__", + "parentId": "__FLD_49__", + "_id": "__FLD_69__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_46__", + "parentId": "__FLD_49__", + "_id": "__FLD_70__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_47__", + "parentId": "__FLD_49__", + "_id": "__FLD_71__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_25__", - "_id": "__FLD_48__", + "parentId": "__FLD_49__", + "_id": "__FLD_72__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_38__", - "_id": "__REQ_509__", + "parentId": "__FLD_62__", + "_id": "__REQ_1075__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -232,8 +231,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_510__", + "parentId": "__FLD_55__", + "_id": "__REQ_1076__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +263,8 @@ ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_511__", + "parentId": "__FLD_55__", + "_id": "__REQ_1077__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +284,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_512__", + "parentId": "__FLD_55__", + "_id": "__REQ_1078__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +305,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_513__", + "parentId": "__FLD_55__", + "_id": "__REQ_1079__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +326,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_514__", + "parentId": "__FLD_55__", + "_id": "__REQ_1080__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +347,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_515__", + "parentId": "__FLD_55__", + "_id": "__REQ_1081__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +368,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_516__", + "parentId": "__FLD_55__", + "_id": "__REQ_1082__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-public-keys", @@ -392,12 +391,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_517__", + "parentId": "__FLD_55__", + "_id": "__REQ_1083__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,11 +425,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_518__", + "parentId": "__FLD_55__", + "_id": "__REQ_1084__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.18/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -433,8 +446,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_519__", + "parentId": "__FLD_55__", + "_id": "__REQ_1085__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -449,8 +462,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_520__", + "parentId": "__FLD_55__", + "_id": "__REQ_1086__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -465,8 +478,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_521__", + "parentId": "__FLD_55__", + "_id": "__REQ_1087__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -481,8 +494,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_522__", + "parentId": "__FLD_55__", + "_id": "__REQ_1088__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-organization", @@ -497,8 +510,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_523__", + "parentId": "__FLD_55__", + "_id": "__REQ_1089__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-an-organization-name", @@ -513,8 +526,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_524__", + "parentId": "__FLD_55__", + "_id": "__REQ_1090__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -541,12 +554,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_525__", + "parentId": "__FLD_55__", + "_id": "__REQ_1091__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -566,8 +589,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_526__", + "parentId": "__FLD_55__", + "_id": "__REQ_1092__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -587,8 +610,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_527__", + "parentId": "__FLD_55__", + "_id": "__REQ_1093__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -608,8 +631,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_528__", + "parentId": "__FLD_55__", + "_id": "__REQ_1094__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -629,8 +652,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_529__", + "parentId": "__FLD_55__", + "_id": "__REQ_1095__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -650,8 +673,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_530__", + "parentId": "__FLD_55__", + "_id": "__REQ_1096__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -671,8 +694,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_531__", + "parentId": "__FLD_55__", + "_id": "__REQ_1097__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -699,12 +722,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_532__", + "parentId": "__FLD_55__", + "_id": "__REQ_1098__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -724,8 +757,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_533__", + "parentId": "__FLD_55__", + "_id": "__REQ_1099__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -745,8 +778,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_534__", + "parentId": "__FLD_55__", + "_id": "__REQ_1100__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -766,8 +799,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_535__", + "parentId": "__FLD_55__", + "_id": "__REQ_1101__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -787,8 +820,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_536__", + "parentId": "__FLD_55__", + "_id": "__REQ_1102__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -814,8 +847,8 @@ ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_537__", + "parentId": "__FLD_55__", + "_id": "__REQ_1103__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -830,8 +863,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_538__", + "parentId": "__FLD_55__", + "_id": "__REQ_1104__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-user", @@ -846,8 +879,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_539__", + "parentId": "__FLD_55__", + "_id": "__REQ_1105__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -862,8 +895,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_540__", + "parentId": "__FLD_55__", + "_id": "__REQ_1106__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-a-user", @@ -878,8 +911,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_541__", + "parentId": "__FLD_55__", + "_id": "__REQ_1107__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -894,8 +927,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_542__", + "parentId": "__FLD_55__", + "_id": "__REQ_1108__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -910,11 +943,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_543__", + "parentId": "__FLD_51__", + "_id": "__REQ_1109__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -931,11 +964,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_544__", + "parentId": "__FLD_51__", + "_id": "__REQ_1110__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -947,11 +980,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_545__", + "parentId": "__FLD_51__", + "_id": "__REQ_1111__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -979,11 +1012,11 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_546__", + "parentId": "__FLD_51__", + "_id": "__REQ_1112__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1000,11 +1033,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_547__", + "parentId": "__FLD_51__", + "_id": "__REQ_1113__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1021,11 +1054,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_548__", + "parentId": "__FLD_51__", + "_id": "__REQ_1114__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -1042,8 +1075,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_549__", + "parentId": "__FLD_63__", + "_id": "__REQ_1115__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-grants", @@ -1065,12 +1098,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_550__", + "parentId": "__FLD_63__", + "_id": "__REQ_1116__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1085,8 +1122,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_551__", + "parentId": "__FLD_63__", + "_id": "__REQ_1117__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-a-grant", @@ -1101,8 +1138,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_552__", + "parentId": "__FLD_63__", + "_id": "__REQ_1118__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", @@ -1117,8 +1154,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_553__", + "parentId": "__FLD_63__", + "_id": "__REQ_1119__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#check-an-authorization", @@ -1133,8 +1170,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_554__", + "parentId": "__FLD_63__", + "_id": "__REQ_1120__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#reset-an-authorization", @@ -1149,8 +1186,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_555__", + "parentId": "__FLD_63__", + "_id": "__REQ_1121__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", @@ -1165,11 +1202,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_556__", + "parentId": "__FLD_51__", + "_id": "__REQ_1122__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1186,8 +1223,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_557__", + "parentId": "__FLD_63__", + "_id": "__REQ_1123__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1209,12 +1246,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_558__", + "parentId": "__FLD_63__", + "_id": "__REQ_1124__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1229,8 +1270,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_559__", + "parentId": "__FLD_63__", + "_id": "__REQ_1125__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1245,8 +1286,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_560__", + "parentId": "__FLD_63__", + "_id": "__REQ_1126__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1261,8 +1302,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_561__", + "parentId": "__FLD_63__", + "_id": "__REQ_1127__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1277,8 +1318,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_562__", + "parentId": "__FLD_63__", + "_id": "__REQ_1128__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1293,8 +1334,8 @@ "parameters": [] }, { - "parentId": "__FLD_39__", - "_id": "__REQ_563__", + "parentId": "__FLD_63__", + "_id": "__REQ_1129__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.18/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1309,17 +1350,12 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_564__", + "parentId": "__FLD_53__", + "_id": "__REQ_1130__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1330,17 +1366,12 @@ "parameters": [] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_565__", + "parentId": "__FLD_53__", + "_id": "__REQ_1131__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1351,77 +1382,216 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_566__", + "parentId": "__FLD_54__", + "_id": "__REQ_1132__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/emojis#get-emojis", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_30__", - "_id": "__REQ_567__", + "parentId": "__FLD_55__", + "_id": "__REQ_1133__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/emojis/#get-emojis", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_568__", + "parentId": "__FLD_55__", + "_id": "__REQ_1134__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-license-information", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1135__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1136__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1137__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1138__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1139__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1140__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1141__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1142__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_55__", + "_id": "__REQ_1143__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_569__", + "parentId": "__FLD_55__", + "_id": "__REQ_1144__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-statistics", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-users-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_570__", + "parentId": "__FLD_50__", + "_id": "__REQ_1145__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events", @@ -1447,8 +1617,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_571__", + "parentId": "__FLD_50__", + "_id": "__REQ_1146__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-feeds", @@ -1463,11 +1633,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_572__", + "parentId": "__FLD_56__", + "_id": "__REQ_1147__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1494,11 +1664,11 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_573__", + "parentId": "__FLD_56__", + "_id": "__REQ_1148__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1510,11 +1680,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_574__", + "parentId": "__FLD_56__", + "_id": "__REQ_1149__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1541,11 +1711,11 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_575__", + "parentId": "__FLD_56__", + "_id": "__REQ_1150__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1572,11 +1742,11 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_576__", + "parentId": "__FLD_56__", + "_id": "__REQ_1151__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1588,11 +1758,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_577__", + "parentId": "__FLD_56__", + "_id": "__REQ_1152__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1604,11 +1774,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_578__", + "parentId": "__FLD_56__", + "_id": "__REQ_1153__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1620,8 +1790,8 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_579__", + "parentId": "__FLD_56__", + "_id": "__REQ_1154__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gist-comments", @@ -1647,8 +1817,8 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_580__", + "parentId": "__FLD_56__", + "_id": "__REQ_1155__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#create-a-gist-comment", @@ -1663,8 +1833,8 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_581__", + "parentId": "__FLD_56__", + "_id": "__REQ_1156__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#get-a-gist-comment", @@ -1679,8 +1849,8 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_582__", + "parentId": "__FLD_56__", + "_id": "__REQ_1157__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#update-a-gist-comment", @@ -1695,8 +1865,8 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_583__", + "parentId": "__FLD_56__", + "_id": "__REQ_1158__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#delete-a-gist-comment", @@ -1711,11 +1881,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_584__", + "parentId": "__FLD_56__", + "_id": "__REQ_1159__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1738,11 +1908,11 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_585__", + "parentId": "__FLD_56__", + "_id": "__REQ_1160__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1765,11 +1935,11 @@ ] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_586__", + "parentId": "__FLD_56__", + "_id": "__REQ_1161__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1781,11 +1951,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_587__", + "parentId": "__FLD_56__", + "_id": "__REQ_1162__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1797,11 +1967,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_588__", + "parentId": "__FLD_56__", + "_id": "__REQ_1163__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1813,11 +1983,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_589__", + "parentId": "__FLD_56__", + "_id": "__REQ_1164__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1829,11 +1999,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_590__", + "parentId": "__FLD_56__", + "_id": "__REQ_1165__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1845,11 +2015,11 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_591__", + "parentId": "__FLD_58__", + "_id": "__REQ_1166__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1861,11 +2031,11 @@ "parameters": [] }, { - "parentId": "__FLD_34__", - "_id": "__REQ_592__", + "parentId": "__FLD_58__", + "_id": "__REQ_1167__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1877,8 +2047,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_593__", + "parentId": "__FLD_51__", + "_id": "__REQ_1168__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1909,11 +2079,11 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_594__", + "parentId": "__FLD_59__", + "_id": "__REQ_1169__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -1985,11 +2155,11 @@ ] }, { - "parentId": "__FLD_36__", - "_id": "__REQ_595__", + "parentId": "__FLD_60__", + "_id": "__REQ_1170__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2007,15 +2177,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_36__", - "_id": "__REQ_596__", + "parentId": "__FLD_60__", + "_id": "__REQ_1171__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2027,11 +2202,11 @@ "parameters": [] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_597__", + "parentId": "__FLD_61__", + "_id": "__REQ_1172__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2043,11 +2218,11 @@ "parameters": [] }, { - "parentId": "__FLD_37__", - "_id": "__REQ_598__", + "parentId": "__FLD_61__", + "_id": "__REQ_1173__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2059,11 +2234,11 @@ "parameters": [] }, { - "parentId": "__FLD_38__", - "_id": "__REQ_599__", + "parentId": "__FLD_62__", + "_id": "__REQ_1174__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2075,8 +2250,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_600__", + "parentId": "__FLD_50__", + "_id": "__REQ_1175__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2102,8 +2277,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_601__", + "parentId": "__FLD_50__", + "_id": "__REQ_1176__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2147,8 +2322,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_602__", + "parentId": "__FLD_50__", + "_id": "__REQ_1177__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-notifications-as-read", @@ -2163,8 +2338,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_603__", + "parentId": "__FLD_50__", + "_id": "__REQ_1178__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread", @@ -2179,8 +2354,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_604__", + "parentId": "__FLD_50__", + "_id": "__REQ_1179__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-a-thread-as-read", @@ -2195,8 +2370,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_605__", + "parentId": "__FLD_50__", + "_id": "__REQ_1180__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2211,8 +2386,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_606__", + "parentId": "__FLD_50__", + "_id": "__REQ_1181__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription", @@ -2227,8 +2402,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_607__", + "parentId": "__FLD_50__", + "_id": "__REQ_1182__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-thread-subscription", @@ -2243,11 +2418,11 @@ "parameters": [] }, { - "parentId": "__FLD_38__", - "_id": "__REQ_608__", + "parentId": "__FLD_62__", + "_id": "__REQ_1183__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2264,11 +2439,11 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_609__", + "parentId": "__FLD_64__", + "_id": "__REQ_1184__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2290,11 +2465,11 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_610__", + "parentId": "__FLD_64__", + "_id": "__REQ_1185__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2311,11 +2486,11 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_611__", + "parentId": "__FLD_64__", + "_id": "__REQ_1186__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2332,8 +2507,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_612__", + "parentId": "__FLD_50__", + "_id": "__REQ_1187__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-organization-events", @@ -2359,8 +2534,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_613__", + "parentId": "__FLD_64__", + "_id": "__REQ_1188__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-webhooks", @@ -2386,8 +2561,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_614__", + "parentId": "__FLD_64__", + "_id": "__REQ_1189__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#create-an-organization-webhook", @@ -2402,8 +2577,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_615__", + "parentId": "__FLD_64__", + "_id": "__REQ_1190__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-webhook", @@ -2418,8 +2593,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_616__", + "parentId": "__FLD_64__", + "_id": "__REQ_1191__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-webhook", @@ -2434,8 +2609,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_617__", + "parentId": "__FLD_64__", + "_id": "__REQ_1192__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#delete-an-organization-webhook", @@ -2450,8 +2625,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_618__", + "parentId": "__FLD_64__", + "_id": "__REQ_1193__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#ping-an-organization-webhook", @@ -2466,11 +2641,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_619__", + "parentId": "__FLD_51__", + "_id": "__REQ_1194__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2487,11 +2662,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_620__", + "parentId": "__FLD_59__", + "_id": "__REQ_1195__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2547,8 +2722,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_621__", + "parentId": "__FLD_64__", + "_id": "__REQ_1196__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-members", @@ -2584,8 +2759,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_622__", + "parentId": "__FLD_64__", + "_id": "__REQ_1197__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2600,8 +2775,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_623__", + "parentId": "__FLD_64__", + "_id": "__REQ_1198__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-an-organization-member", @@ -2616,11 +2791,11 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_624__", + "parentId": "__FLD_64__", + "_id": "__REQ_1199__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2632,8 +2807,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_625__", + "parentId": "__FLD_64__", + "_id": "__REQ_1200__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2648,8 +2823,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_626__", + "parentId": "__FLD_64__", + "_id": "__REQ_1201__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2664,8 +2839,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_627__", + "parentId": "__FLD_64__", + "_id": "__REQ_1202__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2696,8 +2871,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_628__", + "parentId": "__FLD_64__", + "_id": "__REQ_1203__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2712,8 +2887,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_629__", + "parentId": "__FLD_64__", + "_id": "__REQ_1204__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2728,8 +2903,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_630__", + "parentId": "__FLD_55__", + "_id": "__REQ_1205__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2756,12 +2931,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_631__", + "parentId": "__FLD_55__", + "_id": "__REQ_1206__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2781,8 +2966,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_632__", + "parentId": "__FLD_55__", + "_id": "__REQ_1207__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2802,8 +2987,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_633__", + "parentId": "__FLD_55__", + "_id": "__REQ_1208__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2823,11 +3008,11 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_634__", + "parentId": "__FLD_65__", + "_id": "__REQ_1209__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -2860,11 +3045,11 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_635__", + "parentId": "__FLD_65__", + "_id": "__REQ_1210__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2881,8 +3066,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_636__", + "parentId": "__FLD_64__", + "_id": "__REQ_1211__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-public-organization-members", @@ -2908,8 +3093,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_637__", + "parentId": "__FLD_64__", + "_id": "__REQ_1212__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -2924,8 +3109,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_638__", + "parentId": "__FLD_64__", + "_id": "__REQ_1213__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -2940,8 +3125,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_639__", + "parentId": "__FLD_64__", + "_id": "__REQ_1214__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -2956,11 +3141,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_640__", + "parentId": "__FLD_69__", + "_id": "__REQ_1215__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -3001,11 +3186,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_641__", + "parentId": "__FLD_69__", + "_id": "__REQ_1216__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -3022,11 +3207,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_642__", + "parentId": "__FLD_71__", + "_id": "__REQ_1217__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3049,11 +3234,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_643__", + "parentId": "__FLD_71__", + "_id": "__REQ_1218__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3065,11 +3250,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_644__", + "parentId": "__FLD_71__", + "_id": "__REQ_1219__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3081,8 +3266,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_645__", + "parentId": "__FLD_65__", + "_id": "__REQ_1220__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-card", @@ -3102,8 +3287,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_646__", + "parentId": "__FLD_65__", + "_id": "__REQ_1221__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-card", @@ -3123,8 +3308,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_647__", + "parentId": "__FLD_65__", + "_id": "__REQ_1222__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-card", @@ -3144,8 +3329,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_648__", + "parentId": "__FLD_65__", + "_id": "__REQ_1223__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-card", @@ -3165,8 +3350,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_649__", + "parentId": "__FLD_65__", + "_id": "__REQ_1224__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project-column", @@ -3186,8 +3371,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_650__", + "parentId": "__FLD_65__", + "_id": "__REQ_1225__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project-column", @@ -3207,8 +3392,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_651__", + "parentId": "__FLD_65__", + "_id": "__REQ_1226__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project-column", @@ -3228,8 +3413,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_652__", + "parentId": "__FLD_65__", + "_id": "__REQ_1227__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-cards", @@ -3265,11 +3450,11 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_653__", + "parentId": "__FLD_65__", + "_id": "__REQ_1228__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3286,8 +3471,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_654__", + "parentId": "__FLD_65__", + "_id": "__REQ_1229__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#move-a-project-column", @@ -3307,11 +3492,11 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_655__", + "parentId": "__FLD_65__", + "_id": "__REQ_1230__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -3328,11 +3513,11 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_656__", + "parentId": "__FLD_65__", + "_id": "__REQ_1231__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -3349,11 +3534,11 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_657__", + "parentId": "__FLD_65__", + "_id": "__REQ_1232__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -3370,8 +3555,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_658__", + "parentId": "__FLD_65__", + "_id": "__REQ_1233__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-collaborators", @@ -3407,8 +3592,8 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_659__", + "parentId": "__FLD_65__", + "_id": "__REQ_1234__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#add-project-collaborator", @@ -3428,8 +3613,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_660__", + "parentId": "__FLD_65__", + "_id": "__REQ_1235__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#remove-project-collaborator", @@ -3449,8 +3634,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_661__", + "parentId": "__FLD_65__", + "_id": "__REQ_1236__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#get-project-permission-for-a-user", @@ -3470,8 +3655,8 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_662__", + "parentId": "__FLD_65__", + "_id": "__REQ_1237__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-project-columns", @@ -3502,8 +3687,8 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_663__", + "parentId": "__FLD_65__", + "_id": "__REQ_1238__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-project-column", @@ -3523,11 +3708,11 @@ "parameters": [] }, { - "parentId": "__FLD_43__", - "_id": "__REQ_664__", + "parentId": "__FLD_67__", + "_id": "__REQ_1239__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3539,11 +3724,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_665__", + "parentId": "__FLD_68__", + "_id": "__REQ_1240__", "_type": "request", "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#delete-a-reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -3560,11 +3745,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_666__", + "parentId": "__FLD_69__", + "_id": "__REQ_1241__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -3581,11 +3766,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_667__", + "parentId": "__FLD_69__", + "_id": "__REQ_1242__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3602,11 +3787,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_668__", + "parentId": "__FLD_69__", + "_id": "__REQ_1243__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3618,8 +3803,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_669__", + "parentId": "__FLD_59__", + "_id": "__REQ_1244__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-assignees", @@ -3645,8 +3830,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_670__", + "parentId": "__FLD_59__", + "_id": "__REQ_1245__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3661,8 +3846,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_671__", + "parentId": "__FLD_69__", + "_id": "__REQ_1246__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches", @@ -3692,8 +3877,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_672__", + "parentId": "__FLD_69__", + "_id": "__REQ_1247__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-branch", @@ -3708,8 +3893,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_673__", + "parentId": "__FLD_69__", + "_id": "__REQ_1248__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-branch-protection", @@ -3729,8 +3914,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_674__", + "parentId": "__FLD_69__", + "_id": "__REQ_1249__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-branch-protection", @@ -3750,8 +3935,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_675__", + "parentId": "__FLD_69__", + "_id": "__REQ_1250__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-branch-protection", @@ -3766,8 +3951,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_676__", + "parentId": "__FLD_69__", + "_id": "__REQ_1251__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-admin-branch-protection", @@ -3782,8 +3967,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_677__", + "parentId": "__FLD_69__", + "_id": "__REQ_1252__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-admin-branch-protection", @@ -3798,8 +3983,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_678__", + "parentId": "__FLD_69__", + "_id": "__REQ_1253__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-admin-branch-protection", @@ -3814,8 +3999,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_679__", + "parentId": "__FLD_69__", + "_id": "__REQ_1254__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-pull-request-review-protection", @@ -3835,8 +4020,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_680__", + "parentId": "__FLD_69__", + "_id": "__REQ_1255__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-pull-request-review-protection", @@ -3856,8 +4041,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_681__", + "parentId": "__FLD_69__", + "_id": "__REQ_1256__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-pull-request-review-protection", @@ -3872,8 +4057,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_682__", + "parentId": "__FLD_69__", + "_id": "__REQ_1257__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-commit-signature-protection", @@ -3893,8 +4078,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_683__", + "parentId": "__FLD_69__", + "_id": "__REQ_1258__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-commit-signature-protection", @@ -3914,8 +4099,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_684__", + "parentId": "__FLD_69__", + "_id": "__REQ_1259__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-commit-signature-protection", @@ -3935,8 +4120,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_685__", + "parentId": "__FLD_69__", + "_id": "__REQ_1260__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-status-checks-protection", @@ -3951,8 +4136,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_686__", + "parentId": "__FLD_69__", + "_id": "__REQ_1261__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-status-check-potection", @@ -3967,8 +4152,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_687__", + "parentId": "__FLD_69__", + "_id": "__REQ_1262__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-protection", @@ -3983,8 +4168,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_688__", + "parentId": "__FLD_69__", + "_id": "__REQ_1263__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-status-check-contexts", @@ -3999,8 +4184,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_689__", + "parentId": "__FLD_69__", + "_id": "__REQ_1264__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-status-check-contexts", @@ -4015,8 +4200,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_690__", + "parentId": "__FLD_69__", + "_id": "__REQ_1265__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-status-check-contexts", @@ -4031,8 +4216,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_691__", + "parentId": "__FLD_69__", + "_id": "__REQ_1266__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-status-check-contexts", @@ -4047,8 +4232,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_692__", + "parentId": "__FLD_69__", + "_id": "__REQ_1267__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-access-restrictions", @@ -4063,8 +4248,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_693__", + "parentId": "__FLD_69__", + "_id": "__REQ_1268__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-access-restrictions", @@ -4079,8 +4264,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_694__", + "parentId": "__FLD_69__", + "_id": "__REQ_1269__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4095,8 +4280,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_695__", + "parentId": "__FLD_69__", + "_id": "__REQ_1270__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-team-access-restrictions", @@ -4111,8 +4296,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_696__", + "parentId": "__FLD_69__", + "_id": "__REQ_1271__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-team-access-restrictions", @@ -4127,8 +4312,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_697__", + "parentId": "__FLD_69__", + "_id": "__REQ_1272__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-team-access-restrictions", @@ -4143,8 +4328,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_698__", + "parentId": "__FLD_69__", + "_id": "__REQ_1273__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4159,8 +4344,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_699__", + "parentId": "__FLD_69__", + "_id": "__REQ_1274__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-user-access-restrictions", @@ -4175,8 +4360,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_700__", + "parentId": "__FLD_69__", + "_id": "__REQ_1275__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#set-user-access-restrictions", @@ -4191,8 +4376,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_701__", + "parentId": "__FLD_69__", + "_id": "__REQ_1276__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-user-access-restrictions", @@ -4207,8 +4392,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_702__", + "parentId": "__FLD_52__", + "_id": "__REQ_1277__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-run", @@ -4228,8 +4413,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_703__", + "parentId": "__FLD_52__", + "_id": "__REQ_1278__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-run", @@ -4249,8 +4434,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_704__", + "parentId": "__FLD_52__", + "_id": "__REQ_1279__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-a-check-run", @@ -4270,8 +4455,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_705__", + "parentId": "__FLD_52__", + "_id": "__REQ_1280__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-run-annotations", @@ -4302,8 +4487,8 @@ ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_706__", + "parentId": "__FLD_52__", + "_id": "__REQ_1281__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite", @@ -4323,8 +4508,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_707__", + "parentId": "__FLD_52__", + "_id": "__REQ_1282__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.18/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4344,8 +4529,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_708__", + "parentId": "__FLD_52__", + "_id": "__REQ_1283__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#get-a-check-suite", @@ -4365,8 +4550,8 @@ "parameters": [] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_709__", + "parentId": "__FLD_52__", + "_id": "__REQ_1284__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4410,8 +4595,8 @@ ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_710__", + "parentId": "__FLD_52__", + "_id": "__REQ_1285__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#rerequest-a-check-suite", @@ -4431,8 +4616,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_711__", + "parentId": "__FLD_69__", + "_id": "__REQ_1286__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-collaborators", @@ -4463,8 +4648,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_712__", + "parentId": "__FLD_69__", + "_id": "__REQ_1287__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4479,11 +4664,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_713__", + "parentId": "__FLD_69__", + "_id": "__REQ_1288__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4495,8 +4680,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_714__", + "parentId": "__FLD_69__", + "_id": "__REQ_1289__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#remove-a-repository-collaborator", @@ -4511,8 +4696,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_715__", + "parentId": "__FLD_69__", + "_id": "__REQ_1290__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4527,8 +4712,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_716__", + "parentId": "__FLD_69__", + "_id": "__REQ_1291__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4559,8 +4744,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_717__", + "parentId": "__FLD_69__", + "_id": "__REQ_1292__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit-comment", @@ -4580,8 +4765,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_718__", + "parentId": "__FLD_69__", + "_id": "__REQ_1293__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-commit-comment", @@ -4596,8 +4781,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_719__", + "parentId": "__FLD_69__", + "_id": "__REQ_1294__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-commit-comment", @@ -4612,11 +4797,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_720__", + "parentId": "__FLD_68__", + "_id": "__REQ_1295__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4648,11 +4833,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_721__", + "parentId": "__FLD_68__", + "_id": "__REQ_1296__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4669,8 +4854,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_722__", + "parentId": "__FLD_69__", + "_id": "__REQ_1297__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits", @@ -4716,8 +4901,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_723__", + "parentId": "__FLD_69__", + "_id": "__REQ_1298__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-branches-for-head-commit", @@ -4737,8 +4922,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_724__", + "parentId": "__FLD_69__", + "_id": "__REQ_1299__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-comments", @@ -4769,11 +4954,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_725__", + "parentId": "__FLD_69__", + "_id": "__REQ_1300__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4785,11 +4970,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_726__", + "parentId": "__FLD_69__", + "_id": "__REQ_1301__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4817,8 +5002,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_727__", + "parentId": "__FLD_69__", + "_id": "__REQ_1302__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-commit", @@ -4830,11 +5015,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_728__", + "parentId": "__FLD_52__", + "_id": "__REQ_1303__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -4874,12 +5070,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_28__", - "_id": "__REQ_729__", + "parentId": "__FLD_52__", + "_id": "__REQ_1304__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -4918,8 +5118,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_730__", + "parentId": "__FLD_69__", + "_id": "__REQ_1305__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -4931,11 +5131,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_731__", + "parentId": "__FLD_69__", + "_id": "__REQ_1306__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -4961,45 +5172,45 @@ ] }, { - "parentId": "__FLD_29__", - "_id": "__REQ_732__", + "parentId": "__FLD_69__", + "_id": "__REQ_1307__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_733__", + "parentId": "__FLD_51__", + "_id": "__REQ_1308__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_734__", + "parentId": "__FLD_69__", + "_id": "__REQ_1309__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.18/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content", @@ -5019,8 +5230,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_735__", + "parentId": "__FLD_69__", + "_id": "__REQ_1310__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-or-update-file-contents", @@ -5035,8 +5246,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_736__", + "parentId": "__FLD_69__", + "_id": "__REQ_1311__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-file", @@ -5051,11 +5262,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_737__", + "parentId": "__FLD_69__", + "_id": "__REQ_1312__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5082,8 +5293,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_738__", + "parentId": "__FLD_69__", + "_id": "__REQ_1313__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployments", @@ -5134,8 +5345,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_739__", + "parentId": "__FLD_69__", + "_id": "__REQ_1314__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment", @@ -5155,8 +5366,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_740__", + "parentId": "__FLD_69__", + "_id": "__REQ_1315__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment", @@ -5176,8 +5387,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_741__", + "parentId": "__FLD_69__", + "_id": "__REQ_1316__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deployment-statuses", @@ -5208,8 +5419,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_742__", + "parentId": "__FLD_69__", + "_id": "__REQ_1317__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deployment-status", @@ -5229,8 +5440,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_743__", + "parentId": "__FLD_69__", + "_id": "__REQ_1318__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deployment-status", @@ -5250,8 +5461,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_744__", + "parentId": "__FLD_50__", + "_id": "__REQ_1319__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-events", @@ -5277,8 +5488,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_745__", + "parentId": "__FLD_69__", + "_id": "__REQ_1320__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-forks", @@ -5309,11 +5520,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_746__", + "parentId": "__FLD_69__", + "_id": "__REQ_1321__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5325,8 +5536,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_747__", + "parentId": "__FLD_57__", + "_id": "__REQ_1322__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-blob", @@ -5341,8 +5552,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_748__", + "parentId": "__FLD_57__", + "_id": "__REQ_1323__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-blob", @@ -5357,8 +5568,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_749__", + "parentId": "__FLD_57__", + "_id": "__REQ_1324__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit", @@ -5373,8 +5584,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_750__", + "parentId": "__FLD_57__", + "_id": "__REQ_1325__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-commit", @@ -5389,8 +5600,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_751__", + "parentId": "__FLD_57__", + "_id": "__REQ_1326__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference", @@ -5405,11 +5616,11 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_752__", + "parentId": "__FLD_57__", + "_id": "__REQ_1327__", "_type": "request", "name": "Get all references", - "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#list-references", + "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://docs.github.com/enterprise-server@2.18/enterprise/2.18/rest/reference/git#get-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5432,8 +5643,8 @@ ] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_753__", + "parentId": "__FLD_57__", + "_id": "__REQ_1328__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference", @@ -5448,8 +5659,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_754__", + "parentId": "__FLD_57__", + "_id": "__REQ_1329__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#delete-a-reference", @@ -5464,8 +5675,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_755__", + "parentId": "__FLD_57__", + "_id": "__REQ_1330__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tag-object", @@ -5480,8 +5691,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_756__", + "parentId": "__FLD_57__", + "_id": "__REQ_1331__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tag", @@ -5496,8 +5707,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_757__", + "parentId": "__FLD_57__", + "_id": "__REQ_1332__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.18/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#create-a-tree", @@ -5512,8 +5723,8 @@ "parameters": [] }, { - "parentId": "__FLD_33__", - "_id": "__REQ_758__", + "parentId": "__FLD_57__", + "_id": "__REQ_1333__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/git#get-a-tree", @@ -5533,8 +5744,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_759__", + "parentId": "__FLD_69__", + "_id": "__REQ_1334__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-webhooks", @@ -5560,8 +5771,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_760__", + "parentId": "__FLD_69__", + "_id": "__REQ_1335__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-webhook", @@ -5576,8 +5787,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_761__", + "parentId": "__FLD_69__", + "_id": "__REQ_1336__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-webhook", @@ -5592,8 +5803,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_762__", + "parentId": "__FLD_69__", + "_id": "__REQ_1337__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-webhook", @@ -5608,8 +5819,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_763__", + "parentId": "__FLD_69__", + "_id": "__REQ_1338__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-webhook", @@ -5624,8 +5835,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_764__", + "parentId": "__FLD_69__", + "_id": "__REQ_1339__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#ping-a-repository-webhook", @@ -5640,8 +5851,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_765__", + "parentId": "__FLD_69__", + "_id": "__REQ_1340__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#test-the-push-repository-webhook", @@ -5656,11 +5867,11 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_766__", + "parentId": "__FLD_51__", + "_id": "__REQ_1341__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -5677,8 +5888,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_767__", + "parentId": "__FLD_69__", + "_id": "__REQ_1342__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations", @@ -5704,8 +5915,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_768__", + "parentId": "__FLD_69__", + "_id": "__REQ_1343__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-repository-invitation", @@ -5720,8 +5931,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_769__", + "parentId": "__FLD_69__", + "_id": "__REQ_1344__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-repository-invitation", @@ -5736,11 +5947,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_770__", + "parentId": "__FLD_59__", + "_id": "__REQ_1345__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", @@ -5807,11 +6018,11 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_771__", + "parentId": "__FLD_59__", + "_id": "__REQ_1346__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5823,8 +6034,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_772__", + "parentId": "__FLD_59__", + "_id": "__REQ_1347__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments-for-a-repository", @@ -5868,8 +6079,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_773__", + "parentId": "__FLD_59__", + "_id": "__REQ_1348__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-comment", @@ -5889,8 +6100,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_774__", + "parentId": "__FLD_59__", + "_id": "__REQ_1349__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-an-issue-comment", @@ -5905,8 +6116,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_775__", + "parentId": "__FLD_59__", + "_id": "__REQ_1350__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-an-issue-comment", @@ -5921,11 +6132,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_776__", + "parentId": "__FLD_68__", + "_id": "__REQ_1351__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5957,11 +6168,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_777__", + "parentId": "__FLD_68__", + "_id": "__REQ_1352__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -5978,8 +6189,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_778__", + "parentId": "__FLD_59__", + "_id": "__REQ_1353__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events-for-a-repository", @@ -6010,8 +6221,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_779__", + "parentId": "__FLD_59__", + "_id": "__REQ_1354__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue-event", @@ -6031,11 +6242,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_780__", + "parentId": "__FLD_59__", + "_id": "__REQ_1355__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.18/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -6052,11 +6263,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_781__", + "parentId": "__FLD_59__", + "_id": "__REQ_1356__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6068,8 +6279,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_782__", + "parentId": "__FLD_59__", + "_id": "__REQ_1357__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-assignees-to-an-issue", @@ -6084,8 +6295,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_783__", + "parentId": "__FLD_59__", + "_id": "__REQ_1358__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-assignees-from-an-issue", @@ -6100,8 +6311,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_784__", + "parentId": "__FLD_59__", + "_id": "__REQ_1359__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-comments", @@ -6136,11 +6347,11 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_785__", + "parentId": "__FLD_59__", + "_id": "__REQ_1360__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6152,8 +6363,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_786__", + "parentId": "__FLD_59__", + "_id": "__REQ_1361__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-issue-events", @@ -6184,8 +6395,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_787__", + "parentId": "__FLD_59__", + "_id": "__REQ_1362__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-an-issue", @@ -6211,8 +6422,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_788__", + "parentId": "__FLD_59__", + "_id": "__REQ_1363__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#add-labels-to-an-issue", @@ -6227,8 +6438,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_789__", + "parentId": "__FLD_59__", + "_id": "__REQ_1364__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#set-labels-for-an-issue", @@ -6243,8 +6454,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_790__", + "parentId": "__FLD_59__", + "_id": "__REQ_1365__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6259,8 +6470,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_791__", + "parentId": "__FLD_59__", + "_id": "__REQ_1366__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#remove-a-label-from-an-issue", @@ -6275,11 +6486,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_792__", + "parentId": "__FLD_59__", + "_id": "__REQ_1367__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#lock-an-issue", "headers": [ { "name": "Accept", @@ -6296,11 +6507,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_793__", + "parentId": "__FLD_59__", + "_id": "__REQ_1368__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6312,11 +6523,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_794__", + "parentId": "__FLD_68__", + "_id": "__REQ_1369__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6348,11 +6559,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_795__", + "parentId": "__FLD_68__", + "_id": "__REQ_1370__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.18/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6369,15 +6580,15 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_796__", + "parentId": "__FLD_59__", + "_id": "__REQ_1371__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + "value": "application/vnd.github.mockingbird-preview+json" } ], "authentication": { @@ -6401,8 +6612,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_797__", + "parentId": "__FLD_69__", + "_id": "__REQ_1372__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-deploy-keys", @@ -6428,8 +6639,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_798__", + "parentId": "__FLD_69__", + "_id": "__REQ_1373__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-deploy-key", @@ -6444,8 +6655,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_799__", + "parentId": "__FLD_69__", + "_id": "__REQ_1374__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-deploy-key", @@ -6460,8 +6671,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_800__", + "parentId": "__FLD_69__", + "_id": "__REQ_1375__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-deploy-key", @@ -6476,8 +6687,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_801__", + "parentId": "__FLD_59__", + "_id": "__REQ_1376__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-a-repository", @@ -6503,8 +6714,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_802__", + "parentId": "__FLD_59__", + "_id": "__REQ_1377__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-label", @@ -6519,8 +6730,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_803__", + "parentId": "__FLD_59__", + "_id": "__REQ_1378__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-label", @@ -6535,8 +6746,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_804__", + "parentId": "__FLD_59__", + "_id": "__REQ_1379__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-label", @@ -6551,11 +6762,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_805__", + "parentId": "__FLD_69__", + "_id": "__REQ_1380__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6567,11 +6778,11 @@ "parameters": [] }, { - "parentId": "__FLD_36__", - "_id": "__REQ_806__", + "parentId": "__FLD_60__", + "_id": "__REQ_1381__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6583,8 +6794,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_807__", + "parentId": "__FLD_69__", + "_id": "__REQ_1382__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#merge-a-branch", @@ -6599,8 +6810,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_808__", + "parentId": "__FLD_59__", + "_id": "__REQ_1383__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-milestones", @@ -6641,8 +6852,8 @@ ] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_809__", + "parentId": "__FLD_59__", + "_id": "__REQ_1384__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-a-milestone", @@ -6657,8 +6868,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_810__", + "parentId": "__FLD_59__", + "_id": "__REQ_1385__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#get-a-milestone", @@ -6673,8 +6884,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_811__", + "parentId": "__FLD_59__", + "_id": "__REQ_1386__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#update-a-milestone", @@ -6689,8 +6900,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_812__", + "parentId": "__FLD_59__", + "_id": "__REQ_1387__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#delete-a-milestone", @@ -6705,8 +6916,8 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_813__", + "parentId": "__FLD_59__", + "_id": "__REQ_1388__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6732,8 +6943,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_814__", + "parentId": "__FLD_50__", + "_id": "__REQ_1389__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6777,8 +6988,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_815__", + "parentId": "__FLD_50__", + "_id": "__REQ_1390__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#mark-repository-notifications-as-read", @@ -6793,8 +7004,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_816__", + "parentId": "__FLD_69__", + "_id": "__REQ_1391__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-github-pages-site", @@ -6809,8 +7020,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_817__", + "parentId": "__FLD_69__", + "_id": "__REQ_1392__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-github-pages-site", @@ -6830,8 +7041,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_818__", + "parentId": "__FLD_69__", + "_id": "__REQ_1393__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-information-about-a-github-pages-site", @@ -6851,8 +7062,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_819__", + "parentId": "__FLD_69__", + "_id": "__REQ_1394__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-github-pages-site", @@ -6872,8 +7083,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_820__", + "parentId": "__FLD_69__", + "_id": "__REQ_1395__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-github-pages-builds", @@ -6899,8 +7110,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_821__", + "parentId": "__FLD_69__", + "_id": "__REQ_1396__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#request-a-github-pages-build", @@ -6915,8 +7126,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_822__", + "parentId": "__FLD_69__", + "_id": "__REQ_1397__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-latest-pages-build", @@ -6931,8 +7142,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_823__", + "parentId": "__FLD_69__", + "_id": "__REQ_1398__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-github-pages-build", @@ -6947,8 +7158,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_824__", + "parentId": "__FLD_55__", + "_id": "__REQ_1399__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -6975,12 +7186,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_825__", + "parentId": "__FLD_55__", + "_id": "__REQ_1400__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7000,8 +7221,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_826__", + "parentId": "__FLD_55__", + "_id": "__REQ_1401__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7021,8 +7242,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_827__", + "parentId": "__FLD_55__", + "_id": "__REQ_1402__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7042,11 +7263,11 @@ "parameters": [] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_828__", + "parentId": "__FLD_65__", + "_id": "__REQ_1403__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -7079,11 +7300,11 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_829__", + "parentId": "__FLD_65__", + "_id": "__REQ_1404__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7100,11 +7321,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_830__", + "parentId": "__FLD_66__", + "_id": "__REQ_1405__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests", "headers": [ { "name": "Accept", @@ -7154,11 +7375,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_831__", + "parentId": "__FLD_66__", + "_id": "__REQ_1406__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-pull-request", "headers": [ { "name": "Accept", @@ -7175,8 +7396,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_832__", + "parentId": "__FLD_66__", + "_id": "__REQ_1407__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7196,7 +7417,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -7220,8 +7440,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_833__", + "parentId": "__FLD_66__", + "_id": "__REQ_1408__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7241,8 +7461,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_834__", + "parentId": "__FLD_66__", + "_id": "__REQ_1409__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7262,8 +7482,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_835__", + "parentId": "__FLD_66__", + "_id": "__REQ_1410__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7278,11 +7498,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_836__", + "parentId": "__FLD_68__", + "_id": "__REQ_1411__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7314,11 +7534,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_837__", + "parentId": "__FLD_68__", + "_id": "__REQ_1412__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7335,11 +7555,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_838__", + "parentId": "__FLD_66__", + "_id": "__REQ_1413__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.18/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7351,11 +7571,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_839__", + "parentId": "__FLD_66__", + "_id": "__REQ_1414__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -7372,8 +7592,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_840__", + "parentId": "__FLD_66__", + "_id": "__REQ_1415__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7417,11 +7637,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_841__", + "parentId": "__FLD_66__", + "_id": "__REQ_1416__", "_type": "request", "name": "Create a review comment for a pull request (alternative)", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.18/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7433,11 +7653,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_842__", + "parentId": "__FLD_66__", + "_id": "__REQ_1417__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7449,11 +7669,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_843__", + "parentId": "__FLD_66__", + "_id": "__REQ_1418__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7476,11 +7696,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_844__", + "parentId": "__FLD_66__", + "_id": "__REQ_1419__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7503,11 +7723,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_845__", + "parentId": "__FLD_66__", + "_id": "__REQ_1420__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7519,11 +7739,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_846__", + "parentId": "__FLD_66__", + "_id": "__REQ_1421__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#merge-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7535,8 +7755,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_847__", + "parentId": "__FLD_66__", + "_id": "__REQ_1422__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7562,11 +7782,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_848__", + "parentId": "__FLD_66__", + "_id": "__REQ_1423__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.18/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7578,8 +7798,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_849__", + "parentId": "__FLD_66__", + "_id": "__REQ_1424__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7594,8 +7814,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_850__", + "parentId": "__FLD_66__", + "_id": "__REQ_1425__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7621,11 +7841,11 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_851__", + "parentId": "__FLD_66__", + "_id": "__REQ_1426__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7637,8 +7857,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_852__", + "parentId": "__FLD_66__", + "_id": "__REQ_1427__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7653,8 +7873,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_853__", + "parentId": "__FLD_66__", + "_id": "__REQ_1428__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7669,8 +7889,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_854__", + "parentId": "__FLD_66__", + "_id": "__REQ_1429__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7685,8 +7905,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_855__", + "parentId": "__FLD_66__", + "_id": "__REQ_1430__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7712,8 +7932,8 @@ ] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_856__", + "parentId": "__FLD_66__", + "_id": "__REQ_1431__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7728,8 +7948,8 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_857__", + "parentId": "__FLD_66__", + "_id": "__REQ_1432__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7744,11 +7964,11 @@ "parameters": [] }, { - "parentId": "__FLD_42__", - "_id": "__REQ_858__", + "parentId": "__FLD_66__", + "_id": "__REQ_1433__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -7765,8 +7985,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_859__", + "parentId": "__FLD_69__", + "_id": "__REQ_1434__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-readme", @@ -7786,8 +8006,29 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_860__", + "parentId": "__FLD_69__", + "_id": "__REQ_1435__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_69__", + "_id": "__REQ_1436__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-releases", @@ -7813,11 +8054,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_861__", + "parentId": "__FLD_69__", + "_id": "__REQ_1437__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7829,8 +8070,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_862__", + "parentId": "__FLD_69__", + "_id": "__REQ_1438__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-asset", @@ -7845,8 +8086,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_863__", + "parentId": "__FLD_69__", + "_id": "__REQ_1439__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release-asset", @@ -7861,8 +8102,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_864__", + "parentId": "__FLD_69__", + "_id": "__REQ_1440__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release-asset", @@ -7877,8 +8118,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_865__", + "parentId": "__FLD_69__", + "_id": "__REQ_1441__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-latest-release", @@ -7893,8 +8134,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_866__", + "parentId": "__FLD_69__", + "_id": "__REQ_1442__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release-by-tag-name", @@ -7909,8 +8150,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_867__", + "parentId": "__FLD_69__", + "_id": "__REQ_1443__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-release", @@ -7925,8 +8166,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_868__", + "parentId": "__FLD_69__", + "_id": "__REQ_1444__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#update-a-release", @@ -7941,8 +8182,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_869__", + "parentId": "__FLD_69__", + "_id": "__REQ_1445__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#delete-a-release", @@ -7957,8 +8198,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_870__", + "parentId": "__FLD_69__", + "_id": "__REQ_1446__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-release-assets", @@ -7984,11 +8225,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_871__", + "parentId": "__FLD_69__", + "_id": "__REQ_1447__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8009,8 +8250,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_872__", + "parentId": "__FLD_50__", + "_id": "__REQ_1448__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-stargazers", @@ -8036,8 +8277,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_873__", + "parentId": "__FLD_69__", + "_id": "__REQ_1449__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-activity", @@ -8052,8 +8293,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_874__", + "parentId": "__FLD_69__", + "_id": "__REQ_1450__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8068,8 +8309,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_875__", + "parentId": "__FLD_69__", + "_id": "__REQ_1451__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-contributor-commit-activity", @@ -8084,8 +8325,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_876__", + "parentId": "__FLD_69__", + "_id": "__REQ_1452__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-weekly-commit-count", @@ -8100,8 +8341,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_877__", + "parentId": "__FLD_69__", + "_id": "__REQ_1453__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8116,8 +8357,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_878__", + "parentId": "__FLD_69__", + "_id": "__REQ_1454__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-commit-status", @@ -8132,8 +8373,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_879__", + "parentId": "__FLD_50__", + "_id": "__REQ_1455__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-watchers", @@ -8159,8 +8400,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_880__", + "parentId": "__FLD_50__", + "_id": "__REQ_1456__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#get-a-repository-subscription", @@ -8175,8 +8416,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_881__", + "parentId": "__FLD_50__", + "_id": "__REQ_1457__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription", @@ -8191,8 +8432,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_882__", + "parentId": "__FLD_50__", + "_id": "__REQ_1458__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.18/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#delete-a-repository-subscription", @@ -8207,11 +8448,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_883__", + "parentId": "__FLD_69__", + "_id": "__REQ_1459__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8234,8 +8475,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_884__", + "parentId": "__FLD_69__", + "_id": "__REQ_1460__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", @@ -8250,11 +8491,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_885__", + "parentId": "__FLD_69__", + "_id": "__REQ_1461__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8277,11 +8518,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_886__", + "parentId": "__FLD_69__", + "_id": "__REQ_1462__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8295,14 +8536,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_887__", + "parentId": "__FLD_69__", + "_id": "__REQ_1463__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#replace-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8319,11 +8571,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_888__", + "parentId": "__FLD_69__", + "_id": "__REQ_1464__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8335,50 +8587,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_889__", - "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_45__", - "_id": "__REQ_890__", - "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_45__", - "_id": "__REQ_891__", + "parentId": "__FLD_69__", + "_id": "__REQ_1465__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#download-a-repository-archive", @@ -8393,11 +8603,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_892__", + "parentId": "__FLD_69__", + "_id": "__REQ_1466__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8414,11 +8624,11 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_893__", + "parentId": "__FLD_69__", + "_id": "__REQ_1467__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8440,11 +8650,11 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_894__", + "parentId": "__FLD_70__", + "_id": "__REQ_1468__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8480,11 +8690,11 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_895__", + "parentId": "__FLD_70__", + "_id": "__REQ_1469__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -8525,11 +8735,11 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_896__", + "parentId": "__FLD_70__", + "_id": "__REQ_1470__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8565,11 +8775,11 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_897__", + "parentId": "__FLD_70__", + "_id": "__REQ_1471__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8595,15 +8805,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_898__", + "parentId": "__FLD_70__", + "_id": "__REQ_1472__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -8644,11 +8864,11 @@ ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_899__", + "parentId": "__FLD_70__", + "_id": "__REQ_1473__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -8666,15 +8886,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_46__", - "_id": "__REQ_900__", + "parentId": "__FLD_70__", + "_id": "__REQ_1474__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.18/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8710,8 +8940,8 @@ ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_901__", + "parentId": "__FLD_55__", + "_id": "__REQ_1475__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8726,8 +8956,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_902__", + "parentId": "__FLD_55__", + "_id": "__REQ_1476__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8742,8 +8972,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_903__", + "parentId": "__FLD_55__", + "_id": "__REQ_1477__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8758,11 +8988,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_904__", + "parentId": "__FLD_55__", + "_id": "__REQ_1478__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8774,8 +9004,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_905__", + "parentId": "__FLD_55__", + "_id": "__REQ_1479__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings", @@ -8790,11 +9020,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_906__", + "parentId": "__FLD_55__", + "_id": "__REQ_1480__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8806,8 +9036,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_907__", + "parentId": "__FLD_55__", + "_id": "__REQ_1481__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -8822,11 +9052,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_908__", + "parentId": "__FLD_55__", + "_id": "__REQ_1482__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8838,11 +9068,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_909__", + "parentId": "__FLD_55__", + "_id": "__REQ_1483__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8854,11 +9084,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_910__", + "parentId": "__FLD_55__", + "_id": "__REQ_1484__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8870,11 +9100,11 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_911__", + "parentId": "__FLD_55__", + "_id": "__REQ_1485__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8886,11 +9116,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_912__", + "parentId": "__FLD_71__", + "_id": "__REQ_1486__", "_type": "request", "name": "Get a team", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#get-a-team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#get-a-team", "headers": [ { "name": "Accept", @@ -8907,11 +9137,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_913__", + "parentId": "__FLD_71__", + "_id": "__REQ_1487__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#update-a-team", "headers": [ { "name": "Accept", @@ -8928,11 +9158,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_914__", + "parentId": "__FLD_71__", + "_id": "__REQ_1488__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#delete-a-team", "headers": [ { "name": "Accept", @@ -8949,8 +9179,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_915__", + "parentId": "__FLD_71__", + "_id": "__REQ_1489__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussions", @@ -8986,11 +9216,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_916__", + "parentId": "__FLD_71__", + "_id": "__REQ_1490__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -9007,8 +9237,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_917__", + "parentId": "__FLD_71__", + "_id": "__REQ_1491__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion", @@ -9028,8 +9258,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_918__", + "parentId": "__FLD_71__", + "_id": "__REQ_1492__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion", @@ -9049,8 +9279,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_919__", + "parentId": "__FLD_71__", + "_id": "__REQ_1493__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion", @@ -9070,8 +9300,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_920__", + "parentId": "__FLD_71__", + "_id": "__REQ_1494__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-discussion-comments", @@ -9107,11 +9337,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_921__", + "parentId": "__FLD_71__", + "_id": "__REQ_1495__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -9128,8 +9358,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_922__", + "parentId": "__FLD_71__", + "_id": "__REQ_1496__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-a-discussion-comment", @@ -9149,8 +9379,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_923__", + "parentId": "__FLD_71__", + "_id": "__REQ_1497__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#update-a-discussion-comment", @@ -9170,8 +9400,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_924__", + "parentId": "__FLD_71__", + "_id": "__REQ_1498__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#delete-a-discussion-comment", @@ -9191,11 +9421,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_925__", + "parentId": "__FLD_68__", + "_id": "__REQ_1499__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9227,11 +9457,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_926__", + "parentId": "__FLD_68__", + "_id": "__REQ_1500__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9248,11 +9478,11 @@ "parameters": [] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_927__", + "parentId": "__FLD_68__", + "_id": "__REQ_1501__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions/#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9284,11 +9514,11 @@ ] }, { - "parentId": "__FLD_44__", - "_id": "__REQ_928__", + "parentId": "__FLD_68__", + "_id": "__REQ_1502__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/reactions/#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9305,8 +9535,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_929__", + "parentId": "__FLD_71__", + "_id": "__REQ_1503__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-team-members", @@ -9342,8 +9572,8 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_930__", + "parentId": "__FLD_71__", + "_id": "__REQ_1504__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-member-legacy", @@ -9358,8 +9588,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_931__", + "parentId": "__FLD_71__", + "_id": "__REQ_1505__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-team-member-legacy", @@ -9374,8 +9604,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_932__", + "parentId": "__FLD_71__", + "_id": "__REQ_1506__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-member-legacy", @@ -9390,11 +9620,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_933__", + "parentId": "__FLD_71__", + "_id": "__REQ_1507__", "_type": "request", "name": "Get team membership for a user", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.18/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#get-team-membership-for-a-user", "headers": [ { "name": "Accept", @@ -9411,8 +9641,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_934__", + "parentId": "__FLD_71__", + "_id": "__REQ_1508__", "_type": "request", "name": "Add or update team membership for a user", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -9427,8 +9657,8 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_935__", + "parentId": "__FLD_71__", + "_id": "__REQ_1509__", "_type": "request", "name": "Remove team membership for a user", "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#remove-team-membership-for-a-user", @@ -9443,11 +9673,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_936__", + "parentId": "__FLD_71__", + "_id": "__REQ_1510__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#list-team-projects", "headers": [ { "name": "Accept", @@ -9475,11 +9705,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_937__", + "parentId": "__FLD_71__", + "_id": "__REQ_1511__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -9496,11 +9726,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_938__", + "parentId": "__FLD_71__", + "_id": "__REQ_1512__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -9517,11 +9747,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_939__", + "parentId": "__FLD_71__", + "_id": "__REQ_1513__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9533,11 +9763,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_940__", + "parentId": "__FLD_71__", + "_id": "__REQ_1514__", "_type": "request", "name": "List team repositories", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-team-repositories", + "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#list-team-repositories", "headers": [ { "name": "Accept", @@ -9565,11 +9795,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_941__", + "parentId": "__FLD_71__", + "_id": "__REQ_1515__", "_type": "request", "name": "Check team permissions for a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#check-team-permissions-for-a-repository", + "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [ { "name": "Accept", @@ -9586,11 +9816,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_942__", + "parentId": "__FLD_71__", + "_id": "__REQ_1516__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [ { "name": "Accept", @@ -9607,11 +9837,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_943__", + "parentId": "__FLD_71__", + "_id": "__REQ_1517__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9623,11 +9853,11 @@ "parameters": [] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_944__", + "parentId": "__FLD_71__", + "_id": "__REQ_1518__", "_type": "request", "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-child-teams", + "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams/#list-child-teams", "headers": [ { "name": "Accept", @@ -9655,11 +9885,11 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_945__", + "parentId": "__FLD_72__", + "_id": "__REQ_1519__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9671,11 +9901,11 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_946__", + "parentId": "__FLD_72__", + "_id": "__REQ_1520__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9687,8 +9917,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_947__", + "parentId": "__FLD_72__", + "_id": "__REQ_1521__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -9714,8 +9944,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_948__", + "parentId": "__FLD_72__", + "_id": "__REQ_1522__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -9730,8 +9960,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_949__", + "parentId": "__FLD_72__", + "_id": "__REQ_1523__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -9746,8 +9976,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_950__", + "parentId": "__FLD_72__", + "_id": "__REQ_1524__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9773,8 +10003,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_951__", + "parentId": "__FLD_72__", + "_id": "__REQ_1525__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -9800,8 +10030,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_952__", + "parentId": "__FLD_72__", + "_id": "__REQ_1526__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -9816,8 +10046,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_953__", + "parentId": "__FLD_72__", + "_id": "__REQ_1527__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#follow-a-user", @@ -9832,8 +10062,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_954__", + "parentId": "__FLD_72__", + "_id": "__REQ_1528__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#unfollow-a-user", @@ -9848,8 +10078,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_955__", + "parentId": "__FLD_72__", + "_id": "__REQ_1529__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -9875,8 +10105,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_956__", + "parentId": "__FLD_72__", + "_id": "__REQ_1530__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -9891,8 +10121,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_957__", + "parentId": "__FLD_72__", + "_id": "__REQ_1531__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -9907,8 +10137,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_958__", + "parentId": "__FLD_72__", + "_id": "__REQ_1532__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -9923,8 +10153,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_959__", + "parentId": "__FLD_51__", + "_id": "__REQ_1533__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -9955,8 +10185,8 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_960__", + "parentId": "__FLD_51__", + "_id": "__REQ_1534__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -9987,8 +10217,8 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_961__", + "parentId": "__FLD_51__", + "_id": "__REQ_1535__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10008,8 +10238,8 @@ "parameters": [] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_962__", + "parentId": "__FLD_51__", + "_id": "__REQ_1536__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.18/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10029,11 +10259,11 @@ "parameters": [] }, { - "parentId": "__FLD_35__", - "_id": "__REQ_963__", + "parentId": "__FLD_59__", + "_id": "__REQ_1537__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.18/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10089,8 +10319,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_964__", + "parentId": "__FLD_72__", + "_id": "__REQ_1538__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10116,8 +10346,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_965__", + "parentId": "__FLD_72__", + "_id": "__REQ_1539__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10132,8 +10362,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_966__", + "parentId": "__FLD_72__", + "_id": "__REQ_1540__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10148,8 +10378,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_967__", + "parentId": "__FLD_72__", + "_id": "__REQ_1541__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10164,8 +10394,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_968__", + "parentId": "__FLD_64__", + "_id": "__REQ_1542__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10195,8 +10425,8 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_969__", + "parentId": "__FLD_64__", + "_id": "__REQ_1543__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10211,8 +10441,8 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_970__", + "parentId": "__FLD_64__", + "_id": "__REQ_1544__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10227,11 +10457,11 @@ "parameters": [] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_971__", + "parentId": "__FLD_64__", + "_id": "__REQ_1545__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10254,11 +10484,11 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_972__", + "parentId": "__FLD_65__", + "_id": "__REQ_1546__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -10275,8 +10505,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_973__", + "parentId": "__FLD_72__", + "_id": "__REQ_1547__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -10302,11 +10532,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_974__", + "parentId": "__FLD_69__", + "_id": "__REQ_1548__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10361,11 +10591,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_975__", + "parentId": "__FLD_69__", + "_id": "__REQ_1549__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10382,8 +10612,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_976__", + "parentId": "__FLD_69__", + "_id": "__REQ_1550__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10409,8 +10639,8 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_977__", + "parentId": "__FLD_69__", + "_id": "__REQ_1551__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#accept-a-repository-invitation", @@ -10425,8 +10655,8 @@ "parameters": [] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_978__", + "parentId": "__FLD_69__", + "_id": "__REQ_1552__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#decline-a-repository-invitation", @@ -10441,8 +10671,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_979__", + "parentId": "__FLD_50__", + "_id": "__REQ_1553__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10478,8 +10708,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_980__", + "parentId": "__FLD_50__", + "_id": "__REQ_1554__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10494,8 +10724,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_981__", + "parentId": "__FLD_50__", + "_id": "__REQ_1555__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10510,8 +10740,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_982__", + "parentId": "__FLD_50__", + "_id": "__REQ_1556__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10526,8 +10756,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_983__", + "parentId": "__FLD_50__", + "_id": "__REQ_1557__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10553,11 +10783,11 @@ ] }, { - "parentId": "__FLD_47__", - "_id": "__REQ_984__", + "parentId": "__FLD_71__", + "_id": "__REQ_1558__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.18/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10580,11 +10810,11 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_985__", + "parentId": "__FLD_72__", + "_id": "__REQ_1559__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10606,11 +10836,11 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_986__", + "parentId": "__FLD_72__", + "_id": "__REQ_1560__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.18/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.18/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10622,8 +10852,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_987__", + "parentId": "__FLD_50__", + "_id": "__REQ_1561__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10649,8 +10879,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_988__", + "parentId": "__FLD_50__", + "_id": "__REQ_1562__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10676,8 +10906,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_989__", + "parentId": "__FLD_50__", + "_id": "__REQ_1563__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-for-a-user", @@ -10703,8 +10933,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_990__", + "parentId": "__FLD_72__", + "_id": "__REQ_1564__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-followers-of-a-user", @@ -10730,8 +10960,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_991__", + "parentId": "__FLD_72__", + "_id": "__REQ_1565__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-the-people-a-user-follows", @@ -10757,8 +10987,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_992__", + "parentId": "__FLD_72__", + "_id": "__REQ_1566__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#check-if-a-user-follows-another-user", @@ -10773,11 +11003,11 @@ "parameters": [] }, { - "parentId": "__FLD_32__", - "_id": "__REQ_993__", + "parentId": "__FLD_56__", + "_id": "__REQ_1567__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.18/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10804,8 +11034,8 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_994__", + "parentId": "__FLD_72__", + "_id": "__REQ_1568__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-gpg-keys-for-a-user", @@ -10831,11 +11061,11 @@ ] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_995__", + "parentId": "__FLD_72__", + "_id": "__REQ_1569__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.18/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10856,11 +11086,11 @@ ] }, { - "parentId": "__FLD_27__", - "_id": "__REQ_996__", + "parentId": "__FLD_51__", + "_id": "__REQ_1570__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -10877,8 +11107,8 @@ "parameters": [] }, { - "parentId": "__FLD_48__", - "_id": "__REQ_997__", + "parentId": "__FLD_72__", + "_id": "__REQ_1571__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/users#list-public-keys-for-a-user", @@ -10904,11 +11134,11 @@ ] }, { - "parentId": "__FLD_40__", - "_id": "__REQ_998__", + "parentId": "__FLD_64__", + "_id": "__REQ_1572__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10931,11 +11161,11 @@ ] }, { - "parentId": "__FLD_41__", - "_id": "__REQ_999__", + "parentId": "__FLD_65__", + "_id": "__REQ_1573__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -10968,8 +11198,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_1000__", + "parentId": "__FLD_50__", + "_id": "__REQ_1574__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -10995,8 +11225,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_1001__", + "parentId": "__FLD_50__", + "_id": "__REQ_1575__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-public-events-received-by-a-user", @@ -11022,11 +11252,11 @@ ] }, { - "parentId": "__FLD_45__", - "_id": "__REQ_1002__", + "parentId": "__FLD_69__", + "_id": "__REQ_1576__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -11068,8 +11298,8 @@ ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_1003__", + "parentId": "__FLD_55__", + "_id": "__REQ_1577__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -11084,8 +11314,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_1004__", + "parentId": "__FLD_55__", + "_id": "__REQ_1578__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -11100,8 +11330,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_1005__", + "parentId": "__FLD_50__", + "_id": "__REQ_1579__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11137,8 +11367,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_1006__", + "parentId": "__FLD_50__", + "_id": "__REQ_1580__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11164,8 +11394,8 @@ ] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_1007__", + "parentId": "__FLD_55__", + "_id": "__REQ_1581__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.18/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#suspend-a-user", @@ -11180,8 +11410,8 @@ "parameters": [] }, { - "parentId": "__FLD_31__", - "_id": "__REQ_1008__", + "parentId": "__FLD_55__", + "_id": "__REQ_1582__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.18/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11196,8 +11426,8 @@ "parameters": [] }, { - "parentId": "__FLD_38__", - "_id": "__REQ_1009__", + "parentId": "__FLD_62__", + "_id": "__REQ_1583__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.19.json b/routes/ghes-2.19.json index 88a3d8b..66bd7c6 100644 --- a/routes/ghes-2.19.json +++ b/routes/ghes-2.19.json @@ -1,22 +1,22 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.922Z", + "__export_date": "2022-08-22T01:15:59.709Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_1__", + "_id": "__FLD_25__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "app_slug": "", "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -30,6 +30,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "event_id": 0, "file_sha": "", @@ -37,7 +38,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -73,154 +73,153 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "" } }, { - "parentId": "__FLD_1__", - "_id": "__FLD_2__", + "parentId": "__FLD_25__", + "_id": "__FLD_26__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_3__", + "parentId": "__FLD_25__", + "_id": "__FLD_27__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_4__", + "parentId": "__FLD_25__", + "_id": "__FLD_28__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_5__", + "parentId": "__FLD_25__", + "_id": "__FLD_29__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_6__", + "parentId": "__FLD_25__", + "_id": "__FLD_30__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_7__", + "parentId": "__FLD_25__", + "_id": "__FLD_31__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_8__", + "parentId": "__FLD_25__", + "_id": "__FLD_32__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_9__", + "parentId": "__FLD_25__", + "_id": "__FLD_33__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_10__", + "parentId": "__FLD_25__", + "_id": "__FLD_34__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_11__", + "parentId": "__FLD_25__", + "_id": "__FLD_35__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_12__", + "parentId": "__FLD_25__", + "_id": "__FLD_36__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_13__", + "parentId": "__FLD_25__", + "_id": "__FLD_37__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_14__", + "parentId": "__FLD_25__", + "_id": "__FLD_38__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_15__", + "parentId": "__FLD_25__", + "_id": "__FLD_39__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_16__", + "parentId": "__FLD_25__", + "_id": "__FLD_40__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_17__", + "parentId": "__FLD_25__", + "_id": "__FLD_41__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_18__", + "parentId": "__FLD_25__", + "_id": "__FLD_42__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_19__", + "parentId": "__FLD_25__", + "_id": "__FLD_43__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_20__", + "parentId": "__FLD_25__", + "_id": "__FLD_44__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_21__", + "parentId": "__FLD_25__", + "_id": "__FLD_45__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_22__", + "parentId": "__FLD_25__", + "_id": "__FLD_46__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_23__", + "parentId": "__FLD_25__", + "_id": "__FLD_47__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_1__", - "_id": "__FLD_24__", + "parentId": "__FLD_25__", + "_id": "__FLD_48__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_14__", - "_id": "__REQ_1__", + "parentId": "__FLD_38__", + "_id": "__REQ_559__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -232,8 +231,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_2__", + "parentId": "__FLD_31__", + "_id": "__REQ_560__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +263,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_3__", + "parentId": "__FLD_31__", + "_id": "__REQ_561__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +284,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_4__", + "parentId": "__FLD_31__", + "_id": "__REQ_562__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +305,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_5__", + "parentId": "__FLD_31__", + "_id": "__REQ_563__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +326,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_6__", + "parentId": "__FLD_31__", + "_id": "__REQ_564__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +347,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_7__", + "parentId": "__FLD_31__", + "_id": "__REQ_565__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +368,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_8__", + "parentId": "__FLD_31__", + "_id": "__REQ_566__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-public-keys", @@ -392,12 +391,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_9__", + "parentId": "__FLD_31__", + "_id": "__REQ_567__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,11 +425,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_10__", + "parentId": "__FLD_31__", + "_id": "__REQ_568__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.19/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -433,8 +446,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_11__", + "parentId": "__FLD_31__", + "_id": "__REQ_569__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -449,8 +462,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_12__", + "parentId": "__FLD_31__", + "_id": "__REQ_570__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -465,8 +478,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_13__", + "parentId": "__FLD_31__", + "_id": "__REQ_571__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -481,8 +494,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_14__", + "parentId": "__FLD_31__", + "_id": "__REQ_572__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-organization", @@ -497,8 +510,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_15__", + "parentId": "__FLD_31__", + "_id": "__REQ_573__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-an-organization-name", @@ -513,8 +526,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_16__", + "parentId": "__FLD_31__", + "_id": "__REQ_574__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -541,12 +554,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_17__", + "parentId": "__FLD_31__", + "_id": "__REQ_575__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -566,8 +589,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_18__", + "parentId": "__FLD_31__", + "_id": "__REQ_576__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -587,8 +610,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_19__", + "parentId": "__FLD_31__", + "_id": "__REQ_577__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -608,8 +631,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_20__", + "parentId": "__FLD_31__", + "_id": "__REQ_578__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -629,8 +652,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_21__", + "parentId": "__FLD_31__", + "_id": "__REQ_579__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -650,8 +673,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_22__", + "parentId": "__FLD_31__", + "_id": "__REQ_580__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -671,8 +694,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_23__", + "parentId": "__FLD_31__", + "_id": "__REQ_581__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -699,12 +722,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_24__", + "parentId": "__FLD_31__", + "_id": "__REQ_582__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -724,8 +757,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_25__", + "parentId": "__FLD_31__", + "_id": "__REQ_583__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -745,8 +778,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_26__", + "parentId": "__FLD_31__", + "_id": "__REQ_584__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -766,8 +799,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_27__", + "parentId": "__FLD_31__", + "_id": "__REQ_585__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -787,8 +820,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_28__", + "parentId": "__FLD_31__", + "_id": "__REQ_586__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -814,8 +847,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_29__", + "parentId": "__FLD_31__", + "_id": "__REQ_587__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -830,8 +863,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_30__", + "parentId": "__FLD_31__", + "_id": "__REQ_588__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-user", @@ -846,8 +879,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_31__", + "parentId": "__FLD_31__", + "_id": "__REQ_589__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -862,8 +895,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_32__", + "parentId": "__FLD_31__", + "_id": "__REQ_590__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-a-user", @@ -878,8 +911,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_33__", + "parentId": "__FLD_31__", + "_id": "__REQ_591__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -894,8 +927,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_34__", + "parentId": "__FLD_31__", + "_id": "__REQ_592__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -910,11 +943,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_35__", + "parentId": "__FLD_27__", + "_id": "__REQ_593__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -931,11 +964,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_36__", + "parentId": "__FLD_27__", + "_id": "__REQ_594__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -947,11 +980,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_37__", + "parentId": "__FLD_27__", + "_id": "__REQ_595__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -979,11 +1012,11 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_38__", + "parentId": "__FLD_27__", + "_id": "__REQ_596__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1000,11 +1033,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_39__", + "parentId": "__FLD_27__", + "_id": "__REQ_597__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1021,11 +1054,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_40__", + "parentId": "__FLD_27__", + "_id": "__REQ_598__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -1042,8 +1075,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_41__", + "parentId": "__FLD_39__", + "_id": "__REQ_599__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-grants", @@ -1065,12 +1098,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_42__", + "parentId": "__FLD_39__", + "_id": "__REQ_600__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1085,8 +1122,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_43__", + "parentId": "__FLD_39__", + "_id": "__REQ_601__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-a-grant", @@ -1101,8 +1138,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_44__", + "parentId": "__FLD_39__", + "_id": "__REQ_602__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-a-grant-for-an-application", @@ -1117,8 +1154,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_45__", + "parentId": "__FLD_39__", + "_id": "__REQ_603__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#check-an-authorization", @@ -1133,8 +1170,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_46__", + "parentId": "__FLD_39__", + "_id": "__REQ_604__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#reset-an-authorization", @@ -1149,8 +1186,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_47__", + "parentId": "__FLD_39__", + "_id": "__REQ_605__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#revoke-an-authorization-for-an-application", @@ -1165,11 +1202,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_48__", + "parentId": "__FLD_27__", + "_id": "__REQ_606__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1186,8 +1223,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_49__", + "parentId": "__FLD_39__", + "_id": "__REQ_607__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1209,12 +1246,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_50__", + "parentId": "__FLD_39__", + "_id": "__REQ_608__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1229,8 +1270,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_51__", + "parentId": "__FLD_39__", + "_id": "__REQ_609__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1245,8 +1286,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_52__", + "parentId": "__FLD_39__", + "_id": "__REQ_610__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1261,8 +1302,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_53__", + "parentId": "__FLD_39__", + "_id": "__REQ_611__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1277,8 +1318,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_54__", + "parentId": "__FLD_39__", + "_id": "__REQ_612__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1293,8 +1334,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_55__", + "parentId": "__FLD_39__", + "_id": "__REQ_613__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.19/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1309,17 +1350,12 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_56__", + "parentId": "__FLD_29__", + "_id": "__REQ_614__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1330,17 +1366,12 @@ "parameters": [] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_57__", + "parentId": "__FLD_29__", + "_id": "__REQ_615__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1351,77 +1382,216 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_58__", + "parentId": "__FLD_30__", + "_id": "__REQ_616__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/emojis#get-emojis", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_6__", - "_id": "__REQ_59__", + "parentId": "__FLD_31__", + "_id": "__REQ_617__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/emojis/#get-emojis", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_60__", + "parentId": "__FLD_31__", + "_id": "__REQ_618__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-license-information", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_619__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_620__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_621__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_622__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_623__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_624__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_625__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_626__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_31__", + "_id": "__REQ_627__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_61__", + "parentId": "__FLD_31__", + "_id": "__REQ_628__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-statistics", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-users-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_62__", + "parentId": "__FLD_26__", + "_id": "__REQ_629__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events", @@ -1447,8 +1617,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_63__", + "parentId": "__FLD_26__", + "_id": "__REQ_630__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-feeds", @@ -1463,11 +1633,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_64__", + "parentId": "__FLD_32__", + "_id": "__REQ_631__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1494,11 +1664,11 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_65__", + "parentId": "__FLD_32__", + "_id": "__REQ_632__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1510,11 +1680,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_66__", + "parentId": "__FLD_32__", + "_id": "__REQ_633__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1541,11 +1711,11 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_67__", + "parentId": "__FLD_32__", + "_id": "__REQ_634__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1572,11 +1742,11 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_68__", + "parentId": "__FLD_32__", + "_id": "__REQ_635__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1588,11 +1758,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_69__", + "parentId": "__FLD_32__", + "_id": "__REQ_636__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1604,11 +1774,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_70__", + "parentId": "__FLD_32__", + "_id": "__REQ_637__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1620,8 +1790,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_71__", + "parentId": "__FLD_32__", + "_id": "__REQ_638__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gist-comments", @@ -1647,8 +1817,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_72__", + "parentId": "__FLD_32__", + "_id": "__REQ_639__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#create-a-gist-comment", @@ -1663,8 +1833,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_73__", + "parentId": "__FLD_32__", + "_id": "__REQ_640__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#get-a-gist-comment", @@ -1679,8 +1849,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_74__", + "parentId": "__FLD_32__", + "_id": "__REQ_641__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#update-a-gist-comment", @@ -1695,8 +1865,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_75__", + "parentId": "__FLD_32__", + "_id": "__REQ_642__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#delete-a-gist-comment", @@ -1711,11 +1881,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_76__", + "parentId": "__FLD_32__", + "_id": "__REQ_643__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1738,11 +1908,11 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_77__", + "parentId": "__FLD_32__", + "_id": "__REQ_644__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1765,11 +1935,11 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_78__", + "parentId": "__FLD_32__", + "_id": "__REQ_645__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1781,11 +1951,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_79__", + "parentId": "__FLD_32__", + "_id": "__REQ_646__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1797,11 +1967,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_80__", + "parentId": "__FLD_32__", + "_id": "__REQ_647__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1813,11 +1983,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_81__", + "parentId": "__FLD_32__", + "_id": "__REQ_648__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1829,11 +1999,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_82__", + "parentId": "__FLD_32__", + "_id": "__REQ_649__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1845,11 +2015,11 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_83__", + "parentId": "__FLD_34__", + "_id": "__REQ_650__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1861,11 +2031,11 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_84__", + "parentId": "__FLD_34__", + "_id": "__REQ_651__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1877,8 +2047,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_85__", + "parentId": "__FLD_27__", + "_id": "__REQ_652__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1909,11 +2079,11 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_86__", + "parentId": "__FLD_35__", + "_id": "__REQ_653__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -1985,11 +2155,11 @@ ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_87__", + "parentId": "__FLD_36__", + "_id": "__REQ_654__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2007,15 +2177,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_88__", + "parentId": "__FLD_36__", + "_id": "__REQ_655__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2027,11 +2202,11 @@ "parameters": [] }, { - "parentId": "__FLD_13__", - "_id": "__REQ_89__", + "parentId": "__FLD_37__", + "_id": "__REQ_656__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2043,11 +2218,11 @@ "parameters": [] }, { - "parentId": "__FLD_13__", - "_id": "__REQ_90__", + "parentId": "__FLD_37__", + "_id": "__REQ_657__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2059,11 +2234,11 @@ "parameters": [] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_91__", + "parentId": "__FLD_38__", + "_id": "__REQ_658__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2075,8 +2250,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_92__", + "parentId": "__FLD_26__", + "_id": "__REQ_659__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2102,8 +2277,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_93__", + "parentId": "__FLD_26__", + "_id": "__REQ_660__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2147,8 +2322,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_94__", + "parentId": "__FLD_26__", + "_id": "__REQ_661__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-notifications-as-read", @@ -2163,8 +2338,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_95__", + "parentId": "__FLD_26__", + "_id": "__REQ_662__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread", @@ -2179,8 +2354,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_96__", + "parentId": "__FLD_26__", + "_id": "__REQ_663__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-a-thread-as-read", @@ -2195,8 +2370,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_97__", + "parentId": "__FLD_26__", + "_id": "__REQ_664__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2211,8 +2386,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_98__", + "parentId": "__FLD_26__", + "_id": "__REQ_665__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription", @@ -2227,8 +2402,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_99__", + "parentId": "__FLD_26__", + "_id": "__REQ_666__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-thread-subscription", @@ -2243,11 +2418,11 @@ "parameters": [] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_100__", + "parentId": "__FLD_38__", + "_id": "__REQ_667__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2264,11 +2439,11 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_101__", + "parentId": "__FLD_40__", + "_id": "__REQ_668__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2290,11 +2465,11 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_102__", + "parentId": "__FLD_40__", + "_id": "__REQ_669__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2311,11 +2486,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_103__", + "parentId": "__FLD_40__", + "_id": "__REQ_670__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2332,8 +2507,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_104__", + "parentId": "__FLD_26__", + "_id": "__REQ_671__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-organization-events", @@ -2359,8 +2534,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_105__", + "parentId": "__FLD_40__", + "_id": "__REQ_672__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-webhooks", @@ -2386,8 +2561,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_106__", + "parentId": "__FLD_40__", + "_id": "__REQ_673__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#create-an-organization-webhook", @@ -2402,8 +2577,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_107__", + "parentId": "__FLD_40__", + "_id": "__REQ_674__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-webhook", @@ -2418,8 +2593,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_108__", + "parentId": "__FLD_40__", + "_id": "__REQ_675__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-webhook", @@ -2434,8 +2609,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_109__", + "parentId": "__FLD_40__", + "_id": "__REQ_676__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#delete-an-organization-webhook", @@ -2450,8 +2625,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_110__", + "parentId": "__FLD_40__", + "_id": "__REQ_677__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#ping-an-organization-webhook", @@ -2466,11 +2641,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_111__", + "parentId": "__FLD_27__", + "_id": "__REQ_678__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2487,11 +2662,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_112__", + "parentId": "__FLD_40__", + "_id": "__REQ_679__", "_type": "request", "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-app-installations-for-an-organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-app-installations-for-an-organization", "headers": [ { "name": "Accept", @@ -2519,11 +2694,11 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_113__", + "parentId": "__FLD_35__", + "_id": "__REQ_680__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2579,8 +2754,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_114__", + "parentId": "__FLD_40__", + "_id": "__REQ_681__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-members", @@ -2616,8 +2791,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_115__", + "parentId": "__FLD_40__", + "_id": "__REQ_682__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2632,8 +2807,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_116__", + "parentId": "__FLD_40__", + "_id": "__REQ_683__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-an-organization-member", @@ -2648,11 +2823,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_117__", + "parentId": "__FLD_40__", + "_id": "__REQ_684__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2664,8 +2839,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_118__", + "parentId": "__FLD_40__", + "_id": "__REQ_685__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2680,8 +2855,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_119__", + "parentId": "__FLD_40__", + "_id": "__REQ_686__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2696,8 +2871,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_120__", + "parentId": "__FLD_40__", + "_id": "__REQ_687__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2728,8 +2903,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_121__", + "parentId": "__FLD_40__", + "_id": "__REQ_688__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2744,8 +2919,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_122__", + "parentId": "__FLD_40__", + "_id": "__REQ_689__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2760,8 +2935,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_123__", + "parentId": "__FLD_31__", + "_id": "__REQ_690__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2788,12 +2963,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_124__", + "parentId": "__FLD_31__", + "_id": "__REQ_691__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2813,8 +2998,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_125__", + "parentId": "__FLD_31__", + "_id": "__REQ_692__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2834,8 +3019,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_126__", + "parentId": "__FLD_31__", + "_id": "__REQ_693__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2855,11 +3040,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_127__", + "parentId": "__FLD_41__", + "_id": "__REQ_694__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -2892,11 +3077,11 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_128__", + "parentId": "__FLD_41__", + "_id": "__REQ_695__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2913,8 +3098,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_129__", + "parentId": "__FLD_40__", + "_id": "__REQ_696__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-public-organization-members", @@ -2940,8 +3125,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_130__", + "parentId": "__FLD_40__", + "_id": "__REQ_697__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -2956,8 +3141,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_131__", + "parentId": "__FLD_40__", + "_id": "__REQ_698__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -2972,8 +3157,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_132__", + "parentId": "__FLD_40__", + "_id": "__REQ_699__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -2988,11 +3173,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_133__", + "parentId": "__FLD_45__", + "_id": "__REQ_700__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -3033,11 +3218,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_134__", + "parentId": "__FLD_45__", + "_id": "__REQ_701__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -3054,11 +3239,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_135__", + "parentId": "__FLD_47__", + "_id": "__REQ_702__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3081,11 +3266,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_136__", + "parentId": "__FLD_47__", + "_id": "__REQ_703__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3097,11 +3282,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_137__", + "parentId": "__FLD_47__", + "_id": "__REQ_704__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3113,8 +3298,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_138__", + "parentId": "__FLD_41__", + "_id": "__REQ_705__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-card", @@ -3134,8 +3319,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_139__", + "parentId": "__FLD_41__", + "_id": "__REQ_706__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-card", @@ -3155,8 +3340,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_140__", + "parentId": "__FLD_41__", + "_id": "__REQ_707__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-card", @@ -3176,8 +3361,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_141__", + "parentId": "__FLD_41__", + "_id": "__REQ_708__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-card", @@ -3197,8 +3382,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_142__", + "parentId": "__FLD_41__", + "_id": "__REQ_709__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project-column", @@ -3218,8 +3403,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_143__", + "parentId": "__FLD_41__", + "_id": "__REQ_710__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project-column", @@ -3239,8 +3424,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_144__", + "parentId": "__FLD_41__", + "_id": "__REQ_711__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project-column", @@ -3260,8 +3445,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_145__", + "parentId": "__FLD_41__", + "_id": "__REQ_712__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-cards", @@ -3297,11 +3482,11 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_146__", + "parentId": "__FLD_41__", + "_id": "__REQ_713__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3318,8 +3503,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_147__", + "parentId": "__FLD_41__", + "_id": "__REQ_714__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#move-a-project-column", @@ -3339,11 +3524,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_148__", + "parentId": "__FLD_41__", + "_id": "__REQ_715__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -3360,11 +3545,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_149__", + "parentId": "__FLD_41__", + "_id": "__REQ_716__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -3381,11 +3566,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_150__", + "parentId": "__FLD_41__", + "_id": "__REQ_717__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -3402,8 +3587,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_151__", + "parentId": "__FLD_41__", + "_id": "__REQ_718__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-collaborators", @@ -3439,8 +3624,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_152__", + "parentId": "__FLD_41__", + "_id": "__REQ_719__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#add-project-collaborator", @@ -3460,8 +3645,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_153__", + "parentId": "__FLD_41__", + "_id": "__REQ_720__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#remove-project-collaborator", @@ -3481,8 +3666,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_154__", + "parentId": "__FLD_41__", + "_id": "__REQ_721__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#get-project-permission-for-a-user", @@ -3502,8 +3687,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_155__", + "parentId": "__FLD_41__", + "_id": "__REQ_722__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-project-columns", @@ -3534,8 +3719,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_156__", + "parentId": "__FLD_41__", + "_id": "__REQ_723__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-project-column", @@ -3555,11 +3740,11 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_157__", + "parentId": "__FLD_43__", + "_id": "__REQ_724__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3571,11 +3756,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_158__", + "parentId": "__FLD_44__", + "_id": "__REQ_725__", "_type": "request", "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#delete-a-reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -3592,11 +3777,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_159__", + "parentId": "__FLD_45__", + "_id": "__REQ_726__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -3613,11 +3798,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_160__", + "parentId": "__FLD_45__", + "_id": "__REQ_727__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3634,11 +3819,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_161__", + "parentId": "__FLD_45__", + "_id": "__REQ_728__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3650,8 +3835,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_162__", + "parentId": "__FLD_35__", + "_id": "__REQ_729__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-assignees", @@ -3677,8 +3862,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_163__", + "parentId": "__FLD_35__", + "_id": "__REQ_730__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3693,8 +3878,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_164__", + "parentId": "__FLD_45__", + "_id": "__REQ_731__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches", @@ -3724,8 +3909,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_165__", + "parentId": "__FLD_45__", + "_id": "__REQ_732__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-branch", @@ -3740,8 +3925,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_166__", + "parentId": "__FLD_45__", + "_id": "__REQ_733__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-branch-protection", @@ -3761,8 +3946,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_167__", + "parentId": "__FLD_45__", + "_id": "__REQ_734__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-branch-protection", @@ -3782,8 +3967,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_168__", + "parentId": "__FLD_45__", + "_id": "__REQ_735__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-branch-protection", @@ -3798,8 +3983,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_169__", + "parentId": "__FLD_45__", + "_id": "__REQ_736__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-admin-branch-protection", @@ -3814,8 +3999,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_170__", + "parentId": "__FLD_45__", + "_id": "__REQ_737__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-admin-branch-protection", @@ -3830,8 +4015,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_171__", + "parentId": "__FLD_45__", + "_id": "__REQ_738__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-admin-branch-protection", @@ -3846,8 +4031,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_172__", + "parentId": "__FLD_45__", + "_id": "__REQ_739__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-pull-request-review-protection", @@ -3867,8 +4052,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_173__", + "parentId": "__FLD_45__", + "_id": "__REQ_740__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-pull-request-review-protection", @@ -3888,8 +4073,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_174__", + "parentId": "__FLD_45__", + "_id": "__REQ_741__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-pull-request-review-protection", @@ -3904,8 +4089,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_175__", + "parentId": "__FLD_45__", + "_id": "__REQ_742__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-commit-signature-protection", @@ -3925,8 +4110,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_176__", + "parentId": "__FLD_45__", + "_id": "__REQ_743__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-commit-signature-protection", @@ -3946,8 +4131,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_177__", + "parentId": "__FLD_45__", + "_id": "__REQ_744__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-commit-signature-protection", @@ -3967,8 +4152,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_178__", + "parentId": "__FLD_45__", + "_id": "__REQ_745__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-status-checks-protection", @@ -3983,8 +4168,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_179__", + "parentId": "__FLD_45__", + "_id": "__REQ_746__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-status-check-potection", @@ -3999,8 +4184,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_180__", + "parentId": "__FLD_45__", + "_id": "__REQ_747__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-protection", @@ -4015,8 +4200,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_181__", + "parentId": "__FLD_45__", + "_id": "__REQ_748__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-status-check-contexts", @@ -4031,8 +4216,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_182__", + "parentId": "__FLD_45__", + "_id": "__REQ_749__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-status-check-contexts", @@ -4047,8 +4232,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_183__", + "parentId": "__FLD_45__", + "_id": "__REQ_750__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-status-check-contexts", @@ -4063,8 +4248,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_184__", + "parentId": "__FLD_45__", + "_id": "__REQ_751__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-status-check-contexts", @@ -4079,8 +4264,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_185__", + "parentId": "__FLD_45__", + "_id": "__REQ_752__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-access-restrictions", @@ -4095,8 +4280,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_186__", + "parentId": "__FLD_45__", + "_id": "__REQ_753__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-access-restrictions", @@ -4111,8 +4296,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_187__", + "parentId": "__FLD_45__", + "_id": "__REQ_754__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4127,8 +4312,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_188__", + "parentId": "__FLD_45__", + "_id": "__REQ_755__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-app-access-restrictions", @@ -4143,8 +4328,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_189__", + "parentId": "__FLD_45__", + "_id": "__REQ_756__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-app-access-restrictions", @@ -4159,8 +4344,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_190__", + "parentId": "__FLD_45__", + "_id": "__REQ_757__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-app-access-restrictions", @@ -4175,8 +4360,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_191__", + "parentId": "__FLD_45__", + "_id": "__REQ_758__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4191,8 +4376,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_192__", + "parentId": "__FLD_45__", + "_id": "__REQ_759__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-team-access-restrictions", @@ -4207,8 +4392,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_193__", + "parentId": "__FLD_45__", + "_id": "__REQ_760__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-team-access-restrictions", @@ -4223,8 +4408,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_194__", + "parentId": "__FLD_45__", + "_id": "__REQ_761__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-team-access-restrictions", @@ -4239,8 +4424,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_195__", + "parentId": "__FLD_45__", + "_id": "__REQ_762__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4255,8 +4440,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_196__", + "parentId": "__FLD_45__", + "_id": "__REQ_763__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-user-access-restrictions", @@ -4271,8 +4456,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_197__", + "parentId": "__FLD_45__", + "_id": "__REQ_764__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#set-user-access-restrictions", @@ -4287,8 +4472,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_198__", + "parentId": "__FLD_45__", + "_id": "__REQ_765__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-user-access-restrictions", @@ -4303,8 +4488,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_199__", + "parentId": "__FLD_28__", + "_id": "__REQ_766__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-run", @@ -4324,8 +4509,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_200__", + "parentId": "__FLD_28__", + "_id": "__REQ_767__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-run", @@ -4345,8 +4530,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_201__", + "parentId": "__FLD_28__", + "_id": "__REQ_768__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-a-check-run", @@ -4366,8 +4551,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_202__", + "parentId": "__FLD_28__", + "_id": "__REQ_769__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-run-annotations", @@ -4398,8 +4583,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_203__", + "parentId": "__FLD_28__", + "_id": "__REQ_770__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite", @@ -4419,8 +4604,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_204__", + "parentId": "__FLD_28__", + "_id": "__REQ_771__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.19/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4440,8 +4625,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_205__", + "parentId": "__FLD_28__", + "_id": "__REQ_772__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#get-a-check-suite", @@ -4461,8 +4646,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_206__", + "parentId": "__FLD_28__", + "_id": "__REQ_773__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4506,8 +4691,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_207__", + "parentId": "__FLD_28__", + "_id": "__REQ_774__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#rerequest-a-check-suite", @@ -4527,8 +4712,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_208__", + "parentId": "__FLD_45__", + "_id": "__REQ_775__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-collaborators", @@ -4559,8 +4744,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_209__", + "parentId": "__FLD_45__", + "_id": "__REQ_776__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4575,11 +4760,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_210__", + "parentId": "__FLD_45__", + "_id": "__REQ_777__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4591,8 +4776,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_211__", + "parentId": "__FLD_45__", + "_id": "__REQ_778__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#remove-a-repository-collaborator", @@ -4607,8 +4792,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_212__", + "parentId": "__FLD_45__", + "_id": "__REQ_779__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4623,8 +4808,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_213__", + "parentId": "__FLD_45__", + "_id": "__REQ_780__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4655,8 +4840,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_214__", + "parentId": "__FLD_45__", + "_id": "__REQ_781__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit-comment", @@ -4676,8 +4861,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_215__", + "parentId": "__FLD_45__", + "_id": "__REQ_782__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-commit-comment", @@ -4692,8 +4877,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_216__", + "parentId": "__FLD_45__", + "_id": "__REQ_783__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-commit-comment", @@ -4708,11 +4893,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_217__", + "parentId": "__FLD_44__", + "_id": "__REQ_784__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4744,11 +4929,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_218__", + "parentId": "__FLD_44__", + "_id": "__REQ_785__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4765,8 +4950,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_219__", + "parentId": "__FLD_45__", + "_id": "__REQ_786__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits", @@ -4812,8 +4997,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_220__", + "parentId": "__FLD_45__", + "_id": "__REQ_787__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-branches-for-head-commit", @@ -4833,8 +5018,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_221__", + "parentId": "__FLD_45__", + "_id": "__REQ_788__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-comments", @@ -4865,11 +5050,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_222__", + "parentId": "__FLD_45__", + "_id": "__REQ_789__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4881,11 +5066,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_223__", + "parentId": "__FLD_45__", + "_id": "__REQ_790__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4913,8 +5098,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_224__", + "parentId": "__FLD_45__", + "_id": "__REQ_791__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-commit", @@ -4926,11 +5111,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_225__", + "parentId": "__FLD_28__", + "_id": "__REQ_792__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -4970,12 +5166,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_226__", + "parentId": "__FLD_28__", + "_id": "__REQ_793__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5014,8 +5214,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_227__", + "parentId": "__FLD_45__", + "_id": "__REQ_794__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5027,11 +5227,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_228__", + "parentId": "__FLD_45__", + "_id": "__REQ_795__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5057,45 +5268,45 @@ ] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_229__", + "parentId": "__FLD_45__", + "_id": "__REQ_796__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_230__", + "parentId": "__FLD_27__", + "_id": "__REQ_797__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_231__", + "parentId": "__FLD_45__", + "_id": "__REQ_798__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.19/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content", @@ -5115,8 +5326,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_232__", + "parentId": "__FLD_45__", + "_id": "__REQ_799__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-or-update-file-contents", @@ -5131,8 +5342,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_233__", + "parentId": "__FLD_45__", + "_id": "__REQ_800__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-file", @@ -5147,11 +5358,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_234__", + "parentId": "__FLD_45__", + "_id": "__REQ_801__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5178,8 +5389,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_235__", + "parentId": "__FLD_45__", + "_id": "__REQ_802__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployments", @@ -5230,8 +5441,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_236__", + "parentId": "__FLD_45__", + "_id": "__REQ_803__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment", @@ -5251,8 +5462,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_237__", + "parentId": "__FLD_45__", + "_id": "__REQ_804__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment", @@ -5272,8 +5483,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_238__", + "parentId": "__FLD_45__", + "_id": "__REQ_805__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deployment-statuses", @@ -5304,8 +5515,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_239__", + "parentId": "__FLD_45__", + "_id": "__REQ_806__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deployment-status", @@ -5325,8 +5536,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_240__", + "parentId": "__FLD_45__", + "_id": "__REQ_807__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deployment-status", @@ -5346,8 +5557,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_241__", + "parentId": "__FLD_26__", + "_id": "__REQ_808__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-events", @@ -5373,8 +5584,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_242__", + "parentId": "__FLD_45__", + "_id": "__REQ_809__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-forks", @@ -5405,11 +5616,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_243__", + "parentId": "__FLD_45__", + "_id": "__REQ_810__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5421,8 +5632,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_244__", + "parentId": "__FLD_33__", + "_id": "__REQ_811__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-blob", @@ -5437,8 +5648,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_245__", + "parentId": "__FLD_33__", + "_id": "__REQ_812__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-blob", @@ -5453,8 +5664,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_246__", + "parentId": "__FLD_33__", + "_id": "__REQ_813__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit", @@ -5469,8 +5680,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_247__", + "parentId": "__FLD_33__", + "_id": "__REQ_814__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-commit", @@ -5485,8 +5696,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_248__", + "parentId": "__FLD_33__", + "_id": "__REQ_815__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#list-matching-references", @@ -5512,8 +5723,8 @@ ] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_249__", + "parentId": "__FLD_33__", + "_id": "__REQ_816__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-reference", @@ -5528,8 +5739,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_250__", + "parentId": "__FLD_33__", + "_id": "__REQ_817__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference", @@ -5544,8 +5755,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_251__", + "parentId": "__FLD_33__", + "_id": "__REQ_818__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference", @@ -5560,8 +5771,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_252__", + "parentId": "__FLD_33__", + "_id": "__REQ_819__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#delete-a-reference", @@ -5576,8 +5787,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_253__", + "parentId": "__FLD_33__", + "_id": "__REQ_820__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tag-object", @@ -5592,8 +5803,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_254__", + "parentId": "__FLD_33__", + "_id": "__REQ_821__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tag", @@ -5608,8 +5819,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_255__", + "parentId": "__FLD_33__", + "_id": "__REQ_822__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.19/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#create-a-tree", @@ -5624,8 +5835,8 @@ "parameters": [] }, { - "parentId": "__FLD_9__", - "_id": "__REQ_256__", + "parentId": "__FLD_33__", + "_id": "__REQ_823__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/git#get-a-tree", @@ -5645,8 +5856,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_257__", + "parentId": "__FLD_45__", + "_id": "__REQ_824__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-webhooks", @@ -5672,8 +5883,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_258__", + "parentId": "__FLD_45__", + "_id": "__REQ_825__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-webhook", @@ -5688,8 +5899,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_259__", + "parentId": "__FLD_45__", + "_id": "__REQ_826__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-webhook", @@ -5704,8 +5915,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_260__", + "parentId": "__FLD_45__", + "_id": "__REQ_827__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-webhook", @@ -5720,8 +5931,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_261__", + "parentId": "__FLD_45__", + "_id": "__REQ_828__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-webhook", @@ -5736,8 +5947,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_262__", + "parentId": "__FLD_45__", + "_id": "__REQ_829__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#ping-a-repository-webhook", @@ -5752,8 +5963,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_263__", + "parentId": "__FLD_45__", + "_id": "__REQ_830__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#test-the-push-repository-webhook", @@ -5768,11 +5979,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_264__", + "parentId": "__FLD_27__", + "_id": "__REQ_831__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -5789,8 +6000,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_265__", + "parentId": "__FLD_45__", + "_id": "__REQ_832__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations", @@ -5816,8 +6027,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_266__", + "parentId": "__FLD_45__", + "_id": "__REQ_833__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-repository-invitation", @@ -5832,8 +6043,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_267__", + "parentId": "__FLD_45__", + "_id": "__REQ_834__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-repository-invitation", @@ -5848,11 +6059,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_268__", + "parentId": "__FLD_35__", + "_id": "__REQ_835__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", @@ -5919,11 +6130,11 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_269__", + "parentId": "__FLD_35__", + "_id": "__REQ_836__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5935,8 +6146,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_270__", + "parentId": "__FLD_35__", + "_id": "__REQ_837__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments-for-a-repository", @@ -5980,8 +6191,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_271__", + "parentId": "__FLD_35__", + "_id": "__REQ_838__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-comment", @@ -6001,8 +6212,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_272__", + "parentId": "__FLD_35__", + "_id": "__REQ_839__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-an-issue-comment", @@ -6017,8 +6228,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_273__", + "parentId": "__FLD_35__", + "_id": "__REQ_840__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-an-issue-comment", @@ -6033,11 +6244,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_274__", + "parentId": "__FLD_44__", + "_id": "__REQ_841__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6069,11 +6280,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_275__", + "parentId": "__FLD_44__", + "_id": "__REQ_842__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6090,8 +6301,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_276__", + "parentId": "__FLD_35__", + "_id": "__REQ_843__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events-for-a-repository", @@ -6122,8 +6333,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_277__", + "parentId": "__FLD_35__", + "_id": "__REQ_844__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue-event", @@ -6143,11 +6354,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_278__", + "parentId": "__FLD_35__", + "_id": "__REQ_845__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.19/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -6164,11 +6375,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_279__", + "parentId": "__FLD_35__", + "_id": "__REQ_846__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6180,8 +6391,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_280__", + "parentId": "__FLD_35__", + "_id": "__REQ_847__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-assignees-to-an-issue", @@ -6196,8 +6407,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_281__", + "parentId": "__FLD_35__", + "_id": "__REQ_848__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-assignees-from-an-issue", @@ -6212,8 +6423,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_282__", + "parentId": "__FLD_35__", + "_id": "__REQ_849__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-comments", @@ -6248,11 +6459,11 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_283__", + "parentId": "__FLD_35__", + "_id": "__REQ_850__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6264,8 +6475,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_284__", + "parentId": "__FLD_35__", + "_id": "__REQ_851__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-issue-events", @@ -6296,8 +6507,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_285__", + "parentId": "__FLD_35__", + "_id": "__REQ_852__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-an-issue", @@ -6323,8 +6534,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_286__", + "parentId": "__FLD_35__", + "_id": "__REQ_853__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#add-labels-to-an-issue", @@ -6339,8 +6550,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_287__", + "parentId": "__FLD_35__", + "_id": "__REQ_854__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#set-labels-for-an-issue", @@ -6355,8 +6566,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_288__", + "parentId": "__FLD_35__", + "_id": "__REQ_855__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6371,8 +6582,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_289__", + "parentId": "__FLD_35__", + "_id": "__REQ_856__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#remove-a-label-from-an-issue", @@ -6387,11 +6598,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_290__", + "parentId": "__FLD_35__", + "_id": "__REQ_857__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#lock-an-issue", "headers": [ { "name": "Accept", @@ -6408,11 +6619,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_291__", + "parentId": "__FLD_35__", + "_id": "__REQ_858__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6424,11 +6635,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_292__", + "parentId": "__FLD_44__", + "_id": "__REQ_859__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6460,11 +6671,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_293__", + "parentId": "__FLD_44__", + "_id": "__REQ_860__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.19/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6481,15 +6692,15 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_294__", + "parentId": "__FLD_35__", + "_id": "__REQ_861__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + "value": "application/vnd.github.mockingbird-preview+json" } ], "authentication": { @@ -6513,8 +6724,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_295__", + "parentId": "__FLD_45__", + "_id": "__REQ_862__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-deploy-keys", @@ -6540,8 +6751,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_296__", + "parentId": "__FLD_45__", + "_id": "__REQ_863__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-deploy-key", @@ -6556,8 +6767,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_297__", + "parentId": "__FLD_45__", + "_id": "__REQ_864__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-deploy-key", @@ -6572,8 +6783,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_298__", + "parentId": "__FLD_45__", + "_id": "__REQ_865__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-deploy-key", @@ -6588,8 +6799,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_299__", + "parentId": "__FLD_35__", + "_id": "__REQ_866__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-a-repository", @@ -6615,8 +6826,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_300__", + "parentId": "__FLD_35__", + "_id": "__REQ_867__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-label", @@ -6631,8 +6842,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_301__", + "parentId": "__FLD_35__", + "_id": "__REQ_868__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-label", @@ -6647,8 +6858,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_302__", + "parentId": "__FLD_35__", + "_id": "__REQ_869__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-label", @@ -6663,8 +6874,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_303__", + "parentId": "__FLD_35__", + "_id": "__REQ_870__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-label", @@ -6679,11 +6890,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_304__", + "parentId": "__FLD_45__", + "_id": "__REQ_871__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6695,11 +6906,11 @@ "parameters": [] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_305__", + "parentId": "__FLD_36__", + "_id": "__REQ_872__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6711,8 +6922,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_306__", + "parentId": "__FLD_45__", + "_id": "__REQ_873__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#merge-a-branch", @@ -6727,8 +6938,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_307__", + "parentId": "__FLD_35__", + "_id": "__REQ_874__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-milestones", @@ -6769,8 +6980,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_308__", + "parentId": "__FLD_35__", + "_id": "__REQ_875__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-a-milestone", @@ -6785,8 +6996,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_309__", + "parentId": "__FLD_35__", + "_id": "__REQ_876__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#get-a-milestone", @@ -6801,8 +7012,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_310__", + "parentId": "__FLD_35__", + "_id": "__REQ_877__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#update-a-milestone", @@ -6817,8 +7028,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_311__", + "parentId": "__FLD_35__", + "_id": "__REQ_878__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#delete-a-milestone", @@ -6833,8 +7044,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_312__", + "parentId": "__FLD_35__", + "_id": "__REQ_879__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6860,8 +7071,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_313__", + "parentId": "__FLD_26__", + "_id": "__REQ_880__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6905,8 +7116,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_314__", + "parentId": "__FLD_26__", + "_id": "__REQ_881__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#mark-repository-notifications-as-read", @@ -6921,8 +7132,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_315__", + "parentId": "__FLD_45__", + "_id": "__REQ_882__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-github-pages-site", @@ -6937,8 +7148,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_316__", + "parentId": "__FLD_45__", + "_id": "__REQ_883__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-github-pages-site", @@ -6958,8 +7169,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_317__", + "parentId": "__FLD_45__", + "_id": "__REQ_884__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-information-about-a-github-pages-site", @@ -6974,8 +7185,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_318__", + "parentId": "__FLD_45__", + "_id": "__REQ_885__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-github-pages-site", @@ -6995,8 +7206,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_319__", + "parentId": "__FLD_45__", + "_id": "__REQ_886__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-github-pages-builds", @@ -7022,8 +7233,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_320__", + "parentId": "__FLD_45__", + "_id": "__REQ_887__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#request-a-github-pages-build", @@ -7038,8 +7249,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_321__", + "parentId": "__FLD_45__", + "_id": "__REQ_888__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-latest-pages-build", @@ -7054,8 +7265,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_322__", + "parentId": "__FLD_45__", + "_id": "__REQ_889__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-github-pages-build", @@ -7070,8 +7281,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_323__", + "parentId": "__FLD_31__", + "_id": "__REQ_890__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7098,12 +7309,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_324__", + "parentId": "__FLD_31__", + "_id": "__REQ_891__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7123,8 +7344,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_325__", + "parentId": "__FLD_31__", + "_id": "__REQ_892__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7144,8 +7365,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_326__", + "parentId": "__FLD_31__", + "_id": "__REQ_893__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7165,11 +7386,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_327__", + "parentId": "__FLD_41__", + "_id": "__REQ_894__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -7202,11 +7423,11 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_328__", + "parentId": "__FLD_41__", + "_id": "__REQ_895__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7223,11 +7444,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_329__", + "parentId": "__FLD_42__", + "_id": "__REQ_896__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests", "headers": [ { "name": "Accept", @@ -7277,11 +7498,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_330__", + "parentId": "__FLD_42__", + "_id": "__REQ_897__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-pull-request", "headers": [ { "name": "Accept", @@ -7298,8 +7519,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_331__", + "parentId": "__FLD_42__", + "_id": "__REQ_898__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7319,7 +7540,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -7343,8 +7563,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_332__", + "parentId": "__FLD_42__", + "_id": "__REQ_899__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7364,8 +7584,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_333__", + "parentId": "__FLD_42__", + "_id": "__REQ_900__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7385,8 +7605,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_334__", + "parentId": "__FLD_42__", + "_id": "__REQ_901__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7401,11 +7621,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_335__", + "parentId": "__FLD_44__", + "_id": "__REQ_902__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7437,11 +7657,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_336__", + "parentId": "__FLD_44__", + "_id": "__REQ_903__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7458,11 +7678,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_337__", + "parentId": "__FLD_42__", + "_id": "__REQ_904__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.19/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7474,11 +7694,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_338__", + "parentId": "__FLD_42__", + "_id": "__REQ_905__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -7495,8 +7715,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_339__", + "parentId": "__FLD_42__", + "_id": "__REQ_906__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7540,11 +7760,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_340__", + "parentId": "__FLD_42__", + "_id": "__REQ_907__", "_type": "request", "name": "Create a review comment for a pull request (alternative)", - "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.19/rest/reference/issues#create-an-issue-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7556,11 +7776,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_341__", + "parentId": "__FLD_42__", + "_id": "__REQ_908__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7572,11 +7792,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_342__", + "parentId": "__FLD_42__", + "_id": "__REQ_909__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7599,11 +7819,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_343__", + "parentId": "__FLD_42__", + "_id": "__REQ_910__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7626,11 +7846,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_344__", + "parentId": "__FLD_42__", + "_id": "__REQ_911__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7642,11 +7862,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_345__", + "parentId": "__FLD_42__", + "_id": "__REQ_912__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#merge-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7658,8 +7878,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_346__", + "parentId": "__FLD_42__", + "_id": "__REQ_913__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7685,11 +7905,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_347__", + "parentId": "__FLD_42__", + "_id": "__REQ_914__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.19/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7701,8 +7921,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_348__", + "parentId": "__FLD_42__", + "_id": "__REQ_915__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7717,8 +7937,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_349__", + "parentId": "__FLD_42__", + "_id": "__REQ_916__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7744,11 +7964,11 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_350__", + "parentId": "__FLD_42__", + "_id": "__REQ_917__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7760,8 +7980,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_351__", + "parentId": "__FLD_42__", + "_id": "__REQ_918__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7776,8 +7996,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_352__", + "parentId": "__FLD_42__", + "_id": "__REQ_919__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7792,8 +8012,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_353__", + "parentId": "__FLD_42__", + "_id": "__REQ_920__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7808,8 +8028,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_354__", + "parentId": "__FLD_42__", + "_id": "__REQ_921__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7835,8 +8055,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_355__", + "parentId": "__FLD_42__", + "_id": "__REQ_922__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7851,8 +8071,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_356__", + "parentId": "__FLD_42__", + "_id": "__REQ_923__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7867,11 +8087,11 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_357__", + "parentId": "__FLD_42__", + "_id": "__REQ_924__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -7888,8 +8108,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_358__", + "parentId": "__FLD_45__", + "_id": "__REQ_925__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-readme", @@ -7909,8 +8129,29 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_359__", + "parentId": "__FLD_45__", + "_id": "__REQ_926__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_45__", + "_id": "__REQ_927__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-releases", @@ -7936,11 +8177,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_360__", + "parentId": "__FLD_45__", + "_id": "__REQ_928__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7952,8 +8193,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_361__", + "parentId": "__FLD_45__", + "_id": "__REQ_929__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-asset", @@ -7968,8 +8209,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_362__", + "parentId": "__FLD_45__", + "_id": "__REQ_930__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release-asset", @@ -7984,8 +8225,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_363__", + "parentId": "__FLD_45__", + "_id": "__REQ_931__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release-asset", @@ -8000,8 +8241,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_364__", + "parentId": "__FLD_45__", + "_id": "__REQ_932__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-latest-release", @@ -8016,8 +8257,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_365__", + "parentId": "__FLD_45__", + "_id": "__REQ_933__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release-by-tag-name", @@ -8032,8 +8273,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_366__", + "parentId": "__FLD_45__", + "_id": "__REQ_934__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-release", @@ -8048,8 +8289,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_367__", + "parentId": "__FLD_45__", + "_id": "__REQ_935__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#update-a-release", @@ -8064,8 +8305,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_368__", + "parentId": "__FLD_45__", + "_id": "__REQ_936__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#delete-a-release", @@ -8080,8 +8321,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_369__", + "parentId": "__FLD_45__", + "_id": "__REQ_937__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-release-assets", @@ -8107,11 +8348,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_370__", + "parentId": "__FLD_45__", + "_id": "__REQ_938__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8132,8 +8373,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_371__", + "parentId": "__FLD_26__", + "_id": "__REQ_939__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-stargazers", @@ -8159,8 +8400,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_372__", + "parentId": "__FLD_45__", + "_id": "__REQ_940__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-activity", @@ -8175,8 +8416,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_373__", + "parentId": "__FLD_45__", + "_id": "__REQ_941__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8191,8 +8432,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_374__", + "parentId": "__FLD_45__", + "_id": "__REQ_942__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-contributor-commit-activity", @@ -8207,8 +8448,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_375__", + "parentId": "__FLD_45__", + "_id": "__REQ_943__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-weekly-commit-count", @@ -8223,8 +8464,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_376__", + "parentId": "__FLD_45__", + "_id": "__REQ_944__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8239,8 +8480,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_377__", + "parentId": "__FLD_45__", + "_id": "__REQ_945__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-commit-status", @@ -8255,8 +8496,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_378__", + "parentId": "__FLD_26__", + "_id": "__REQ_946__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-watchers", @@ -8282,8 +8523,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_379__", + "parentId": "__FLD_26__", + "_id": "__REQ_947__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#get-a-repository-subscription", @@ -8298,8 +8539,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_380__", + "parentId": "__FLD_26__", + "_id": "__REQ_948__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription", @@ -8314,8 +8555,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_381__", + "parentId": "__FLD_26__", + "_id": "__REQ_949__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.19/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#delete-a-repository-subscription", @@ -8330,11 +8571,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_382__", + "parentId": "__FLD_45__", + "_id": "__REQ_950__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8357,8 +8598,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_383__", + "parentId": "__FLD_45__", + "_id": "__REQ_951__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", @@ -8373,11 +8614,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_384__", + "parentId": "__FLD_45__", + "_id": "__REQ_952__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8400,11 +8641,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_385__", + "parentId": "__FLD_45__", + "_id": "__REQ_953__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8418,14 +8659,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_386__", + "parentId": "__FLD_45__", + "_id": "__REQ_954__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#replace-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8442,11 +8694,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_387__", + "parentId": "__FLD_45__", + "_id": "__REQ_955__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8458,50 +8710,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_388__", - "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_21__", - "_id": "__REQ_389__", - "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_21__", - "_id": "__REQ_390__", + "parentId": "__FLD_45__", + "_id": "__REQ_956__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#download-a-repository-archive", @@ -8516,11 +8726,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_391__", + "parentId": "__FLD_45__", + "_id": "__REQ_957__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8537,11 +8747,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_392__", + "parentId": "__FLD_45__", + "_id": "__REQ_958__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8563,11 +8773,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_393__", + "parentId": "__FLD_46__", + "_id": "__REQ_959__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8603,11 +8813,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_394__", + "parentId": "__FLD_46__", + "_id": "__REQ_960__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -8648,11 +8858,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_395__", + "parentId": "__FLD_46__", + "_id": "__REQ_961__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8688,11 +8898,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_396__", + "parentId": "__FLD_46__", + "_id": "__REQ_962__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8718,15 +8928,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_397__", + "parentId": "__FLD_46__", + "_id": "__REQ_963__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -8767,11 +8987,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_398__", + "parentId": "__FLD_46__", + "_id": "__REQ_964__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -8789,15 +9009,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_399__", + "parentId": "__FLD_46__", + "_id": "__REQ_965__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.19/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8833,8 +9063,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_400__", + "parentId": "__FLD_31__", + "_id": "__REQ_966__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8849,8 +9079,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_401__", + "parentId": "__FLD_31__", + "_id": "__REQ_967__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8865,8 +9095,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_402__", + "parentId": "__FLD_31__", + "_id": "__REQ_968__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8881,11 +9111,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_403__", + "parentId": "__FLD_31__", + "_id": "__REQ_969__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8897,8 +9127,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_404__", + "parentId": "__FLD_31__", + "_id": "__REQ_970__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings", @@ -8913,11 +9143,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_405__", + "parentId": "__FLD_31__", + "_id": "__REQ_971__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8929,8 +9159,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_406__", + "parentId": "__FLD_31__", + "_id": "__REQ_972__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -8945,11 +9175,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_407__", + "parentId": "__FLD_31__", + "_id": "__REQ_973__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8961,11 +9191,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_408__", + "parentId": "__FLD_31__", + "_id": "__REQ_974__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8977,11 +9207,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_409__", + "parentId": "__FLD_31__", + "_id": "__REQ_975__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8993,11 +9223,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_410__", + "parentId": "__FLD_31__", + "_id": "__REQ_976__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9009,11 +9239,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_411__", + "parentId": "__FLD_47__", + "_id": "__REQ_977__", "_type": "request", "name": "Get a team", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#get-a-team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#get-a-team", "headers": [ { "name": "Accept", @@ -9030,11 +9260,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_412__", + "parentId": "__FLD_47__", + "_id": "__REQ_978__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#update-a-team", "headers": [ { "name": "Accept", @@ -9051,11 +9281,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_413__", + "parentId": "__FLD_47__", + "_id": "__REQ_979__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#delete-a-team", "headers": [ { "name": "Accept", @@ -9072,8 +9302,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_414__", + "parentId": "__FLD_47__", + "_id": "__REQ_980__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussions", @@ -9109,11 +9339,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_415__", + "parentId": "__FLD_47__", + "_id": "__REQ_981__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -9130,8 +9360,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_416__", + "parentId": "__FLD_47__", + "_id": "__REQ_982__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion", @@ -9151,8 +9381,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_417__", + "parentId": "__FLD_47__", + "_id": "__REQ_983__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion", @@ -9172,8 +9402,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_418__", + "parentId": "__FLD_47__", + "_id": "__REQ_984__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion", @@ -9188,8 +9418,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_419__", + "parentId": "__FLD_47__", + "_id": "__REQ_985__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-discussion-comments", @@ -9225,11 +9455,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_420__", + "parentId": "__FLD_47__", + "_id": "__REQ_986__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -9246,8 +9476,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_421__", + "parentId": "__FLD_47__", + "_id": "__REQ_987__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-a-discussion-comment", @@ -9267,8 +9497,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_422__", + "parentId": "__FLD_47__", + "_id": "__REQ_988__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#update-a-discussion-comment", @@ -9288,8 +9518,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_423__", + "parentId": "__FLD_47__", + "_id": "__REQ_989__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#delete-a-discussion-comment", @@ -9304,11 +9534,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_424__", + "parentId": "__FLD_44__", + "_id": "__REQ_990__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9340,11 +9570,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_425__", + "parentId": "__FLD_44__", + "_id": "__REQ_991__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9361,11 +9591,11 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_426__", + "parentId": "__FLD_44__", + "_id": "__REQ_992__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions/#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9397,11 +9627,11 @@ ] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_427__", + "parentId": "__FLD_44__", + "_id": "__REQ_993__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/reactions/#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9418,8 +9648,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_428__", + "parentId": "__FLD_47__", + "_id": "__REQ_994__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-team-members", @@ -9455,8 +9685,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_429__", + "parentId": "__FLD_47__", + "_id": "__REQ_995__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-member-legacy", @@ -9471,8 +9701,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_430__", + "parentId": "__FLD_47__", + "_id": "__REQ_996__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-team-member-legacy", @@ -9487,8 +9717,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_431__", + "parentId": "__FLD_47__", + "_id": "__REQ_997__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-member-legacy", @@ -9503,11 +9733,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_432__", + "parentId": "__FLD_47__", + "_id": "__REQ_998__", "_type": "request", "name": "Get team membership for a user", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user", + "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.19/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#get-team-membership-for-a-user", "headers": [ { "name": "Accept", @@ -9524,8 +9754,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_433__", + "parentId": "__FLD_47__", + "_id": "__REQ_999__", "_type": "request", "name": "Add or update team membership for a user", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -9540,8 +9770,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_434__", + "parentId": "__FLD_47__", + "_id": "__REQ_1000__", "_type": "request", "name": "Remove team membership for a user", "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#remove-team-membership-for-a-user", @@ -9556,11 +9786,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_435__", + "parentId": "__FLD_47__", + "_id": "__REQ_1001__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#list-team-projects", "headers": [ { "name": "Accept", @@ -9588,11 +9818,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_436__", + "parentId": "__FLD_47__", + "_id": "__REQ_1002__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -9609,11 +9839,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_437__", + "parentId": "__FLD_47__", + "_id": "__REQ_1003__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -9630,11 +9860,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_438__", + "parentId": "__FLD_47__", + "_id": "__REQ_1004__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9646,11 +9876,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_439__", + "parentId": "__FLD_47__", + "_id": "__REQ_1005__", "_type": "request", "name": "List team repositories", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-team-repositories", + "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#list-team-repositories", "headers": [ { "name": "Accept", @@ -9678,11 +9908,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_440__", + "parentId": "__FLD_47__", + "_id": "__REQ_1006__", "_type": "request", "name": "Check team permissions for a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#check-team-permissions-for-a-repository", + "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [ { "name": "Accept", @@ -9699,11 +9929,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_441__", + "parentId": "__FLD_47__", + "_id": "__REQ_1007__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [ { "name": "Accept", @@ -9720,11 +9950,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_442__", + "parentId": "__FLD_47__", + "_id": "__REQ_1008__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9736,11 +9966,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_443__", + "parentId": "__FLD_47__", + "_id": "__REQ_1009__", "_type": "request", "name": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-child-teams", + "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams/#list-child-teams", "headers": [ { "name": "Accept", @@ -9768,11 +9998,11 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_444__", + "parentId": "__FLD_48__", + "_id": "__REQ_1010__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9784,11 +10014,11 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_445__", + "parentId": "__FLD_48__", + "_id": "__REQ_1011__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9800,8 +10030,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_446__", + "parentId": "__FLD_48__", + "_id": "__REQ_1012__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -9827,8 +10057,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_447__", + "parentId": "__FLD_48__", + "_id": "__REQ_1013__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -9843,8 +10073,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_448__", + "parentId": "__FLD_48__", + "_id": "__REQ_1014__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -9859,8 +10089,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_449__", + "parentId": "__FLD_48__", + "_id": "__REQ_1015__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9886,8 +10116,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_450__", + "parentId": "__FLD_48__", + "_id": "__REQ_1016__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -9913,8 +10143,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_451__", + "parentId": "__FLD_48__", + "_id": "__REQ_1017__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -9929,8 +10159,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_452__", + "parentId": "__FLD_48__", + "_id": "__REQ_1018__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#follow-a-user", @@ -9945,8 +10175,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_453__", + "parentId": "__FLD_48__", + "_id": "__REQ_1019__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#unfollow-a-user", @@ -9961,8 +10191,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_454__", + "parentId": "__FLD_48__", + "_id": "__REQ_1020__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -9988,8 +10218,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_455__", + "parentId": "__FLD_48__", + "_id": "__REQ_1021__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10004,8 +10234,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_456__", + "parentId": "__FLD_48__", + "_id": "__REQ_1022__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10020,8 +10250,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_457__", + "parentId": "__FLD_48__", + "_id": "__REQ_1023__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10036,8 +10266,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_458__", + "parentId": "__FLD_27__", + "_id": "__REQ_1024__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10068,8 +10298,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_459__", + "parentId": "__FLD_27__", + "_id": "__REQ_1025__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -10100,8 +10330,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_460__", + "parentId": "__FLD_27__", + "_id": "__REQ_1026__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10121,8 +10351,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_461__", + "parentId": "__FLD_27__", + "_id": "__REQ_1027__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.19/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10142,11 +10372,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_462__", + "parentId": "__FLD_35__", + "_id": "__REQ_1028__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.19/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10202,8 +10432,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_463__", + "parentId": "__FLD_48__", + "_id": "__REQ_1029__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10229,8 +10459,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_464__", + "parentId": "__FLD_48__", + "_id": "__REQ_1030__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10245,8 +10475,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_465__", + "parentId": "__FLD_48__", + "_id": "__REQ_1031__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10261,8 +10491,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_466__", + "parentId": "__FLD_48__", + "_id": "__REQ_1032__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10277,8 +10507,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_467__", + "parentId": "__FLD_40__", + "_id": "__REQ_1033__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10308,8 +10538,8 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_468__", + "parentId": "__FLD_40__", + "_id": "__REQ_1034__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10324,8 +10554,8 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_469__", + "parentId": "__FLD_40__", + "_id": "__REQ_1035__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10340,11 +10570,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_470__", + "parentId": "__FLD_40__", + "_id": "__REQ_1036__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10367,11 +10597,11 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_471__", + "parentId": "__FLD_41__", + "_id": "__REQ_1037__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -10388,8 +10618,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_472__", + "parentId": "__FLD_48__", + "_id": "__REQ_1038__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -10415,11 +10645,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_473__", + "parentId": "__FLD_45__", + "_id": "__REQ_1039__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10474,11 +10704,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_474__", + "parentId": "__FLD_45__", + "_id": "__REQ_1040__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10495,8 +10725,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_475__", + "parentId": "__FLD_45__", + "_id": "__REQ_1041__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10522,8 +10752,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_476__", + "parentId": "__FLD_45__", + "_id": "__REQ_1042__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#accept-a-repository-invitation", @@ -10538,8 +10768,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_477__", + "parentId": "__FLD_45__", + "_id": "__REQ_1043__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#decline-a-repository-invitation", @@ -10554,8 +10784,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_478__", + "parentId": "__FLD_26__", + "_id": "__REQ_1044__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10591,8 +10821,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_479__", + "parentId": "__FLD_26__", + "_id": "__REQ_1045__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10607,8 +10837,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_480__", + "parentId": "__FLD_26__", + "_id": "__REQ_1046__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10623,8 +10853,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_481__", + "parentId": "__FLD_26__", + "_id": "__REQ_1047__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10639,8 +10869,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_482__", + "parentId": "__FLD_26__", + "_id": "__REQ_1048__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10666,11 +10896,11 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_483__", + "parentId": "__FLD_47__", + "_id": "__REQ_1049__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.19/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10693,11 +10923,11 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_484__", + "parentId": "__FLD_48__", + "_id": "__REQ_1050__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10719,11 +10949,11 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_485__", + "parentId": "__FLD_48__", + "_id": "__REQ_1051__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.19/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.19/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10735,8 +10965,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_486__", + "parentId": "__FLD_26__", + "_id": "__REQ_1052__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10762,8 +10992,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_487__", + "parentId": "__FLD_26__", + "_id": "__REQ_1053__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10789,8 +11019,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_488__", + "parentId": "__FLD_26__", + "_id": "__REQ_1054__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-for-a-user", @@ -10816,8 +11046,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_489__", + "parentId": "__FLD_48__", + "_id": "__REQ_1055__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-followers-of-a-user", @@ -10843,8 +11073,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_490__", + "parentId": "__FLD_48__", + "_id": "__REQ_1056__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-the-people-a-user-follows", @@ -10870,8 +11100,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_491__", + "parentId": "__FLD_48__", + "_id": "__REQ_1057__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#check-if-a-user-follows-another-user", @@ -10886,11 +11116,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_492__", + "parentId": "__FLD_32__", + "_id": "__REQ_1058__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.19/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10917,8 +11147,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_493__", + "parentId": "__FLD_48__", + "_id": "__REQ_1059__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-gpg-keys-for-a-user", @@ -10944,11 +11174,11 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_494__", + "parentId": "__FLD_48__", + "_id": "__REQ_1060__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.19/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10969,11 +11199,11 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_495__", + "parentId": "__FLD_27__", + "_id": "__REQ_1061__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -10990,8 +11220,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_496__", + "parentId": "__FLD_48__", + "_id": "__REQ_1062__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/users#list-public-keys-for-a-user", @@ -11017,11 +11247,11 @@ ] }, { - "parentId": "__FLD_16__", - "_id": "__REQ_497__", + "parentId": "__FLD_40__", + "_id": "__REQ_1063__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11044,11 +11274,11 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_498__", + "parentId": "__FLD_41__", + "_id": "__REQ_1064__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -11081,8 +11311,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_499__", + "parentId": "__FLD_26__", + "_id": "__REQ_1065__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -11108,8 +11338,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_500__", + "parentId": "__FLD_26__", + "_id": "__REQ_1066__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-public-events-received-by-a-user", @@ -11135,11 +11365,11 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_501__", + "parentId": "__FLD_45__", + "_id": "__REQ_1067__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -11181,8 +11411,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_502__", + "parentId": "__FLD_31__", + "_id": "__REQ_1068__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -11197,8 +11427,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_503__", + "parentId": "__FLD_31__", + "_id": "__REQ_1069__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -11213,8 +11443,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_504__", + "parentId": "__FLD_26__", + "_id": "__REQ_1070__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11250,8 +11480,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_505__", + "parentId": "__FLD_26__", + "_id": "__REQ_1071__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11277,8 +11507,8 @@ ] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_506__", + "parentId": "__FLD_31__", + "_id": "__REQ_1072__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.19/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#suspend-a-user", @@ -11293,8 +11523,8 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_507__", + "parentId": "__FLD_31__", + "_id": "__REQ_1073__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.19/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11309,8 +11539,8 @@ "parameters": [] }, { - "parentId": "__FLD_14__", - "_id": "__REQ_508__", + "parentId": "__FLD_38__", + "_id": "__REQ_1074__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.20.json b/routes/ghes-2.20.json index 6ef58e1..0236479 100644 --- a/routes/ghes-2.20.json +++ b/routes/ghes-2.20.json @@ -1,22 +1,22 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.993Z", + "__export_date": "2022-08-22T01:15:59.731Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_156__", + "_id": "__FLD_73__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "app_slug": "", "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -30,6 +30,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "event_id": 0, "file_sha": "", @@ -37,7 +38,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -73,154 +73,153 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "" } }, { - "parentId": "__FLD_156__", - "_id": "__FLD_157__", + "parentId": "__FLD_73__", + "_id": "__FLD_74__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_158__", + "parentId": "__FLD_73__", + "_id": "__FLD_75__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_159__", + "parentId": "__FLD_73__", + "_id": "__FLD_76__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_160__", + "parentId": "__FLD_73__", + "_id": "__FLD_77__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_161__", + "parentId": "__FLD_73__", + "_id": "__FLD_78__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_162__", + "parentId": "__FLD_73__", + "_id": "__FLD_79__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_163__", + "parentId": "__FLD_73__", + "_id": "__FLD_80__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_164__", + "parentId": "__FLD_73__", + "_id": "__FLD_81__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_165__", + "parentId": "__FLD_73__", + "_id": "__FLD_82__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_166__", + "parentId": "__FLD_73__", + "_id": "__FLD_83__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_167__", + "parentId": "__FLD_73__", + "_id": "__FLD_84__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_168__", + "parentId": "__FLD_73__", + "_id": "__FLD_85__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_169__", + "parentId": "__FLD_73__", + "_id": "__FLD_86__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_170__", + "parentId": "__FLD_73__", + "_id": "__FLD_87__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_171__", + "parentId": "__FLD_73__", + "_id": "__FLD_88__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_172__", + "parentId": "__FLD_73__", + "_id": "__FLD_89__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_173__", + "parentId": "__FLD_73__", + "_id": "__FLD_90__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_174__", + "parentId": "__FLD_73__", + "_id": "__FLD_91__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_175__", + "parentId": "__FLD_73__", + "_id": "__FLD_92__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_176__", + "parentId": "__FLD_73__", + "_id": "__FLD_93__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_177__", + "parentId": "__FLD_73__", + "_id": "__FLD_94__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_178__", + "parentId": "__FLD_73__", + "_id": "__FLD_95__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_156__", - "_id": "__FLD_179__", + "parentId": "__FLD_73__", + "_id": "__FLD_96__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3533__", + "parentId": "__FLD_86__", + "_id": "__REQ_1584__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -232,8 +231,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3534__", + "parentId": "__FLD_79__", + "_id": "__REQ_1585__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +263,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3535__", + "parentId": "__FLD_79__", + "_id": "__REQ_1586__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +284,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3536__", + "parentId": "__FLD_79__", + "_id": "__REQ_1587__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +305,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3537__", + "parentId": "__FLD_79__", + "_id": "__REQ_1588__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +326,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3538__", + "parentId": "__FLD_79__", + "_id": "__REQ_1589__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +347,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3539__", + "parentId": "__FLD_79__", + "_id": "__REQ_1590__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +368,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3540__", + "parentId": "__FLD_79__", + "_id": "__REQ_1591__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-public-keys", @@ -392,12 +391,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3541__", + "parentId": "__FLD_79__", + "_id": "__REQ_1592__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,11 +425,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3542__", + "parentId": "__FLD_79__", + "_id": "__REQ_1593__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.20/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -428,8 +441,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3543__", + "parentId": "__FLD_79__", + "_id": "__REQ_1594__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -444,8 +457,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3544__", + "parentId": "__FLD_79__", + "_id": "__REQ_1595__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -460,8 +473,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3545__", + "parentId": "__FLD_79__", + "_id": "__REQ_1596__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -476,8 +489,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3546__", + "parentId": "__FLD_79__", + "_id": "__REQ_1597__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-organization", @@ -492,8 +505,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3547__", + "parentId": "__FLD_79__", + "_id": "__REQ_1598__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-an-organization-name", @@ -508,8 +521,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3548__", + "parentId": "__FLD_79__", + "_id": "__REQ_1599__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -536,12 +549,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3549__", + "parentId": "__FLD_79__", + "_id": "__REQ_1600__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -561,8 +584,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3550__", + "parentId": "__FLD_79__", + "_id": "__REQ_1601__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -582,8 +605,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3551__", + "parentId": "__FLD_79__", + "_id": "__REQ_1602__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -603,8 +626,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3552__", + "parentId": "__FLD_79__", + "_id": "__REQ_1603__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -624,8 +647,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3553__", + "parentId": "__FLD_79__", + "_id": "__REQ_1604__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -645,8 +668,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3554__", + "parentId": "__FLD_79__", + "_id": "__REQ_1605__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -666,8 +689,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3555__", + "parentId": "__FLD_79__", + "_id": "__REQ_1606__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -694,12 +717,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3556__", + "parentId": "__FLD_79__", + "_id": "__REQ_1607__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -719,8 +752,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3557__", + "parentId": "__FLD_79__", + "_id": "__REQ_1608__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -740,8 +773,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3558__", + "parentId": "__FLD_79__", + "_id": "__REQ_1609__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -761,8 +794,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3559__", + "parentId": "__FLD_79__", + "_id": "__REQ_1610__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -782,8 +815,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3560__", + "parentId": "__FLD_79__", + "_id": "__REQ_1611__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -809,8 +842,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3561__", + "parentId": "__FLD_79__", + "_id": "__REQ_1612__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -825,8 +858,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3562__", + "parentId": "__FLD_79__", + "_id": "__REQ_1613__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-user", @@ -841,8 +874,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3563__", + "parentId": "__FLD_79__", + "_id": "__REQ_1614__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -857,8 +890,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3564__", + "parentId": "__FLD_79__", + "_id": "__REQ_1615__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-a-user", @@ -873,8 +906,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3565__", + "parentId": "__FLD_79__", + "_id": "__REQ_1616__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -889,8 +922,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3566__", + "parentId": "__FLD_79__", + "_id": "__REQ_1617__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -905,11 +938,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3567__", + "parentId": "__FLD_75__", + "_id": "__REQ_1618__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -926,11 +959,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3568__", + "parentId": "__FLD_75__", + "_id": "__REQ_1619__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -942,11 +975,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3569__", + "parentId": "__FLD_75__", + "_id": "__REQ_1620__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -974,11 +1007,11 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3570__", + "parentId": "__FLD_75__", + "_id": "__REQ_1621__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -995,11 +1028,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3571__", + "parentId": "__FLD_75__", + "_id": "__REQ_1622__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1016,11 +1049,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3572__", + "parentId": "__FLD_75__", + "_id": "__REQ_1623__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -1037,8 +1070,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3573__", + "parentId": "__FLD_87__", + "_id": "__REQ_1624__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-grants", @@ -1060,12 +1093,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3574__", + "parentId": "__FLD_87__", + "_id": "__REQ_1625__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1080,8 +1117,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3575__", + "parentId": "__FLD_87__", + "_id": "__REQ_1626__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-a-grant", @@ -1096,8 +1133,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3576__", + "parentId": "__FLD_75__", + "_id": "__REQ_1627__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-authorization", @@ -1112,8 +1149,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3577__", + "parentId": "__FLD_75__", + "_id": "__REQ_1628__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1128,8 +1165,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3578__", + "parentId": "__FLD_75__", + "_id": "__REQ_1629__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-a-token", @@ -1144,8 +1181,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3579__", + "parentId": "__FLD_75__", + "_id": "__REQ_1630__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-a-token", @@ -1160,8 +1197,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3580__", + "parentId": "__FLD_75__", + "_id": "__REQ_1631__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#delete-an-app-token", @@ -1176,8 +1213,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3581__", + "parentId": "__FLD_75__", + "_id": "__REQ_1632__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#check-an-authorization", @@ -1192,8 +1229,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3582__", + "parentId": "__FLD_75__", + "_id": "__REQ_1633__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#reset-an-authorization", @@ -1208,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3583__", + "parentId": "__FLD_75__", + "_id": "__REQ_1634__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1224,11 +1261,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3584__", + "parentId": "__FLD_75__", + "_id": "__REQ_1635__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1245,8 +1282,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3585__", + "parentId": "__FLD_87__", + "_id": "__REQ_1636__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1268,12 +1305,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3586__", + "parentId": "__FLD_87__", + "_id": "__REQ_1637__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1288,8 +1329,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3587__", + "parentId": "__FLD_87__", + "_id": "__REQ_1638__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1304,8 +1345,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3588__", + "parentId": "__FLD_87__", + "_id": "__REQ_1639__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1320,8 +1361,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3589__", + "parentId": "__FLD_87__", + "_id": "__REQ_1640__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1336,8 +1377,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3590__", + "parentId": "__FLD_87__", + "_id": "__REQ_1641__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1352,8 +1393,8 @@ "parameters": [] }, { - "parentId": "__FLD_170__", - "_id": "__REQ_3591__", + "parentId": "__FLD_87__", + "_id": "__REQ_1642__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.20/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1368,17 +1409,12 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3592__", + "parentId": "__FLD_77__", + "_id": "__REQ_1643__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1389,17 +1425,12 @@ "parameters": [] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3593__", + "parentId": "__FLD_77__", + "_id": "__REQ_1644__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1410,77 +1441,216 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3594__", + "parentId": "__FLD_78__", + "_id": "__REQ_1645__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.20/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/emojis#get-emojis", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_161__", - "_id": "__REQ_3595__", + "parentId": "__FLD_79__", + "_id": "__REQ_1646__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/emojis/#get-emojis", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3596__", + "parentId": "__FLD_79__", + "_id": "__REQ_1647__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-license-information", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1648__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1649__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1650__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1651__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1652__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1653__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1654__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1655__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_79__", + "_id": "__REQ_1656__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3597__", + "parentId": "__FLD_79__", + "_id": "__REQ_1657__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-statistics", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-users-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/users", "body": {}, "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3598__", + "parentId": "__FLD_74__", + "_id": "__REQ_1658__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events", @@ -1506,8 +1676,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3599__", + "parentId": "__FLD_74__", + "_id": "__REQ_1659__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-feeds", @@ -1522,11 +1692,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3600__", + "parentId": "__FLD_80__", + "_id": "__REQ_1660__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1553,11 +1723,11 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3601__", + "parentId": "__FLD_80__", + "_id": "__REQ_1661__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1569,11 +1739,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3602__", + "parentId": "__FLD_80__", + "_id": "__REQ_1662__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1600,11 +1770,11 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3603__", + "parentId": "__FLD_80__", + "_id": "__REQ_1663__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1631,11 +1801,11 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3604__", + "parentId": "__FLD_80__", + "_id": "__REQ_1664__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1647,11 +1817,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3605__", + "parentId": "__FLD_80__", + "_id": "__REQ_1665__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1663,11 +1833,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3606__", + "parentId": "__FLD_80__", + "_id": "__REQ_1666__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1679,8 +1849,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3607__", + "parentId": "__FLD_80__", + "_id": "__REQ_1667__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gist-comments", @@ -1706,8 +1876,8 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3608__", + "parentId": "__FLD_80__", + "_id": "__REQ_1668__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#create-a-gist-comment", @@ -1722,8 +1892,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3609__", + "parentId": "__FLD_80__", + "_id": "__REQ_1669__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#get-a-gist-comment", @@ -1738,8 +1908,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3610__", + "parentId": "__FLD_80__", + "_id": "__REQ_1670__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#update-a-gist-comment", @@ -1754,8 +1924,8 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3611__", + "parentId": "__FLD_80__", + "_id": "__REQ_1671__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#delete-a-gist-comment", @@ -1770,11 +1940,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3612__", + "parentId": "__FLD_80__", + "_id": "__REQ_1672__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1797,11 +1967,11 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3613__", + "parentId": "__FLD_80__", + "_id": "__REQ_1673__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1824,11 +1994,11 @@ ] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3614__", + "parentId": "__FLD_80__", + "_id": "__REQ_1674__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1840,11 +2010,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3615__", + "parentId": "__FLD_80__", + "_id": "__REQ_1675__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1856,11 +2026,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3616__", + "parentId": "__FLD_80__", + "_id": "__REQ_1676__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1872,11 +2042,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3617__", + "parentId": "__FLD_80__", + "_id": "__REQ_1677__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1888,11 +2058,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_3618__", + "parentId": "__FLD_80__", + "_id": "__REQ_1678__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1904,11 +2074,11 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3619__", + "parentId": "__FLD_82__", + "_id": "__REQ_1679__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1920,11 +2090,11 @@ "parameters": [] }, { - "parentId": "__FLD_165__", - "_id": "__REQ_3620__", + "parentId": "__FLD_82__", + "_id": "__REQ_1680__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1936,8 +2106,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3621__", + "parentId": "__FLD_75__", + "_id": "__REQ_1681__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1968,8 +2138,8 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3622__", + "parentId": "__FLD_75__", + "_id": "__REQ_1682__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#revoke-an-installation-access-token", @@ -1984,11 +2154,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3623__", + "parentId": "__FLD_83__", + "_id": "__REQ_1683__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2060,11 +2230,11 @@ ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3624__", + "parentId": "__FLD_84__", + "_id": "__REQ_1684__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2082,15 +2252,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3625__", + "parentId": "__FLD_84__", + "_id": "__REQ_1685__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2102,11 +2277,11 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3626__", + "parentId": "__FLD_85__", + "_id": "__REQ_1686__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2118,11 +2293,11 @@ "parameters": [] }, { - "parentId": "__FLD_168__", - "_id": "__REQ_3627__", + "parentId": "__FLD_85__", + "_id": "__REQ_1687__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2134,11 +2309,11 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3628__", + "parentId": "__FLD_86__", + "_id": "__REQ_1688__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2150,8 +2325,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3629__", + "parentId": "__FLD_74__", + "_id": "__REQ_1689__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2177,8 +2352,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3630__", + "parentId": "__FLD_74__", + "_id": "__REQ_1690__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2222,8 +2397,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3631__", + "parentId": "__FLD_74__", + "_id": "__REQ_1691__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-notifications-as-read", @@ -2238,8 +2413,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3632__", + "parentId": "__FLD_74__", + "_id": "__REQ_1692__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread", @@ -2254,8 +2429,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3633__", + "parentId": "__FLD_74__", + "_id": "__REQ_1693__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-a-thread-as-read", @@ -2270,8 +2445,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3634__", + "parentId": "__FLD_74__", + "_id": "__REQ_1694__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2286,8 +2461,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3635__", + "parentId": "__FLD_74__", + "_id": "__REQ_1695__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription", @@ -2302,8 +2477,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3636__", + "parentId": "__FLD_74__", + "_id": "__REQ_1696__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-thread-subscription", @@ -2318,11 +2493,11 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_3637__", + "parentId": "__FLD_86__", + "_id": "__REQ_1697__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2339,11 +2514,11 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3638__", + "parentId": "__FLD_88__", + "_id": "__REQ_1698__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2365,11 +2540,11 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3639__", + "parentId": "__FLD_88__", + "_id": "__REQ_1699__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2386,11 +2561,11 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3640__", + "parentId": "__FLD_88__", + "_id": "__REQ_1700__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2407,8 +2582,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3641__", + "parentId": "__FLD_74__", + "_id": "__REQ_1701__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-organization-events", @@ -2434,8 +2609,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3642__", + "parentId": "__FLD_88__", + "_id": "__REQ_1702__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-webhooks", @@ -2461,8 +2636,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3643__", + "parentId": "__FLD_88__", + "_id": "__REQ_1703__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#create-an-organization-webhook", @@ -2477,8 +2652,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3644__", + "parentId": "__FLD_88__", + "_id": "__REQ_1704__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization-webhook", @@ -2493,8 +2668,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3645__", + "parentId": "__FLD_88__", + "_id": "__REQ_1705__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#update-an-organization-webhook", @@ -2509,8 +2684,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3646__", + "parentId": "__FLD_88__", + "_id": "__REQ_1706__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#delete-an-organization-webhook", @@ -2525,8 +2700,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3647__", + "parentId": "__FLD_88__", + "_id": "__REQ_1707__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#ping-an-organization-webhook", @@ -2541,11 +2716,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3648__", + "parentId": "__FLD_75__", + "_id": "__REQ_1708__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2562,11 +2737,11 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3649__", + "parentId": "__FLD_88__", + "_id": "__REQ_1709__", "_type": "request", "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-app-installations-for-an-organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-app-installations-for-an-organization", "headers": [ { "name": "Accept", @@ -2594,11 +2769,11 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3650__", + "parentId": "__FLD_83__", + "_id": "__REQ_1710__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2654,8 +2829,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3651__", + "parentId": "__FLD_88__", + "_id": "__REQ_1711__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-members", @@ -2691,8 +2866,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3652__", + "parentId": "__FLD_88__", + "_id": "__REQ_1712__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2707,8 +2882,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3653__", + "parentId": "__FLD_88__", + "_id": "__REQ_1713__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-an-organization-member", @@ -2723,11 +2898,11 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3654__", + "parentId": "__FLD_88__", + "_id": "__REQ_1714__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2739,8 +2914,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3655__", + "parentId": "__FLD_88__", + "_id": "__REQ_1715__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2755,8 +2930,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3656__", + "parentId": "__FLD_88__", + "_id": "__REQ_1716__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2771,8 +2946,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3657__", + "parentId": "__FLD_88__", + "_id": "__REQ_1717__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2803,8 +2978,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3658__", + "parentId": "__FLD_88__", + "_id": "__REQ_1718__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2819,8 +2994,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3659__", + "parentId": "__FLD_88__", + "_id": "__REQ_1719__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2835,8 +3010,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3660__", + "parentId": "__FLD_79__", + "_id": "__REQ_1720__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2863,12 +3038,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3661__", + "parentId": "__FLD_79__", + "_id": "__REQ_1721__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2888,8 +3073,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3662__", + "parentId": "__FLD_79__", + "_id": "__REQ_1722__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2909,8 +3094,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3663__", + "parentId": "__FLD_79__", + "_id": "__REQ_1723__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2930,11 +3115,11 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3664__", + "parentId": "__FLD_89__", + "_id": "__REQ_1724__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -2967,11 +3152,11 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3665__", + "parentId": "__FLD_89__", + "_id": "__REQ_1725__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2988,8 +3173,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3666__", + "parentId": "__FLD_88__", + "_id": "__REQ_1726__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-public-organization-members", @@ -3015,8 +3200,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3667__", + "parentId": "__FLD_88__", + "_id": "__REQ_1727__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3031,8 +3216,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3668__", + "parentId": "__FLD_88__", + "_id": "__REQ_1728__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3047,8 +3232,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_3669__", + "parentId": "__FLD_88__", + "_id": "__REQ_1729__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3063,11 +3248,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3670__", + "parentId": "__FLD_93__", + "_id": "__REQ_1730__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -3108,11 +3293,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3671__", + "parentId": "__FLD_93__", + "_id": "__REQ_1731__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -3129,11 +3314,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3672__", + "parentId": "__FLD_95__", + "_id": "__REQ_1732__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3156,11 +3341,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3673__", + "parentId": "__FLD_95__", + "_id": "__REQ_1733__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3172,11 +3357,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3674__", + "parentId": "__FLD_95__", + "_id": "__REQ_1734__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3188,8 +3373,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3675__", + "parentId": "__FLD_89__", + "_id": "__REQ_1735__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-card", @@ -3209,8 +3394,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3676__", + "parentId": "__FLD_89__", + "_id": "__REQ_1736__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-card", @@ -3230,8 +3415,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3677__", + "parentId": "__FLD_89__", + "_id": "__REQ_1737__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-card", @@ -3251,8 +3436,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3678__", + "parentId": "__FLD_89__", + "_id": "__REQ_1738__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-card", @@ -3272,8 +3457,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3679__", + "parentId": "__FLD_89__", + "_id": "__REQ_1739__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project-column", @@ -3293,8 +3478,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3680__", + "parentId": "__FLD_89__", + "_id": "__REQ_1740__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project-column", @@ -3314,8 +3499,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3681__", + "parentId": "__FLD_89__", + "_id": "__REQ_1741__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project-column", @@ -3335,8 +3520,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3682__", + "parentId": "__FLD_89__", + "_id": "__REQ_1742__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-cards", @@ -3372,11 +3557,11 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3683__", + "parentId": "__FLD_89__", + "_id": "__REQ_1743__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -3393,8 +3578,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3684__", + "parentId": "__FLD_89__", + "_id": "__REQ_1744__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#move-a-project-column", @@ -3414,11 +3599,11 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3685__", + "parentId": "__FLD_89__", + "_id": "__REQ_1745__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -3435,11 +3620,11 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3686__", + "parentId": "__FLD_89__", + "_id": "__REQ_1746__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -3456,11 +3641,11 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3687__", + "parentId": "__FLD_89__", + "_id": "__REQ_1747__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -3477,8 +3662,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3688__", + "parentId": "__FLD_89__", + "_id": "__REQ_1748__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-collaborators", @@ -3514,8 +3699,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3689__", + "parentId": "__FLD_89__", + "_id": "__REQ_1749__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#add-project-collaborator", @@ -3535,8 +3720,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3690__", + "parentId": "__FLD_89__", + "_id": "__REQ_1750__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#remove-project-collaborator", @@ -3556,8 +3741,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3691__", + "parentId": "__FLD_89__", + "_id": "__REQ_1751__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#get-project-permission-for-a-user", @@ -3577,8 +3762,8 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3692__", + "parentId": "__FLD_89__", + "_id": "__REQ_1752__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-project-columns", @@ -3609,8 +3794,8 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3693__", + "parentId": "__FLD_89__", + "_id": "__REQ_1753__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-project-column", @@ -3630,11 +3815,11 @@ "parameters": [] }, { - "parentId": "__FLD_174__", - "_id": "__REQ_3694__", + "parentId": "__FLD_91__", + "_id": "__REQ_1754__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3646,11 +3831,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3695__", + "parentId": "__FLD_92__", + "_id": "__REQ_1755__", "_type": "request", "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#delete-a-reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -3667,11 +3852,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3696__", + "parentId": "__FLD_93__", + "_id": "__REQ_1756__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -3688,11 +3873,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3697__", + "parentId": "__FLD_93__", + "_id": "__REQ_1757__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3709,11 +3894,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3698__", + "parentId": "__FLD_93__", + "_id": "__REQ_1758__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3725,8 +3910,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3699__", + "parentId": "__FLD_83__", + "_id": "__REQ_1759__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-assignees", @@ -3752,8 +3937,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3700__", + "parentId": "__FLD_83__", + "_id": "__REQ_1760__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -3768,8 +3953,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3701__", + "parentId": "__FLD_93__", + "_id": "__REQ_1761__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches", @@ -3799,8 +3984,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3702__", + "parentId": "__FLD_93__", + "_id": "__REQ_1762__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-branch", @@ -3815,8 +4000,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3703__", + "parentId": "__FLD_93__", + "_id": "__REQ_1763__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-branch-protection", @@ -3836,8 +4021,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3704__", + "parentId": "__FLD_93__", + "_id": "__REQ_1764__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-branch-protection", @@ -3857,8 +4042,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3705__", + "parentId": "__FLD_93__", + "_id": "__REQ_1765__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-branch-protection", @@ -3873,8 +4058,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3706__", + "parentId": "__FLD_93__", + "_id": "__REQ_1766__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-admin-branch-protection", @@ -3889,8 +4074,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3707__", + "parentId": "__FLD_93__", + "_id": "__REQ_1767__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-admin-branch-protection", @@ -3905,8 +4090,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3708__", + "parentId": "__FLD_93__", + "_id": "__REQ_1768__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-admin-branch-protection", @@ -3921,8 +4106,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3709__", + "parentId": "__FLD_93__", + "_id": "__REQ_1769__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-pull-request-review-protection", @@ -3942,8 +4127,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3710__", + "parentId": "__FLD_93__", + "_id": "__REQ_1770__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-pull-request-review-protection", @@ -3963,8 +4148,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3711__", + "parentId": "__FLD_93__", + "_id": "__REQ_1771__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-pull-request-review-protection", @@ -3979,8 +4164,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3712__", + "parentId": "__FLD_93__", + "_id": "__REQ_1772__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-commit-signature-protection", @@ -4000,8 +4185,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3713__", + "parentId": "__FLD_93__", + "_id": "__REQ_1773__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-commit-signature-protection", @@ -4021,8 +4206,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3714__", + "parentId": "__FLD_93__", + "_id": "__REQ_1774__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-commit-signature-protection", @@ -4042,8 +4227,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3715__", + "parentId": "__FLD_93__", + "_id": "__REQ_1775__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-status-checks-protection", @@ -4058,8 +4243,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3716__", + "parentId": "__FLD_93__", + "_id": "__REQ_1776__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-status-check-potection", @@ -4074,8 +4259,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3717__", + "parentId": "__FLD_93__", + "_id": "__REQ_1777__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-protection", @@ -4090,8 +4275,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3718__", + "parentId": "__FLD_93__", + "_id": "__REQ_1778__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-status-check-contexts", @@ -4106,8 +4291,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3719__", + "parentId": "__FLD_93__", + "_id": "__REQ_1779__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-status-check-contexts", @@ -4122,8 +4307,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3720__", + "parentId": "__FLD_93__", + "_id": "__REQ_1780__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-status-check-contexts", @@ -4138,8 +4323,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3721__", + "parentId": "__FLD_93__", + "_id": "__REQ_1781__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-status-check-contexts", @@ -4154,8 +4339,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3722__", + "parentId": "__FLD_93__", + "_id": "__REQ_1782__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-access-restrictions", @@ -4170,8 +4355,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3723__", + "parentId": "__FLD_93__", + "_id": "__REQ_1783__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-access-restrictions", @@ -4186,8 +4371,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3724__", + "parentId": "__FLD_93__", + "_id": "__REQ_1784__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4202,8 +4387,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3725__", + "parentId": "__FLD_93__", + "_id": "__REQ_1785__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-app-access-restrictions", @@ -4218,8 +4403,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3726__", + "parentId": "__FLD_93__", + "_id": "__REQ_1786__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-app-access-restrictions", @@ -4234,8 +4419,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3727__", + "parentId": "__FLD_93__", + "_id": "__REQ_1787__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-app-access-restrictions", @@ -4250,8 +4435,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3728__", + "parentId": "__FLD_93__", + "_id": "__REQ_1788__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4266,8 +4451,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3729__", + "parentId": "__FLD_93__", + "_id": "__REQ_1789__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-team-access-restrictions", @@ -4282,8 +4467,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3730__", + "parentId": "__FLD_93__", + "_id": "__REQ_1790__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-team-access-restrictions", @@ -4298,8 +4483,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3731__", + "parentId": "__FLD_93__", + "_id": "__REQ_1791__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-team-access-restrictions", @@ -4314,8 +4499,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3732__", + "parentId": "__FLD_93__", + "_id": "__REQ_1792__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -4330,8 +4515,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3733__", + "parentId": "__FLD_93__", + "_id": "__REQ_1793__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-user-access-restrictions", @@ -4346,8 +4531,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3734__", + "parentId": "__FLD_93__", + "_id": "__REQ_1794__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#set-user-access-restrictions", @@ -4362,8 +4547,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3735__", + "parentId": "__FLD_93__", + "_id": "__REQ_1795__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-user-access-restrictions", @@ -4378,8 +4563,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3736__", + "parentId": "__FLD_76__", + "_id": "__REQ_1796__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-run", @@ -4399,8 +4584,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3737__", + "parentId": "__FLD_76__", + "_id": "__REQ_1797__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-run", @@ -4420,8 +4605,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3738__", + "parentId": "__FLD_76__", + "_id": "__REQ_1798__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-a-check-run", @@ -4441,8 +4626,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3739__", + "parentId": "__FLD_76__", + "_id": "__REQ_1799__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-run-annotations", @@ -4473,8 +4658,8 @@ ] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3740__", + "parentId": "__FLD_76__", + "_id": "__REQ_1800__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite", @@ -4494,8 +4679,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3741__", + "parentId": "__FLD_76__", + "_id": "__REQ_1801__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.20/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4515,8 +4700,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3742__", + "parentId": "__FLD_76__", + "_id": "__REQ_1802__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#get-a-check-suite", @@ -4536,8 +4721,8 @@ "parameters": [] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3743__", + "parentId": "__FLD_76__", + "_id": "__REQ_1803__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4581,8 +4766,8 @@ ] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3744__", + "parentId": "__FLD_76__", + "_id": "__REQ_1804__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#rerequest-a-check-suite", @@ -4602,8 +4787,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3745__", + "parentId": "__FLD_93__", + "_id": "__REQ_1805__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-collaborators", @@ -4634,8 +4819,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3746__", + "parentId": "__FLD_93__", + "_id": "__REQ_1806__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -4650,11 +4835,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3747__", + "parentId": "__FLD_93__", + "_id": "__REQ_1807__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4666,8 +4851,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3748__", + "parentId": "__FLD_93__", + "_id": "__REQ_1808__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#remove-a-repository-collaborator", @@ -4682,8 +4867,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3749__", + "parentId": "__FLD_93__", + "_id": "__REQ_1809__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-permissions-for-a-user", @@ -4698,8 +4883,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3750__", + "parentId": "__FLD_93__", + "_id": "__REQ_1810__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments-for-a-repository", @@ -4730,8 +4915,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3751__", + "parentId": "__FLD_93__", + "_id": "__REQ_1811__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit-comment", @@ -4751,8 +4936,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3752__", + "parentId": "__FLD_93__", + "_id": "__REQ_1812__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-commit-comment", @@ -4767,8 +4952,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3753__", + "parentId": "__FLD_93__", + "_id": "__REQ_1813__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-commit-comment", @@ -4783,11 +4968,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3754__", + "parentId": "__FLD_92__", + "_id": "__REQ_1814__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4819,11 +5004,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3755__", + "parentId": "__FLD_92__", + "_id": "__REQ_1815__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -4840,8 +5025,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3756__", + "parentId": "__FLD_93__", + "_id": "__REQ_1816__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits", @@ -4887,8 +5072,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3757__", + "parentId": "__FLD_93__", + "_id": "__REQ_1817__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-branches-for-head-commit", @@ -4908,8 +5093,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3758__", + "parentId": "__FLD_93__", + "_id": "__REQ_1818__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-comments", @@ -4940,11 +5125,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3759__", + "parentId": "__FLD_93__", + "_id": "__REQ_1819__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4956,11 +5141,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3760__", + "parentId": "__FLD_93__", + "_id": "__REQ_1820__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -4988,8 +5173,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3761__", + "parentId": "__FLD_93__", + "_id": "__REQ_1821__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-commit", @@ -5001,11 +5186,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3762__", + "parentId": "__FLD_76__", + "_id": "__REQ_1822__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5045,12 +5241,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_159__", - "_id": "__REQ_3763__", + "parentId": "__FLD_76__", + "_id": "__REQ_1823__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5089,8 +5289,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3764__", + "parentId": "__FLD_93__", + "_id": "__REQ_1824__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5102,11 +5302,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3765__", + "parentId": "__FLD_93__", + "_id": "__REQ_1825__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5132,45 +5343,45 @@ ] }, { - "parentId": "__FLD_160__", - "_id": "__REQ_3766__", + "parentId": "__FLD_93__", + "_id": "__REQ_1826__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3767__", + "parentId": "__FLD_75__", + "_id": "__REQ_1827__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.20/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3768__", + "parentId": "__FLD_93__", + "_id": "__REQ_1828__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.20/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content", @@ -5190,8 +5401,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3769__", + "parentId": "__FLD_93__", + "_id": "__REQ_1829__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-or-update-file-contents", @@ -5206,8 +5417,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3770__", + "parentId": "__FLD_93__", + "_id": "__REQ_1830__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-file", @@ -5222,11 +5433,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3771__", + "parentId": "__FLD_93__", + "_id": "__REQ_1831__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5253,8 +5464,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3772__", + "parentId": "__FLD_93__", + "_id": "__REQ_1832__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployments", @@ -5305,8 +5516,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3773__", + "parentId": "__FLD_93__", + "_id": "__REQ_1833__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment", @@ -5326,8 +5537,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3774__", + "parentId": "__FLD_93__", + "_id": "__REQ_1834__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment", @@ -5347,8 +5558,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3775__", + "parentId": "__FLD_93__", + "_id": "__REQ_1835__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deployment-statuses", @@ -5379,8 +5590,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3776__", + "parentId": "__FLD_93__", + "_id": "__REQ_1836__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deployment-status", @@ -5400,8 +5611,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3777__", + "parentId": "__FLD_93__", + "_id": "__REQ_1837__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deployment-status", @@ -5421,8 +5632,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3778__", + "parentId": "__FLD_74__", + "_id": "__REQ_1838__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-events", @@ -5448,8 +5659,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3779__", + "parentId": "__FLD_93__", + "_id": "__REQ_1839__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-forks", @@ -5480,11 +5691,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3780__", + "parentId": "__FLD_93__", + "_id": "__REQ_1840__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5496,8 +5707,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3781__", + "parentId": "__FLD_81__", + "_id": "__REQ_1841__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-blob", @@ -5512,8 +5723,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3782__", + "parentId": "__FLD_81__", + "_id": "__REQ_1842__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-blob", @@ -5528,8 +5739,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3783__", + "parentId": "__FLD_81__", + "_id": "__REQ_1843__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit", @@ -5544,8 +5755,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3784__", + "parentId": "__FLD_81__", + "_id": "__REQ_1844__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-commit", @@ -5560,8 +5771,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3785__", + "parentId": "__FLD_81__", + "_id": "__REQ_1845__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#list-matching-references", @@ -5587,8 +5798,8 @@ ] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3786__", + "parentId": "__FLD_81__", + "_id": "__REQ_1846__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-reference", @@ -5603,8 +5814,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3787__", + "parentId": "__FLD_81__", + "_id": "__REQ_1847__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference", @@ -5619,8 +5830,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3788__", + "parentId": "__FLD_81__", + "_id": "__REQ_1848__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference", @@ -5635,8 +5846,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3789__", + "parentId": "__FLD_81__", + "_id": "__REQ_1849__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#delete-a-reference", @@ -5651,8 +5862,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3790__", + "parentId": "__FLD_81__", + "_id": "__REQ_1850__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tag-object", @@ -5667,8 +5878,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3791__", + "parentId": "__FLD_81__", + "_id": "__REQ_1851__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tag", @@ -5683,8 +5894,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3792__", + "parentId": "__FLD_81__", + "_id": "__REQ_1852__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.20/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#create-a-tree", @@ -5699,8 +5910,8 @@ "parameters": [] }, { - "parentId": "__FLD_164__", - "_id": "__REQ_3793__", + "parentId": "__FLD_81__", + "_id": "__REQ_1853__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/git#get-a-tree", @@ -5720,8 +5931,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3794__", + "parentId": "__FLD_93__", + "_id": "__REQ_1854__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-webhooks", @@ -5747,8 +5958,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3795__", + "parentId": "__FLD_93__", + "_id": "__REQ_1855__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-webhook", @@ -5763,8 +5974,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3796__", + "parentId": "__FLD_93__", + "_id": "__REQ_1856__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-webhook", @@ -5779,8 +5990,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3797__", + "parentId": "__FLD_93__", + "_id": "__REQ_1857__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-webhook", @@ -5795,8 +6006,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3798__", + "parentId": "__FLD_93__", + "_id": "__REQ_1858__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-webhook", @@ -5811,8 +6022,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3799__", + "parentId": "__FLD_93__", + "_id": "__REQ_1859__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#ping-a-repository-webhook", @@ -5827,8 +6038,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3800__", + "parentId": "__FLD_93__", + "_id": "__REQ_1860__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#test-the-push-repository-webhook", @@ -5843,11 +6054,11 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3801__", + "parentId": "__FLD_75__", + "_id": "__REQ_1861__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -5864,8 +6075,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3802__", + "parentId": "__FLD_93__", + "_id": "__REQ_1862__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-invitations", @@ -5891,8 +6102,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3803__", + "parentId": "__FLD_93__", + "_id": "__REQ_1863__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-repository-invitation", @@ -5907,8 +6118,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3804__", + "parentId": "__FLD_93__", + "_id": "__REQ_1864__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-repository-invitation", @@ -5923,11 +6134,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3805__", + "parentId": "__FLD_83__", + "_id": "__REQ_1865__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", @@ -5994,11 +6205,11 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3806__", + "parentId": "__FLD_83__", + "_id": "__REQ_1866__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6010,8 +6221,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3807__", + "parentId": "__FLD_83__", + "_id": "__REQ_1867__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments-for-a-repository", @@ -6055,8 +6266,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3808__", + "parentId": "__FLD_83__", + "_id": "__REQ_1868__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-comment", @@ -6076,8 +6287,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3809__", + "parentId": "__FLD_83__", + "_id": "__REQ_1869__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-an-issue-comment", @@ -6092,8 +6303,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3810__", + "parentId": "__FLD_83__", + "_id": "__REQ_1870__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-an-issue-comment", @@ -6108,11 +6319,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3811__", + "parentId": "__FLD_92__", + "_id": "__REQ_1871__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6144,11 +6355,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3812__", + "parentId": "__FLD_92__", + "_id": "__REQ_1872__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6165,8 +6376,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3813__", + "parentId": "__FLD_83__", + "_id": "__REQ_1873__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events-for-a-repository", @@ -6197,8 +6408,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3814__", + "parentId": "__FLD_83__", + "_id": "__REQ_1874__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue-event", @@ -6218,11 +6429,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3815__", + "parentId": "__FLD_83__", + "_id": "__REQ_1875__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.20/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -6239,11 +6450,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3816__", + "parentId": "__FLD_83__", + "_id": "__REQ_1876__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6255,8 +6466,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3817__", + "parentId": "__FLD_83__", + "_id": "__REQ_1877__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-assignees-to-an-issue", @@ -6271,8 +6482,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3818__", + "parentId": "__FLD_83__", + "_id": "__REQ_1878__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-assignees-from-an-issue", @@ -6287,8 +6498,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3819__", + "parentId": "__FLD_83__", + "_id": "__REQ_1879__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-comments", @@ -6323,11 +6534,11 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3820__", + "parentId": "__FLD_83__", + "_id": "__REQ_1880__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6339,8 +6550,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3821__", + "parentId": "__FLD_83__", + "_id": "__REQ_1881__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-issue-events", @@ -6371,8 +6582,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3822__", + "parentId": "__FLD_83__", + "_id": "__REQ_1882__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-an-issue", @@ -6398,8 +6609,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3823__", + "parentId": "__FLD_83__", + "_id": "__REQ_1883__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#add-labels-to-an-issue", @@ -6414,8 +6625,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3824__", + "parentId": "__FLD_83__", + "_id": "__REQ_1884__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#set-labels-for-an-issue", @@ -6430,8 +6641,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3825__", + "parentId": "__FLD_83__", + "_id": "__REQ_1885__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6446,8 +6657,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3826__", + "parentId": "__FLD_83__", + "_id": "__REQ_1886__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#remove-a-label-from-an-issue", @@ -6462,11 +6673,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3827__", + "parentId": "__FLD_83__", + "_id": "__REQ_1887__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#lock-an-issue", "headers": [ { "name": "Accept", @@ -6483,11 +6694,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3828__", + "parentId": "__FLD_83__", + "_id": "__REQ_1888__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6499,11 +6710,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3829__", + "parentId": "__FLD_92__", + "_id": "__REQ_1889__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6535,11 +6746,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3830__", + "parentId": "__FLD_92__", + "_id": "__REQ_1890__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.20/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6556,15 +6767,15 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3831__", + "parentId": "__FLD_83__", + "_id": "__REQ_1891__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + "value": "application/vnd.github.mockingbird-preview+json" } ], "authentication": { @@ -6588,8 +6799,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3832__", + "parentId": "__FLD_93__", + "_id": "__REQ_1892__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-deploy-keys", @@ -6615,8 +6826,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3833__", + "parentId": "__FLD_93__", + "_id": "__REQ_1893__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-deploy-key", @@ -6631,8 +6842,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3834__", + "parentId": "__FLD_93__", + "_id": "__REQ_1894__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-deploy-key", @@ -6647,8 +6858,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3835__", + "parentId": "__FLD_93__", + "_id": "__REQ_1895__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-deploy-key", @@ -6663,8 +6874,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3836__", + "parentId": "__FLD_83__", + "_id": "__REQ_1896__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-a-repository", @@ -6690,8 +6901,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3837__", + "parentId": "__FLD_83__", + "_id": "__REQ_1897__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-label", @@ -6706,8 +6917,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3838__", + "parentId": "__FLD_83__", + "_id": "__REQ_1898__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-label", @@ -6722,8 +6933,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3839__", + "parentId": "__FLD_83__", + "_id": "__REQ_1899__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-label", @@ -6738,8 +6949,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3840__", + "parentId": "__FLD_83__", + "_id": "__REQ_1900__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-label", @@ -6754,11 +6965,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3841__", + "parentId": "__FLD_93__", + "_id": "__REQ_1901__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6770,11 +6981,11 @@ "parameters": [] }, { - "parentId": "__FLD_167__", - "_id": "__REQ_3842__", + "parentId": "__FLD_84__", + "_id": "__REQ_1902__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6786,8 +6997,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3843__", + "parentId": "__FLD_93__", + "_id": "__REQ_1903__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#merge-a-branch", @@ -6802,8 +7013,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3844__", + "parentId": "__FLD_83__", + "_id": "__REQ_1904__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-milestones", @@ -6844,8 +7055,8 @@ ] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3845__", + "parentId": "__FLD_83__", + "_id": "__REQ_1905__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-a-milestone", @@ -6860,8 +7071,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3846__", + "parentId": "__FLD_83__", + "_id": "__REQ_1906__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#get-a-milestone", @@ -6876,8 +7087,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3847__", + "parentId": "__FLD_83__", + "_id": "__REQ_1907__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#update-a-milestone", @@ -6892,8 +7103,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3848__", + "parentId": "__FLD_83__", + "_id": "__REQ_1908__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#delete-a-milestone", @@ -6908,8 +7119,8 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3849__", + "parentId": "__FLD_83__", + "_id": "__REQ_1909__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -6935,8 +7146,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3850__", + "parentId": "__FLD_74__", + "_id": "__REQ_1910__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -6980,8 +7191,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3851__", + "parentId": "__FLD_74__", + "_id": "__REQ_1911__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#mark-repository-notifications-as-read", @@ -6996,8 +7207,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3852__", + "parentId": "__FLD_93__", + "_id": "__REQ_1912__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-github-pages-site", @@ -7012,8 +7223,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3853__", + "parentId": "__FLD_93__", + "_id": "__REQ_1913__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-github-pages-site", @@ -7033,8 +7244,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3854__", + "parentId": "__FLD_93__", + "_id": "__REQ_1914__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-information-about-a-github-pages-site", @@ -7049,8 +7260,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3855__", + "parentId": "__FLD_93__", + "_id": "__REQ_1915__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-github-pages-site", @@ -7070,8 +7281,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3856__", + "parentId": "__FLD_93__", + "_id": "__REQ_1916__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-github-pages-builds", @@ -7097,8 +7308,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3857__", + "parentId": "__FLD_93__", + "_id": "__REQ_1917__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#request-a-github-pages-build", @@ -7113,8 +7324,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3858__", + "parentId": "__FLD_93__", + "_id": "__REQ_1918__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-latest-pages-build", @@ -7129,8 +7340,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3859__", + "parentId": "__FLD_93__", + "_id": "__REQ_1919__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-github-pages-build", @@ -7145,8 +7356,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3860__", + "parentId": "__FLD_79__", + "_id": "__REQ_1920__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7173,12 +7384,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3861__", + "parentId": "__FLD_79__", + "_id": "__REQ_1921__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7198,8 +7419,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3862__", + "parentId": "__FLD_79__", + "_id": "__REQ_1922__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -7219,8 +7440,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3863__", + "parentId": "__FLD_79__", + "_id": "__REQ_1923__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -7240,11 +7461,11 @@ "parameters": [] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3864__", + "parentId": "__FLD_89__", + "_id": "__REQ_1924__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -7277,11 +7498,11 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_3865__", + "parentId": "__FLD_89__", + "_id": "__REQ_1925__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -7298,11 +7519,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3866__", + "parentId": "__FLD_90__", + "_id": "__REQ_1926__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests", "headers": [ { "name": "Accept", @@ -7352,11 +7573,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3867__", + "parentId": "__FLD_90__", + "_id": "__REQ_1927__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-pull-request", "headers": [ { "name": "Accept", @@ -7373,8 +7594,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3868__", + "parentId": "__FLD_90__", + "_id": "__REQ_1928__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-in-a-repository", @@ -7394,7 +7615,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -7418,8 +7638,8 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3869__", + "parentId": "__FLD_90__", + "_id": "__REQ_1929__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -7439,8 +7659,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3870__", + "parentId": "__FLD_90__", + "_id": "__REQ_1930__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -7460,8 +7680,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3871__", + "parentId": "__FLD_90__", + "_id": "__REQ_1931__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7476,11 +7696,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3872__", + "parentId": "__FLD_92__", + "_id": "__REQ_1932__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7512,11 +7732,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3873__", + "parentId": "__FLD_92__", + "_id": "__REQ_1933__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7533,11 +7753,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3874__", + "parentId": "__FLD_90__", + "_id": "__REQ_1934__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.20/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7549,11 +7769,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3875__", + "parentId": "__FLD_90__", + "_id": "__REQ_1935__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -7570,8 +7790,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3876__", + "parentId": "__FLD_90__", + "_id": "__REQ_1936__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -7615,11 +7835,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3877__", + "parentId": "__FLD_90__", + "_id": "__REQ_1937__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.20/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", @@ -7636,11 +7856,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3878__", + "parentId": "__FLD_90__", + "_id": "__REQ_1938__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7652,11 +7872,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3879__", + "parentId": "__FLD_90__", + "_id": "__REQ_1939__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7679,11 +7899,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3880__", + "parentId": "__FLD_90__", + "_id": "__REQ_1940__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7706,11 +7926,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3881__", + "parentId": "__FLD_90__", + "_id": "__REQ_1941__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7722,11 +7942,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3882__", + "parentId": "__FLD_90__", + "_id": "__REQ_1942__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#merge-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7738,8 +7958,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3883__", + "parentId": "__FLD_90__", + "_id": "__REQ_1943__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -7765,11 +7985,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3884__", + "parentId": "__FLD_90__", + "_id": "__REQ_1944__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.20/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7781,8 +8001,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3885__", + "parentId": "__FLD_90__", + "_id": "__REQ_1945__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -7797,8 +8017,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3886__", + "parentId": "__FLD_90__", + "_id": "__REQ_1946__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -7824,11 +8044,11 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3887__", + "parentId": "__FLD_90__", + "_id": "__REQ_1947__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7840,8 +8060,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3888__", + "parentId": "__FLD_90__", + "_id": "__REQ_1948__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -7856,8 +8076,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3889__", + "parentId": "__FLD_90__", + "_id": "__REQ_1949__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -7872,8 +8092,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3890__", + "parentId": "__FLD_90__", + "_id": "__REQ_1950__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -7888,8 +8108,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3891__", + "parentId": "__FLD_90__", + "_id": "__REQ_1951__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -7915,8 +8135,8 @@ ] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3892__", + "parentId": "__FLD_90__", + "_id": "__REQ_1952__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -7931,8 +8151,8 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3893__", + "parentId": "__FLD_90__", + "_id": "__REQ_1953__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -7947,11 +8167,11 @@ "parameters": [] }, { - "parentId": "__FLD_173__", - "_id": "__REQ_3894__", + "parentId": "__FLD_90__", + "_id": "__REQ_1954__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -7968,8 +8188,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3895__", + "parentId": "__FLD_93__", + "_id": "__REQ_1955__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-readme", @@ -7989,8 +8209,29 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3896__", + "parentId": "__FLD_93__", + "_id": "__REQ_1956__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_93__", + "_id": "__REQ_1957__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-releases", @@ -8016,11 +8257,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3897__", + "parentId": "__FLD_93__", + "_id": "__REQ_1958__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8032,8 +8273,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3898__", + "parentId": "__FLD_93__", + "_id": "__REQ_1959__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-asset", @@ -8048,8 +8289,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3899__", + "parentId": "__FLD_93__", + "_id": "__REQ_1960__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release-asset", @@ -8064,8 +8305,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3900__", + "parentId": "__FLD_93__", + "_id": "__REQ_1961__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release-asset", @@ -8080,8 +8321,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3901__", + "parentId": "__FLD_93__", + "_id": "__REQ_1962__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-latest-release", @@ -8096,8 +8337,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3902__", + "parentId": "__FLD_93__", + "_id": "__REQ_1963__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release-by-tag-name", @@ -8112,8 +8353,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3903__", + "parentId": "__FLD_93__", + "_id": "__REQ_1964__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-release", @@ -8128,8 +8369,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3904__", + "parentId": "__FLD_93__", + "_id": "__REQ_1965__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#update-a-release", @@ -8144,8 +8385,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3905__", + "parentId": "__FLD_93__", + "_id": "__REQ_1966__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#delete-a-release", @@ -8160,8 +8401,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3906__", + "parentId": "__FLD_93__", + "_id": "__REQ_1967__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-release-assets", @@ -8187,11 +8428,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3907__", + "parentId": "__FLD_93__", + "_id": "__REQ_1968__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8212,8 +8453,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3908__", + "parentId": "__FLD_74__", + "_id": "__REQ_1969__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-stargazers", @@ -8239,8 +8480,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3909__", + "parentId": "__FLD_93__", + "_id": "__REQ_1970__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-activity", @@ -8255,8 +8496,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3910__", + "parentId": "__FLD_93__", + "_id": "__REQ_1971__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -8271,8 +8512,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3911__", + "parentId": "__FLD_93__", + "_id": "__REQ_1972__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-contributor-commit-activity", @@ -8287,8 +8528,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3912__", + "parentId": "__FLD_93__", + "_id": "__REQ_1973__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-weekly-commit-count", @@ -8303,8 +8544,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3913__", + "parentId": "__FLD_93__", + "_id": "__REQ_1974__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -8319,8 +8560,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3914__", + "parentId": "__FLD_93__", + "_id": "__REQ_1975__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-commit-status", @@ -8335,8 +8576,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3915__", + "parentId": "__FLD_74__", + "_id": "__REQ_1976__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-watchers", @@ -8362,8 +8603,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3916__", + "parentId": "__FLD_74__", + "_id": "__REQ_1977__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#get-a-repository-subscription", @@ -8378,8 +8619,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3917__", + "parentId": "__FLD_74__", + "_id": "__REQ_1978__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription", @@ -8394,8 +8635,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_3918__", + "parentId": "__FLD_74__", + "_id": "__REQ_1979__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.20/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#delete-a-repository-subscription", @@ -8410,11 +8651,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3919__", + "parentId": "__FLD_93__", + "_id": "__REQ_1980__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8437,8 +8678,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3920__", + "parentId": "__FLD_93__", + "_id": "__REQ_1981__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", @@ -8453,11 +8694,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3921__", + "parentId": "__FLD_93__", + "_id": "__REQ_1982__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8480,11 +8721,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3922__", + "parentId": "__FLD_93__", + "_id": "__REQ_1983__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8498,14 +8739,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3923__", + "parentId": "__FLD_93__", + "_id": "__REQ_1984__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#replace-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8522,11 +8774,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3924__", + "parentId": "__FLD_93__", + "_id": "__REQ_1985__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8538,50 +8790,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3925__", - "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_176__", - "_id": "__REQ_3926__", - "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_176__", - "_id": "__REQ_3927__", + "parentId": "__FLD_93__", + "_id": "__REQ_1986__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#download-a-repository-archive", @@ -8596,11 +8806,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3928__", + "parentId": "__FLD_93__", + "_id": "__REQ_1987__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8617,11 +8827,11 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_3929__", + "parentId": "__FLD_93__", + "_id": "__REQ_1988__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8643,11 +8853,11 @@ ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3930__", + "parentId": "__FLD_94__", + "_id": "__REQ_1989__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8683,11 +8893,11 @@ ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3931__", + "parentId": "__FLD_94__", + "_id": "__REQ_1990__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -8728,11 +8938,11 @@ ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3932__", + "parentId": "__FLD_94__", + "_id": "__REQ_1991__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8768,11 +8978,11 @@ ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3933__", + "parentId": "__FLD_94__", + "_id": "__REQ_1992__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8798,15 +9008,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3934__", + "parentId": "__FLD_94__", + "_id": "__REQ_1993__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -8847,11 +9067,11 @@ ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3935__", + "parentId": "__FLD_94__", + "_id": "__REQ_1994__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -8869,15 +9089,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_177__", - "_id": "__REQ_3936__", + "parentId": "__FLD_94__", + "_id": "__REQ_1995__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.20/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8913,8 +9143,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3937__", + "parentId": "__FLD_79__", + "_id": "__REQ_1996__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-configuration-status", @@ -8929,8 +9159,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3938__", + "parentId": "__FLD_79__", + "_id": "__REQ_1997__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process", @@ -8945,8 +9175,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3939__", + "parentId": "__FLD_79__", + "_id": "__REQ_1998__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -8961,11 +9191,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3940__", + "parentId": "__FLD_79__", + "_id": "__REQ_1999__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8977,8 +9207,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3941__", + "parentId": "__FLD_79__", + "_id": "__REQ_2000__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings", @@ -8993,11 +9223,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3942__", + "parentId": "__FLD_79__", + "_id": "__REQ_2001__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9009,8 +9239,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3943__", + "parentId": "__FLD_79__", + "_id": "__REQ_2002__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -9025,11 +9255,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3944__", + "parentId": "__FLD_79__", + "_id": "__REQ_2003__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9041,11 +9271,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3945__", + "parentId": "__FLD_79__", + "_id": "__REQ_2004__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9057,11 +9287,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3946__", + "parentId": "__FLD_79__", + "_id": "__REQ_2005__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9073,11 +9303,11 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_3947__", + "parentId": "__FLD_79__", + "_id": "__REQ_2006__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9089,11 +9319,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3948__", + "parentId": "__FLD_95__", + "_id": "__REQ_2007__", "_type": "request", "name": "Get a team", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#get-a-team", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#get-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9105,11 +9335,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3949__", + "parentId": "__FLD_95__", + "_id": "__REQ_2008__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9121,11 +9351,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3950__", + "parentId": "__FLD_95__", + "_id": "__REQ_2009__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9137,8 +9367,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3951__", + "parentId": "__FLD_95__", + "_id": "__REQ_2010__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-discussions", @@ -9174,11 +9404,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3952__", + "parentId": "__FLD_95__", + "_id": "__REQ_2011__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -9195,8 +9425,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3953__", + "parentId": "__FLD_95__", + "_id": "__REQ_2012__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-a-discussion", @@ -9216,8 +9446,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3954__", + "parentId": "__FLD_95__", + "_id": "__REQ_2013__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#update-a-discussion", @@ -9237,8 +9467,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3955__", + "parentId": "__FLD_95__", + "_id": "__REQ_2014__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#delete-a-discussion", @@ -9253,8 +9483,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3956__", + "parentId": "__FLD_95__", + "_id": "__REQ_2015__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-discussion-comments", @@ -9290,11 +9520,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3957__", + "parentId": "__FLD_95__", + "_id": "__REQ_2016__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -9311,8 +9541,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3958__", + "parentId": "__FLD_95__", + "_id": "__REQ_2017__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-a-discussion-comment", @@ -9332,8 +9562,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3959__", + "parentId": "__FLD_95__", + "_id": "__REQ_2018__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#update-a-discussion-comment", @@ -9353,8 +9583,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3960__", + "parentId": "__FLD_95__", + "_id": "__REQ_2019__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#delete-a-discussion-comment", @@ -9369,11 +9599,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3961__", + "parentId": "__FLD_92__", + "_id": "__REQ_2020__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9405,11 +9635,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3962__", + "parentId": "__FLD_92__", + "_id": "__REQ_2021__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -9426,11 +9656,11 @@ "parameters": [] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3963__", + "parentId": "__FLD_92__", + "_id": "__REQ_2022__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions/#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9462,11 +9692,11 @@ ] }, { - "parentId": "__FLD_175__", - "_id": "__REQ_3964__", + "parentId": "__FLD_92__", + "_id": "__REQ_2023__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/reactions/#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -9483,8 +9713,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3965__", + "parentId": "__FLD_95__", + "_id": "__REQ_2024__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-team-members", @@ -9515,8 +9745,8 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3966__", + "parentId": "__FLD_95__", + "_id": "__REQ_2025__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-member-legacy", @@ -9531,8 +9761,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3967__", + "parentId": "__FLD_95__", + "_id": "__REQ_2026__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-team-member-legacy", @@ -9547,8 +9777,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3968__", + "parentId": "__FLD_95__", + "_id": "__REQ_2027__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-member-legacy", @@ -9563,8 +9793,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3969__", + "parentId": "__FLD_95__", + "_id": "__REQ_2028__", "_type": "request", "name": "Get team membership for a user", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.20/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#get-team-membership-for-a-user", @@ -9579,8 +9809,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3970__", + "parentId": "__FLD_95__", + "_id": "__REQ_2029__", "_type": "request", "name": "Add or update team membership for a user", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -9595,8 +9825,8 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3971__", + "parentId": "__FLD_95__", + "_id": "__REQ_2030__", "_type": "request", "name": "Remove team membership for a user", "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#remove-team-membership-for-a-user", @@ -9611,11 +9841,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3972__", + "parentId": "__FLD_95__", + "_id": "__REQ_2031__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#list-team-projects", "headers": [ { "name": "Accept", @@ -9643,11 +9873,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3973__", + "parentId": "__FLD_95__", + "_id": "__REQ_2032__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -9664,11 +9894,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3974__", + "parentId": "__FLD_95__", + "_id": "__REQ_2033__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -9685,11 +9915,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3975__", + "parentId": "__FLD_95__", + "_id": "__REQ_2034__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9701,11 +9931,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3976__", + "parentId": "__FLD_95__", + "_id": "__REQ_2035__", "_type": "request", "name": "List team repositories", - "description": "If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-team-repositories", + "description": "If you are an [authenticated](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9728,11 +9958,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3977__", + "parentId": "__FLD_95__", + "_id": "__REQ_2036__", "_type": "request", "name": "Check team permissions for a repository", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#check-team-permissions-for-a-repository", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9744,11 +9974,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3978__", + "parentId": "__FLD_95__", + "_id": "__REQ_2037__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9760,11 +9990,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3979__", + "parentId": "__FLD_95__", + "_id": "__REQ_2038__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9776,11 +10006,11 @@ "parameters": [] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_3980__", + "parentId": "__FLD_95__", + "_id": "__REQ_2039__", "_type": "request", "name": "List child teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-child-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams/#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9803,11 +10033,11 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3981__", + "parentId": "__FLD_96__", + "_id": "__REQ_2040__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9819,11 +10049,11 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3982__", + "parentId": "__FLD_96__", + "_id": "__REQ_2041__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9835,8 +10065,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3983__", + "parentId": "__FLD_96__", + "_id": "__REQ_2042__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -9862,8 +10092,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3984__", + "parentId": "__FLD_96__", + "_id": "__REQ_2043__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -9878,8 +10108,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3985__", + "parentId": "__FLD_96__", + "_id": "__REQ_2044__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -9894,8 +10124,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3986__", + "parentId": "__FLD_96__", + "_id": "__REQ_2045__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9921,8 +10151,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3987__", + "parentId": "__FLD_96__", + "_id": "__REQ_2046__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -9948,8 +10178,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3988__", + "parentId": "__FLD_96__", + "_id": "__REQ_2047__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -9964,8 +10194,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3989__", + "parentId": "__FLD_96__", + "_id": "__REQ_2048__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#follow-a-user", @@ -9980,8 +10210,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3990__", + "parentId": "__FLD_96__", + "_id": "__REQ_2049__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#unfollow-a-user", @@ -9996,8 +10226,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3991__", + "parentId": "__FLD_96__", + "_id": "__REQ_2050__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -10023,8 +10253,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3992__", + "parentId": "__FLD_96__", + "_id": "__REQ_2051__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10039,8 +10269,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3993__", + "parentId": "__FLD_96__", + "_id": "__REQ_2052__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10055,8 +10285,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_3994__", + "parentId": "__FLD_96__", + "_id": "__REQ_2053__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10071,8 +10301,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3995__", + "parentId": "__FLD_75__", + "_id": "__REQ_2054__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10103,8 +10333,8 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3996__", + "parentId": "__FLD_75__", + "_id": "__REQ_2055__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -10135,8 +10365,8 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3997__", + "parentId": "__FLD_75__", + "_id": "__REQ_2056__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.20/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10156,8 +10386,8 @@ "parameters": [] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_3998__", + "parentId": "__FLD_75__", + "_id": "__REQ_2057__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.20/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10177,11 +10407,11 @@ "parameters": [] }, { - "parentId": "__FLD_166__", - "_id": "__REQ_3999__", + "parentId": "__FLD_83__", + "_id": "__REQ_2058__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.20/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10237,8 +10467,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4000__", + "parentId": "__FLD_96__", + "_id": "__REQ_2059__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10264,8 +10494,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4001__", + "parentId": "__FLD_96__", + "_id": "__REQ_2060__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10280,8 +10510,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4002__", + "parentId": "__FLD_96__", + "_id": "__REQ_2061__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10296,8 +10526,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4003__", + "parentId": "__FLD_96__", + "_id": "__REQ_2062__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10312,8 +10542,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_4004__", + "parentId": "__FLD_88__", + "_id": "__REQ_2063__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10343,8 +10573,8 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_4005__", + "parentId": "__FLD_88__", + "_id": "__REQ_2064__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10359,8 +10589,8 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_4006__", + "parentId": "__FLD_88__", + "_id": "__REQ_2065__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10375,11 +10605,11 @@ "parameters": [] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_4007__", + "parentId": "__FLD_88__", + "_id": "__REQ_2066__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10402,11 +10632,11 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_4008__", + "parentId": "__FLD_89__", + "_id": "__REQ_2067__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -10423,8 +10653,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4009__", + "parentId": "__FLD_96__", + "_id": "__REQ_2068__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -10450,11 +10680,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4010__", + "parentId": "__FLD_93__", + "_id": "__REQ_2069__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10509,11 +10739,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4011__", + "parentId": "__FLD_93__", + "_id": "__REQ_2070__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10530,8 +10760,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4012__", + "parentId": "__FLD_93__", + "_id": "__REQ_2071__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -10557,8 +10787,8 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4013__", + "parentId": "__FLD_93__", + "_id": "__REQ_2072__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#accept-a-repository-invitation", @@ -10573,8 +10803,8 @@ "parameters": [] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4014__", + "parentId": "__FLD_93__", + "_id": "__REQ_2073__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#decline-a-repository-invitation", @@ -10589,8 +10819,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4015__", + "parentId": "__FLD_74__", + "_id": "__REQ_2074__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10626,8 +10856,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4016__", + "parentId": "__FLD_74__", + "_id": "__REQ_2075__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10642,8 +10872,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4017__", + "parentId": "__FLD_74__", + "_id": "__REQ_2076__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10658,8 +10888,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4018__", + "parentId": "__FLD_74__", + "_id": "__REQ_2077__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10674,8 +10904,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4019__", + "parentId": "__FLD_74__", + "_id": "__REQ_2078__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10701,11 +10931,11 @@ ] }, { - "parentId": "__FLD_178__", - "_id": "__REQ_4020__", + "parentId": "__FLD_95__", + "_id": "__REQ_2079__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.20/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10728,11 +10958,11 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4021__", + "parentId": "__FLD_96__", + "_id": "__REQ_2080__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10754,11 +10984,11 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4022__", + "parentId": "__FLD_96__", + "_id": "__REQ_2081__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.20/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.20/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10770,8 +11000,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4023__", + "parentId": "__FLD_74__", + "_id": "__REQ_2082__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10797,8 +11027,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4024__", + "parentId": "__FLD_74__", + "_id": "__REQ_2083__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10824,8 +11054,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4025__", + "parentId": "__FLD_74__", + "_id": "__REQ_2084__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-for-a-user", @@ -10851,8 +11081,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4026__", + "parentId": "__FLD_96__", + "_id": "__REQ_2085__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-followers-of-a-user", @@ -10878,8 +11108,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4027__", + "parentId": "__FLD_96__", + "_id": "__REQ_2086__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-the-people-a-user-follows", @@ -10905,8 +11135,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4028__", + "parentId": "__FLD_96__", + "_id": "__REQ_2087__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#check-if-a-user-follows-another-user", @@ -10921,11 +11151,11 @@ "parameters": [] }, { - "parentId": "__FLD_163__", - "_id": "__REQ_4029__", + "parentId": "__FLD_80__", + "_id": "__REQ_2088__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.20/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10952,8 +11182,8 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4030__", + "parentId": "__FLD_96__", + "_id": "__REQ_2089__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-gpg-keys-for-a-user", @@ -10979,11 +11209,11 @@ ] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4031__", + "parentId": "__FLD_96__", + "_id": "__REQ_2090__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.20/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11004,11 +11234,11 @@ ] }, { - "parentId": "__FLD_158__", - "_id": "__REQ_4032__", + "parentId": "__FLD_75__", + "_id": "__REQ_2091__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -11025,8 +11255,8 @@ "parameters": [] }, { - "parentId": "__FLD_179__", - "_id": "__REQ_4033__", + "parentId": "__FLD_96__", + "_id": "__REQ_2092__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/users#list-public-keys-for-a-user", @@ -11052,11 +11282,11 @@ ] }, { - "parentId": "__FLD_171__", - "_id": "__REQ_4034__", + "parentId": "__FLD_88__", + "_id": "__REQ_2093__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11079,11 +11309,11 @@ ] }, { - "parentId": "__FLD_172__", - "_id": "__REQ_4035__", + "parentId": "__FLD_89__", + "_id": "__REQ_2094__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -11116,8 +11346,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4036__", + "parentId": "__FLD_74__", + "_id": "__REQ_2095__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -11143,8 +11373,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4037__", + "parentId": "__FLD_74__", + "_id": "__REQ_2096__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-public-events-received-by-a-user", @@ -11170,11 +11400,11 @@ ] }, { - "parentId": "__FLD_176__", - "_id": "__REQ_4038__", + "parentId": "__FLD_93__", + "_id": "__REQ_2097__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.20/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -11216,8 +11446,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_4039__", + "parentId": "__FLD_79__", + "_id": "__REQ_2098__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -11232,8 +11462,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_4040__", + "parentId": "__FLD_79__", + "_id": "__REQ_2099__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -11248,8 +11478,8 @@ "parameters": [] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4041__", + "parentId": "__FLD_74__", + "_id": "__REQ_2100__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11285,8 +11515,8 @@ ] }, { - "parentId": "__FLD_157__", - "_id": "__REQ_4042__", + "parentId": "__FLD_74__", + "_id": "__REQ_2101__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11312,8 +11542,8 @@ ] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_4043__", + "parentId": "__FLD_79__", + "_id": "__REQ_2102__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.20/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#suspend-a-user", @@ -11328,8 +11558,8 @@ "parameters": [] }, { - "parentId": "__FLD_162__", - "_id": "__REQ_4044__", + "parentId": "__FLD_79__", + "_id": "__REQ_2103__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.20/rest/reference/enterprise-admin#unsuspend-a-user", @@ -11344,8 +11574,8 @@ "parameters": [] }, { - "parentId": "__FLD_169__", - "_id": "__REQ_4045__", + "parentId": "__FLD_86__", + "_id": "__REQ_2104__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.21.json b/routes/ghes-2.21.json index d7bb2bf..2b213c3 100644 --- a/routes/ghes-2.21.json +++ b/routes/ghes-2.21.json @@ -1,22 +1,22 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:27.004Z", + "__export_date": "2022-08-22T01:15:59.674Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_180__", + "_id": "__FLD_1__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "app_slug": "", "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -30,6 +30,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "event_id": 0, "file_sha": "", @@ -37,7 +38,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -73,154 +73,153 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "" } }, { - "parentId": "__FLD_180__", - "_id": "__FLD_181__", + "parentId": "__FLD_1__", + "_id": "__FLD_2__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_182__", + "parentId": "__FLD_1__", + "_id": "__FLD_3__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_183__", + "parentId": "__FLD_1__", + "_id": "__FLD_4__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_184__", + "parentId": "__FLD_1__", + "_id": "__FLD_5__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_185__", + "parentId": "__FLD_1__", + "_id": "__FLD_6__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_186__", + "parentId": "__FLD_1__", + "_id": "__FLD_7__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_187__", + "parentId": "__FLD_1__", + "_id": "__FLD_8__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_188__", + "parentId": "__FLD_1__", + "_id": "__FLD_9__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_189__", + "parentId": "__FLD_1__", + "_id": "__FLD_10__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_190__", + "parentId": "__FLD_1__", + "_id": "__FLD_11__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_191__", + "parentId": "__FLD_1__", + "_id": "__FLD_12__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_192__", + "parentId": "__FLD_1__", + "_id": "__FLD_13__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_193__", + "parentId": "__FLD_1__", + "_id": "__FLD_14__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_194__", + "parentId": "__FLD_1__", + "_id": "__FLD_15__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_195__", + "parentId": "__FLD_1__", + "_id": "__FLD_16__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_196__", + "parentId": "__FLD_1__", + "_id": "__FLD_17__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_197__", + "parentId": "__FLD_1__", + "_id": "__FLD_18__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_198__", + "parentId": "__FLD_1__", + "_id": "__FLD_19__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_199__", + "parentId": "__FLD_1__", + "_id": "__FLD_20__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_200__", + "parentId": "__FLD_1__", + "_id": "__FLD_21__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_201__", + "parentId": "__FLD_1__", + "_id": "__FLD_22__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_202__", + "parentId": "__FLD_1__", + "_id": "__FLD_23__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_180__", - "_id": "__FLD_203__", + "parentId": "__FLD_1__", + "_id": "__FLD_24__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4046__", + "parentId": "__FLD_14__", + "_id": "__REQ_1__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -232,8 +231,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4047__", + "parentId": "__FLD_7__", + "_id": "__REQ_2__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-global-webhooks", @@ -264,8 +263,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4048__", + "parentId": "__FLD_7__", + "_id": "__REQ_3__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-global-webhook", @@ -285,8 +284,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4049__", + "parentId": "__FLD_7__", + "_id": "__REQ_4__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-global-webhook", @@ -306,8 +305,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4050__", + "parentId": "__FLD_7__", + "_id": "__REQ_5__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-global-webhook", @@ -327,8 +326,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4051__", + "parentId": "__FLD_7__", + "_id": "__REQ_6__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -348,8 +347,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4052__", + "parentId": "__FLD_7__", + "_id": "__REQ_7__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -369,8 +368,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4053__", + "parentId": "__FLD_7__", + "_id": "__REQ_8__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-public-keys", @@ -392,12 +391,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4054__", + "parentId": "__FLD_7__", + "_id": "__REQ_9__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-public-key", @@ -412,11 +425,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4055__", + "parentId": "__FLD_7__", + "_id": "__REQ_10__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -428,8 +441,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4056__", + "parentId": "__FLD_7__", + "_id": "__REQ_11__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -444,8 +457,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4057__", + "parentId": "__FLD_7__", + "_id": "__REQ_12__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -460,8 +473,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4058__", + "parentId": "__FLD_7__", + "_id": "__REQ_13__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -476,8 +489,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4059__", + "parentId": "__FLD_7__", + "_id": "__REQ_14__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-organization", @@ -492,8 +505,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4060__", + "parentId": "__FLD_7__", + "_id": "__REQ_15__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-an-organization-name", @@ -508,8 +521,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4061__", + "parentId": "__FLD_7__", + "_id": "__REQ_16__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -536,12 +549,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4062__", + "parentId": "__FLD_7__", + "_id": "__REQ_17__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -561,8 +584,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4063__", + "parentId": "__FLD_7__", + "_id": "__REQ_18__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -582,8 +605,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4064__", + "parentId": "__FLD_7__", + "_id": "__REQ_19__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -603,8 +626,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4065__", + "parentId": "__FLD_7__", + "_id": "__REQ_20__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -624,8 +647,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4066__", + "parentId": "__FLD_7__", + "_id": "__REQ_21__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -645,8 +668,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4067__", + "parentId": "__FLD_7__", + "_id": "__REQ_22__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -666,8 +689,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4068__", + "parentId": "__FLD_7__", + "_id": "__REQ_23__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -694,12 +717,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4069__", + "parentId": "__FLD_7__", + "_id": "__REQ_24__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -719,8 +752,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4070__", + "parentId": "__FLD_7__", + "_id": "__REQ_25__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -740,8 +773,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4071__", + "parentId": "__FLD_7__", + "_id": "__REQ_26__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -761,8 +794,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4072__", + "parentId": "__FLD_7__", + "_id": "__REQ_27__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -782,8 +815,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4073__", + "parentId": "__FLD_7__", + "_id": "__REQ_28__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -809,8 +842,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4074__", + "parentId": "__FLD_7__", + "_id": "__REQ_29__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -825,8 +858,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4075__", + "parentId": "__FLD_7__", + "_id": "__REQ_30__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-user", @@ -841,8 +874,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4076__", + "parentId": "__FLD_7__", + "_id": "__REQ_31__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -857,8 +890,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4077__", + "parentId": "__FLD_7__", + "_id": "__REQ_32__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-a-user", @@ -873,8 +906,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4078__", + "parentId": "__FLD_7__", + "_id": "__REQ_33__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -889,8 +922,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4079__", + "parentId": "__FLD_7__", + "_id": "__REQ_34__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -905,11 +938,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4080__", + "parentId": "__FLD_3__", + "_id": "__REQ_35__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#get-the-authenticated-app", "headers": [ { "name": "Accept", @@ -926,11 +959,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4081__", + "parentId": "__FLD_3__", + "_id": "__REQ_36__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -942,11 +975,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4082__", + "parentId": "__FLD_3__", + "_id": "__REQ_37__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -974,11 +1007,11 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4083__", + "parentId": "__FLD_3__", + "_id": "__REQ_38__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -995,11 +1028,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4084__", + "parentId": "__FLD_3__", + "_id": "__REQ_39__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -1016,11 +1049,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4085__", + "parentId": "__FLD_3__", + "_id": "__REQ_40__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [ { "name": "Accept", @@ -1037,8 +1070,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4086__", + "parentId": "__FLD_15__", + "_id": "__REQ_41__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-grants", @@ -1060,12 +1093,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4087__", + "parentId": "__FLD_15__", + "_id": "__REQ_42__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1080,8 +1117,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4088__", + "parentId": "__FLD_15__", + "_id": "__REQ_43__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-a-grant", @@ -1096,8 +1133,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4089__", + "parentId": "__FLD_3__", + "_id": "__REQ_44__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-authorization", @@ -1112,8 +1149,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4090__", + "parentId": "__FLD_3__", + "_id": "__REQ_45__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1128,8 +1165,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4091__", + "parentId": "__FLD_3__", + "_id": "__REQ_46__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-a-token", @@ -1144,8 +1181,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4092__", + "parentId": "__FLD_3__", + "_id": "__REQ_47__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-a-token", @@ -1160,8 +1197,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4093__", + "parentId": "__FLD_3__", + "_id": "__REQ_48__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#delete-an-app-token", @@ -1176,8 +1213,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4094__", + "parentId": "__FLD_3__", + "_id": "__REQ_49__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#check-an-authorization", @@ -1192,8 +1229,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4095__", + "parentId": "__FLD_3__", + "_id": "__REQ_50__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#reset-an-authorization", @@ -1208,8 +1245,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4096__", + "parentId": "__FLD_3__", + "_id": "__REQ_51__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1224,11 +1261,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4097__", + "parentId": "__FLD_3__", + "_id": "__REQ_52__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps/#get-an-app", "headers": [ { "name": "Accept", @@ -1245,8 +1282,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4098__", + "parentId": "__FLD_15__", + "_id": "__REQ_53__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1268,12 +1305,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4099__", + "parentId": "__FLD_15__", + "_id": "__REQ_54__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1288,8 +1329,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4100__", + "parentId": "__FLD_15__", + "_id": "__REQ_55__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1304,8 +1345,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4101__", + "parentId": "__FLD_15__", + "_id": "__REQ_56__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1320,8 +1361,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4102__", + "parentId": "__FLD_15__", + "_id": "__REQ_57__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1336,8 +1377,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4103__", + "parentId": "__FLD_15__", + "_id": "__REQ_58__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1352,8 +1393,8 @@ "parameters": [] }, { - "parentId": "__FLD_194__", - "_id": "__REQ_4104__", + "parentId": "__FLD_15__", + "_id": "__REQ_59__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.21/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1368,17 +1409,12 @@ "parameters": [] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4105__", + "parentId": "__FLD_5__", + "_id": "__REQ_60__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1389,17 +1425,12 @@ "parameters": [] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4106__", + "parentId": "__FLD_5__", + "_id": "__REQ_61__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1410,77 +1441,216 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4107__", + "parentId": "__FLD_6__", + "_id": "__REQ_62__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.21/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/emojis#get-emojis", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_185__", - "_id": "__REQ_4108__", + "parentId": "__FLD_7__", + "_id": "__REQ_63__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/emojis/#get-emojis", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4109__", + "parentId": "__FLD_7__", + "_id": "__REQ_64__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-license-information", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/all", "body": {}, "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4110__", + "parentId": "__FLD_7__", + "_id": "__REQ_65__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-statistics", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-comment-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4111__", + "parentId": "__FLD_7__", + "_id": "__REQ_66__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_67__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_68__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_69__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_70__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_71__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_72__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_73__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_7__", + "_id": "__REQ_74__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_75__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events", @@ -1506,8 +1676,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4112__", + "parentId": "__FLD_2__", + "_id": "__REQ_76__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-feeds", @@ -1522,11 +1692,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4113__", + "parentId": "__FLD_8__", + "_id": "__REQ_77__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1553,11 +1723,11 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4114__", + "parentId": "__FLD_8__", + "_id": "__REQ_78__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1569,11 +1739,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4115__", + "parentId": "__FLD_8__", + "_id": "__REQ_79__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1600,11 +1770,11 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4116__", + "parentId": "__FLD_8__", + "_id": "__REQ_80__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1631,11 +1801,11 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4117__", + "parentId": "__FLD_8__", + "_id": "__REQ_81__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1647,11 +1817,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4118__", + "parentId": "__FLD_8__", + "_id": "__REQ_82__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1663,11 +1833,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4119__", + "parentId": "__FLD_8__", + "_id": "__REQ_83__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1679,8 +1849,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4120__", + "parentId": "__FLD_8__", + "_id": "__REQ_84__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gist-comments", @@ -1706,8 +1876,8 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4121__", + "parentId": "__FLD_8__", + "_id": "__REQ_85__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#create-a-gist-comment", @@ -1722,8 +1892,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4122__", + "parentId": "__FLD_8__", + "_id": "__REQ_86__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#get-a-gist-comment", @@ -1738,8 +1908,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4123__", + "parentId": "__FLD_8__", + "_id": "__REQ_87__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#update-a-gist-comment", @@ -1754,8 +1924,8 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4124__", + "parentId": "__FLD_8__", + "_id": "__REQ_88__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#delete-a-gist-comment", @@ -1770,11 +1940,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4125__", + "parentId": "__FLD_8__", + "_id": "__REQ_89__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1797,11 +1967,11 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4126__", + "parentId": "__FLD_8__", + "_id": "__REQ_90__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1824,11 +1994,11 @@ ] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4127__", + "parentId": "__FLD_8__", + "_id": "__REQ_91__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1840,11 +2010,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4128__", + "parentId": "__FLD_8__", + "_id": "__REQ_92__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1856,11 +2026,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4129__", + "parentId": "__FLD_8__", + "_id": "__REQ_93__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1872,11 +2042,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4130__", + "parentId": "__FLD_8__", + "_id": "__REQ_94__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1888,11 +2058,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4131__", + "parentId": "__FLD_8__", + "_id": "__REQ_95__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1904,11 +2074,11 @@ "parameters": [] }, { - "parentId": "__FLD_189__", - "_id": "__REQ_4132__", + "parentId": "__FLD_10__", + "_id": "__REQ_96__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1920,11 +2090,11 @@ "parameters": [] }, { - "parentId": "__FLD_189__", - "_id": "__REQ_4133__", + "parentId": "__FLD_10__", + "_id": "__REQ_97__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1936,8 +2106,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4134__", + "parentId": "__FLD_3__", + "_id": "__REQ_98__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -1968,8 +2138,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4135__", + "parentId": "__FLD_3__", + "_id": "__REQ_99__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#revoke-an-installation-access-token", @@ -1984,11 +2154,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4136__", + "parentId": "__FLD_11__", + "_id": "__REQ_100__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2060,11 +2230,11 @@ ] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4137__", + "parentId": "__FLD_12__", + "_id": "__REQ_101__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2082,15 +2252,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4138__", + "parentId": "__FLD_12__", + "_id": "__REQ_102__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2102,11 +2277,11 @@ "parameters": [] }, { - "parentId": "__FLD_192__", - "_id": "__REQ_4139__", + "parentId": "__FLD_13__", + "_id": "__REQ_103__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2118,11 +2293,11 @@ "parameters": [] }, { - "parentId": "__FLD_192__", - "_id": "__REQ_4140__", + "parentId": "__FLD_13__", + "_id": "__REQ_104__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2134,11 +2309,11 @@ "parameters": [] }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4141__", + "parentId": "__FLD_14__", + "_id": "__REQ_105__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2150,8 +2325,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4142__", + "parentId": "__FLD_2__", + "_id": "__REQ_106__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2177,8 +2352,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4143__", + "parentId": "__FLD_2__", + "_id": "__REQ_107__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2222,8 +2397,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4144__", + "parentId": "__FLD_2__", + "_id": "__REQ_108__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-notifications-as-read", @@ -2238,8 +2413,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4145__", + "parentId": "__FLD_2__", + "_id": "__REQ_109__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread", @@ -2254,8 +2429,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4146__", + "parentId": "__FLD_2__", + "_id": "__REQ_110__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-a-thread-as-read", @@ -2270,8 +2445,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4147__", + "parentId": "__FLD_2__", + "_id": "__REQ_111__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2286,8 +2461,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4148__", + "parentId": "__FLD_2__", + "_id": "__REQ_112__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription", @@ -2302,8 +2477,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4149__", + "parentId": "__FLD_2__", + "_id": "__REQ_113__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-thread-subscription", @@ -2318,11 +2493,11 @@ "parameters": [] }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4150__", + "parentId": "__FLD_14__", + "_id": "__REQ_114__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2339,11 +2514,11 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4151__", + "parentId": "__FLD_16__", + "_id": "__REQ_115__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2365,11 +2540,11 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4152__", + "parentId": "__FLD_16__", + "_id": "__REQ_116__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2386,11 +2561,11 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4153__", + "parentId": "__FLD_16__", + "_id": "__REQ_117__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2407,8 +2582,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4154__", + "parentId": "__FLD_2__", + "_id": "__REQ_118__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-organization-events", @@ -2434,8 +2609,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4155__", + "parentId": "__FLD_16__", + "_id": "__REQ_119__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-webhooks", @@ -2461,8 +2636,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4156__", + "parentId": "__FLD_16__", + "_id": "__REQ_120__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#create-an-organization-webhook", @@ -2477,8 +2652,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4157__", + "parentId": "__FLD_16__", + "_id": "__REQ_121__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization-webhook", @@ -2493,8 +2668,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4158__", + "parentId": "__FLD_16__", + "_id": "__REQ_122__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#update-an-organization-webhook", @@ -2509,8 +2684,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4159__", + "parentId": "__FLD_16__", + "_id": "__REQ_123__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#delete-an-organization-webhook", @@ -2525,8 +2700,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4160__", + "parentId": "__FLD_16__", + "_id": "__REQ_124__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#ping-an-organization-webhook", @@ -2541,11 +2716,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4161__", + "parentId": "__FLD_3__", + "_id": "__REQ_125__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -2562,11 +2737,11 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4162__", + "parentId": "__FLD_16__", + "_id": "__REQ_126__", "_type": "request", "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-app-installations-for-an-organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-app-installations-for-an-organization", "headers": [ { "name": "Accept", @@ -2594,11 +2769,11 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4163__", + "parentId": "__FLD_11__", + "_id": "__REQ_127__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2654,8 +2829,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4164__", + "parentId": "__FLD_16__", + "_id": "__REQ_128__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-members", @@ -2691,8 +2866,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4165__", + "parentId": "__FLD_16__", + "_id": "__REQ_129__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-organization-membership-for-a-user", @@ -2707,8 +2882,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4166__", + "parentId": "__FLD_16__", + "_id": "__REQ_130__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-an-organization-member", @@ -2723,11 +2898,11 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4167__", + "parentId": "__FLD_16__", + "_id": "__REQ_131__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2739,8 +2914,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4168__", + "parentId": "__FLD_16__", + "_id": "__REQ_132__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-organization-membership-for-a-user", @@ -2755,8 +2930,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4169__", + "parentId": "__FLD_16__", + "_id": "__REQ_133__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -2771,8 +2946,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4170__", + "parentId": "__FLD_16__", + "_id": "__REQ_134__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -2803,8 +2978,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4171__", + "parentId": "__FLD_16__", + "_id": "__REQ_135__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -2819,8 +2994,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4172__", + "parentId": "__FLD_16__", + "_id": "__REQ_136__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -2835,8 +3010,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4173__", + "parentId": "__FLD_7__", + "_id": "__REQ_137__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -2863,12 +3038,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4174__", + "parentId": "__FLD_7__", + "_id": "__REQ_138__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -2888,8 +3073,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4175__", + "parentId": "__FLD_7__", + "_id": "__REQ_139__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -2909,8 +3094,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4176__", + "parentId": "__FLD_7__", + "_id": "__REQ_140__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -2930,11 +3115,11 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4177__", + "parentId": "__FLD_17__", + "_id": "__REQ_141__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -2967,11 +3152,11 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4178__", + "parentId": "__FLD_17__", + "_id": "__REQ_142__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -2988,8 +3173,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4179__", + "parentId": "__FLD_16__", + "_id": "__REQ_143__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-public-organization-members", @@ -3015,8 +3200,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4180__", + "parentId": "__FLD_16__", + "_id": "__REQ_144__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3031,8 +3216,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4181__", + "parentId": "__FLD_16__", + "_id": "__REQ_145__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3047,8 +3232,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4182__", + "parentId": "__FLD_16__", + "_id": "__REQ_146__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3063,11 +3248,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4183__", + "parentId": "__FLD_21__", + "_id": "__REQ_147__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -3108,11 +3293,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4184__", + "parentId": "__FLD_21__", + "_id": "__REQ_148__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -3129,11 +3314,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4185__", + "parentId": "__FLD_23__", + "_id": "__REQ_149__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3156,11 +3341,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4186__", + "parentId": "__FLD_23__", + "_id": "__REQ_150__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3172,11 +3357,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4187__", + "parentId": "__FLD_23__", + "_id": "__REQ_151__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3188,11 +3373,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4188__", + "parentId": "__FLD_23__", + "_id": "__REQ_152__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3204,11 +3389,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4189__", + "parentId": "__FLD_23__", + "_id": "__REQ_153__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3220,8 +3405,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4190__", + "parentId": "__FLD_23__", + "_id": "__REQ_154__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions", @@ -3253,15 +3438,19 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "pinned", + "disabled": false } ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4191__", + "parentId": "__FLD_23__", + "_id": "__REQ_155__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -3278,8 +3467,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4192__", + "parentId": "__FLD_23__", + "_id": "__REQ_156__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion", @@ -3299,8 +3488,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4193__", + "parentId": "__FLD_23__", + "_id": "__REQ_157__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion", @@ -3320,8 +3509,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4194__", + "parentId": "__FLD_23__", + "_id": "__REQ_158__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion", @@ -3336,8 +3525,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4195__", + "parentId": "__FLD_23__", + "_id": "__REQ_159__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments", @@ -3373,11 +3562,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4196__", + "parentId": "__FLD_23__", + "_id": "__REQ_160__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -3394,8 +3583,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4197__", + "parentId": "__FLD_23__", + "_id": "__REQ_161__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment", @@ -3415,8 +3604,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4198__", + "parentId": "__FLD_23__", + "_id": "__REQ_162__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment", @@ -3436,8 +3625,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4199__", + "parentId": "__FLD_23__", + "_id": "__REQ_163__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment", @@ -3452,11 +3641,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4200__", + "parentId": "__FLD_20__", + "_id": "__REQ_164__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -3488,11 +3677,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4201__", + "parentId": "__FLD_20__", + "_id": "__REQ_165__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -3509,11 +3698,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4202__", + "parentId": "__FLD_20__", + "_id": "__REQ_166__", "_type": "request", "name": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-comment-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-team-discussion-comment-reaction", "headers": [ { "name": "Accept", @@ -3530,11 +3719,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4203__", + "parentId": "__FLD_20__", + "_id": "__REQ_167__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -3566,11 +3755,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4204__", + "parentId": "__FLD_20__", + "_id": "__REQ_168__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -3587,11 +3776,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4205__", + "parentId": "__FLD_20__", + "_id": "__REQ_169__", "_type": "request", "name": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-team-discussion-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-team-discussion-reaction", "headers": [ { "name": "Accept", @@ -3608,8 +3797,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4206__", + "parentId": "__FLD_23__", + "_id": "__REQ_170__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members", @@ -3640,11 +3829,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4207__", + "parentId": "__FLD_23__", + "_id": "__REQ_171__", "_type": "request", "name": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3656,8 +3845,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4208__", + "parentId": "__FLD_23__", + "_id": "__REQ_172__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -3672,8 +3861,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4209__", + "parentId": "__FLD_23__", + "_id": "__REQ_173__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user", @@ -3688,11 +3877,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4210__", + "parentId": "__FLD_23__", + "_id": "__REQ_174__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-projects", "headers": [ { "name": "Accept", @@ -3720,11 +3909,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4211__", + "parentId": "__FLD_23__", + "_id": "__REQ_175__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -3741,11 +3930,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4212__", + "parentId": "__FLD_23__", + "_id": "__REQ_176__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -3762,11 +3951,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4213__", + "parentId": "__FLD_23__", + "_id": "__REQ_177__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3778,11 +3967,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4214__", + "parentId": "__FLD_23__", + "_id": "__REQ_178__", "_type": "request", "name": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3805,11 +3994,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4215__", + "parentId": "__FLD_23__", + "_id": "__REQ_179__", "_type": "request", "name": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3821,11 +4010,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4216__", + "parentId": "__FLD_23__", + "_id": "__REQ_180__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3837,11 +4026,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4217__", + "parentId": "__FLD_23__", + "_id": "__REQ_181__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3853,11 +4042,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4218__", + "parentId": "__FLD_23__", + "_id": "__REQ_182__", "_type": "request", "name": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-child-teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3880,8 +4069,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4219__", + "parentId": "__FLD_17__", + "_id": "__REQ_183__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-card", @@ -3901,8 +4090,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4220__", + "parentId": "__FLD_17__", + "_id": "__REQ_184__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-card", @@ -3922,8 +4111,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4221__", + "parentId": "__FLD_17__", + "_id": "__REQ_185__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-card", @@ -3943,8 +4132,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4222__", + "parentId": "__FLD_17__", + "_id": "__REQ_186__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-card", @@ -3964,8 +4153,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4223__", + "parentId": "__FLD_17__", + "_id": "__REQ_187__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project-column", @@ -3985,8 +4174,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4224__", + "parentId": "__FLD_17__", + "_id": "__REQ_188__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project-column", @@ -4006,8 +4195,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4225__", + "parentId": "__FLD_17__", + "_id": "__REQ_189__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project-column", @@ -4027,8 +4216,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4226__", + "parentId": "__FLD_17__", + "_id": "__REQ_190__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-cards", @@ -4064,11 +4253,11 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4227__", + "parentId": "__FLD_17__", + "_id": "__REQ_191__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -4085,8 +4274,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4228__", + "parentId": "__FLD_17__", + "_id": "__REQ_192__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#move-a-project-column", @@ -4106,11 +4295,11 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4229__", + "parentId": "__FLD_17__", + "_id": "__REQ_193__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -4127,11 +4316,11 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4230__", + "parentId": "__FLD_17__", + "_id": "__REQ_194__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -4148,11 +4337,11 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4231__", + "parentId": "__FLD_17__", + "_id": "__REQ_195__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -4169,8 +4358,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4232__", + "parentId": "__FLD_17__", + "_id": "__REQ_196__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-collaborators", @@ -4206,8 +4395,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4233__", + "parentId": "__FLD_17__", + "_id": "__REQ_197__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#add-project-collaborator", @@ -4227,8 +4416,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4234__", + "parentId": "__FLD_17__", + "_id": "__REQ_198__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#remove-project-collaborator", @@ -4248,8 +4437,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4235__", + "parentId": "__FLD_17__", + "_id": "__REQ_199__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#get-project-permission-for-a-user", @@ -4269,8 +4458,8 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4236__", + "parentId": "__FLD_17__", + "_id": "__REQ_200__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-project-columns", @@ -4301,8 +4490,8 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4237__", + "parentId": "__FLD_17__", + "_id": "__REQ_201__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-project-column", @@ -4322,11 +4511,11 @@ "parameters": [] }, { - "parentId": "__FLD_198__", - "_id": "__REQ_4238__", + "parentId": "__FLD_19__", + "_id": "__REQ_202__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4338,11 +4527,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4239__", + "parentId": "__FLD_20__", + "_id": "__REQ_203__", "_type": "request", "name": "Delete a reaction (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-reaction-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions/#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -4359,11 +4548,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4240__", + "parentId": "__FLD_21__", + "_id": "__REQ_204__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -4380,11 +4569,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4241__", + "parentId": "__FLD_21__", + "_id": "__REQ_205__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -4401,11 +4590,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4242__", + "parentId": "__FLD_21__", + "_id": "__REQ_206__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4417,8 +4606,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4243__", + "parentId": "__FLD_11__", + "_id": "__REQ_207__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-assignees", @@ -4444,8 +4633,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4244__", + "parentId": "__FLD_11__", + "_id": "__REQ_208__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -4460,8 +4649,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4245__", + "parentId": "__FLD_21__", + "_id": "__REQ_209__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches", @@ -4491,8 +4680,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4246__", + "parentId": "__FLD_21__", + "_id": "__REQ_210__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-branch", @@ -4507,8 +4696,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4247__", + "parentId": "__FLD_21__", + "_id": "__REQ_211__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-branch-protection", @@ -4528,8 +4717,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4248__", + "parentId": "__FLD_21__", + "_id": "__REQ_212__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-branch-protection", @@ -4549,8 +4738,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4249__", + "parentId": "__FLD_21__", + "_id": "__REQ_213__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-branch-protection", @@ -4565,8 +4754,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4250__", + "parentId": "__FLD_21__", + "_id": "__REQ_214__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-admin-branch-protection", @@ -4581,8 +4770,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4251__", + "parentId": "__FLD_21__", + "_id": "__REQ_215__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-admin-branch-protection", @@ -4597,8 +4786,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4252__", + "parentId": "__FLD_21__", + "_id": "__REQ_216__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-admin-branch-protection", @@ -4613,8 +4802,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4253__", + "parentId": "__FLD_21__", + "_id": "__REQ_217__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-pull-request-review-protection", @@ -4634,8 +4823,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4254__", + "parentId": "__FLD_21__", + "_id": "__REQ_218__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-pull-request-review-protection", @@ -4655,8 +4844,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4255__", + "parentId": "__FLD_21__", + "_id": "__REQ_219__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-pull-request-review-protection", @@ -4671,8 +4860,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4256__", + "parentId": "__FLD_21__", + "_id": "__REQ_220__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-commit-signature-protection", @@ -4692,8 +4881,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4257__", + "parentId": "__FLD_21__", + "_id": "__REQ_221__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-commit-signature-protection", @@ -4713,8 +4902,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4258__", + "parentId": "__FLD_21__", + "_id": "__REQ_222__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-commit-signature-protection", @@ -4734,8 +4923,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4259__", + "parentId": "__FLD_21__", + "_id": "__REQ_223__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-status-checks-protection", @@ -4750,8 +4939,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4260__", + "parentId": "__FLD_21__", + "_id": "__REQ_224__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-status-check-potection", @@ -4766,8 +4955,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4261__", + "parentId": "__FLD_21__", + "_id": "__REQ_225__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-protection", @@ -4782,8 +4971,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4262__", + "parentId": "__FLD_21__", + "_id": "__REQ_226__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-status-check-contexts", @@ -4798,8 +4987,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4263__", + "parentId": "__FLD_21__", + "_id": "__REQ_227__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-status-check-contexts", @@ -4814,8 +5003,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4264__", + "parentId": "__FLD_21__", + "_id": "__REQ_228__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-status-check-contexts", @@ -4830,8 +5019,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4265__", + "parentId": "__FLD_21__", + "_id": "__REQ_229__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-status-check-contexts", @@ -4846,8 +5035,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4266__", + "parentId": "__FLD_21__", + "_id": "__REQ_230__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-access-restrictions", @@ -4862,8 +5051,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4267__", + "parentId": "__FLD_21__", + "_id": "__REQ_231__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-access-restrictions", @@ -4878,8 +5067,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4268__", + "parentId": "__FLD_21__", + "_id": "__REQ_232__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -4894,8 +5083,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4269__", + "parentId": "__FLD_21__", + "_id": "__REQ_233__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-app-access-restrictions", @@ -4910,8 +5099,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4270__", + "parentId": "__FLD_21__", + "_id": "__REQ_234__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-app-access-restrictions", @@ -4926,8 +5115,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4271__", + "parentId": "__FLD_21__", + "_id": "__REQ_235__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-app-access-restrictions", @@ -4942,8 +5131,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4272__", + "parentId": "__FLD_21__", + "_id": "__REQ_236__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -4958,8 +5147,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4273__", + "parentId": "__FLD_21__", + "_id": "__REQ_237__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-team-access-restrictions", @@ -4974,8 +5163,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4274__", + "parentId": "__FLD_21__", + "_id": "__REQ_238__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-team-access-restrictions", @@ -4990,8 +5179,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4275__", + "parentId": "__FLD_21__", + "_id": "__REQ_239__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-team-access-restrictions", @@ -5006,8 +5195,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4276__", + "parentId": "__FLD_21__", + "_id": "__REQ_240__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -5022,8 +5211,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4277__", + "parentId": "__FLD_21__", + "_id": "__REQ_241__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-user-access-restrictions", @@ -5038,8 +5227,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4278__", + "parentId": "__FLD_21__", + "_id": "__REQ_242__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#set-user-access-restrictions", @@ -5054,8 +5243,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4279__", + "parentId": "__FLD_21__", + "_id": "__REQ_243__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-user-access-restrictions", @@ -5070,8 +5259,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4280__", + "parentId": "__FLD_4__", + "_id": "__REQ_244__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-run", @@ -5091,8 +5280,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4281__", + "parentId": "__FLD_4__", + "_id": "__REQ_245__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-run", @@ -5112,8 +5301,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4282__", + "parentId": "__FLD_4__", + "_id": "__REQ_246__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-a-check-run", @@ -5133,8 +5322,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4283__", + "parentId": "__FLD_4__", + "_id": "__REQ_247__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-run-annotations", @@ -5165,8 +5354,8 @@ ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4284__", + "parentId": "__FLD_4__", + "_id": "__REQ_248__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite", @@ -5186,8 +5375,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4285__", + "parentId": "__FLD_4__", + "_id": "__REQ_249__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.21/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -5207,8 +5396,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4286__", + "parentId": "__FLD_4__", + "_id": "__REQ_250__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#get-a-check-suite", @@ -5228,8 +5417,8 @@ "parameters": [] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4287__", + "parentId": "__FLD_4__", + "_id": "__REQ_251__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -5273,8 +5462,8 @@ ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4288__", + "parentId": "__FLD_4__", + "_id": "__REQ_252__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#rerequest-a-check-suite", @@ -5294,8 +5483,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4289__", + "parentId": "__FLD_21__", + "_id": "__REQ_253__", "_type": "request", "name": "List repository collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-collaborators", @@ -5326,8 +5515,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4290__", + "parentId": "__FLD_21__", + "_id": "__REQ_254__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -5342,11 +5531,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4291__", + "parentId": "__FLD_21__", + "_id": "__REQ_255__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5358,8 +5547,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4292__", + "parentId": "__FLD_21__", + "_id": "__REQ_256__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#remove-a-repository-collaborator", @@ -5374,8 +5563,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4293__", + "parentId": "__FLD_21__", + "_id": "__REQ_257__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-permissions-for-a-user", @@ -5390,8 +5579,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4294__", + "parentId": "__FLD_21__", + "_id": "__REQ_258__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments-for-a-repository", @@ -5422,8 +5611,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4295__", + "parentId": "__FLD_21__", + "_id": "__REQ_259__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit-comment", @@ -5443,8 +5632,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4296__", + "parentId": "__FLD_21__", + "_id": "__REQ_260__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-commit-comment", @@ -5459,8 +5648,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4297__", + "parentId": "__FLD_21__", + "_id": "__REQ_261__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-commit-comment", @@ -5475,11 +5664,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4298__", + "parentId": "__FLD_20__", + "_id": "__REQ_262__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -5511,11 +5700,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4299__", + "parentId": "__FLD_20__", + "_id": "__REQ_263__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -5532,11 +5721,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4300__", + "parentId": "__FLD_20__", + "_id": "__REQ_264__", "_type": "request", "name": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-commit-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-a-commit-comment-reaction", "headers": [ { "name": "Accept", @@ -5553,8 +5742,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4301__", + "parentId": "__FLD_21__", + "_id": "__REQ_265__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits", @@ -5600,8 +5789,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4302__", + "parentId": "__FLD_21__", + "_id": "__REQ_266__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-branches-for-head-commit", @@ -5621,8 +5810,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4303__", + "parentId": "__FLD_21__", + "_id": "__REQ_267__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-comments", @@ -5653,11 +5842,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4304__", + "parentId": "__FLD_21__", + "_id": "__REQ_268__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5669,11 +5858,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4305__", + "parentId": "__FLD_21__", + "_id": "__REQ_269__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -5701,8 +5890,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4306__", + "parentId": "__FLD_21__", + "_id": "__REQ_270__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-commit", @@ -5714,11 +5903,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4307__", + "parentId": "__FLD_4__", + "_id": "__REQ_271__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5758,12 +5958,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_183__", - "_id": "__REQ_4308__", + "parentId": "__FLD_4__", + "_id": "__REQ_272__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5802,8 +6006,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4309__", + "parentId": "__FLD_21__", + "_id": "__REQ_273__", "_type": "request", "name": "Get the combined status for a specific reference", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-combined-status-for-a-specific-reference", @@ -5815,11 +6019,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4310__", + "parentId": "__FLD_21__", + "_id": "__REQ_274__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -5845,45 +6060,45 @@ ] }, { - "parentId": "__FLD_184__", - "_id": "__REQ_4311__", + "parentId": "__FLD_21__", + "_id": "__REQ_275__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4312__", + "parentId": "__FLD_3__", + "_id": "__REQ_276__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.21/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4313__", + "parentId": "__FLD_21__", + "_id": "__REQ_277__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.21/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content", @@ -5903,8 +6118,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4314__", + "parentId": "__FLD_21__", + "_id": "__REQ_278__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-or-update-file-contents", @@ -5919,8 +6134,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4315__", + "parentId": "__FLD_21__", + "_id": "__REQ_279__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-file", @@ -5935,11 +6150,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4316__", + "parentId": "__FLD_21__", + "_id": "__REQ_280__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5966,8 +6181,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4317__", + "parentId": "__FLD_21__", + "_id": "__REQ_281__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployments", @@ -6018,8 +6233,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4318__", + "parentId": "__FLD_21__", + "_id": "__REQ_282__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment", @@ -6039,8 +6254,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4319__", + "parentId": "__FLD_21__", + "_id": "__REQ_283__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment", @@ -6060,8 +6275,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4320__", + "parentId": "__FLD_21__", + "_id": "__REQ_284__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.21/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deployment", @@ -6076,8 +6291,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4321__", + "parentId": "__FLD_21__", + "_id": "__REQ_285__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deployment-statuses", @@ -6108,8 +6323,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4322__", + "parentId": "__FLD_21__", + "_id": "__REQ_286__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deployment-status", @@ -6129,8 +6344,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4323__", + "parentId": "__FLD_21__", + "_id": "__REQ_287__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deployment-status", @@ -6150,11 +6365,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4324__", + "parentId": "__FLD_21__", + "_id": "__REQ_288__", "_type": "request", "name": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-dispatch-event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6166,8 +6381,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4325__", + "parentId": "__FLD_2__", + "_id": "__REQ_289__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-events", @@ -6193,8 +6408,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4326__", + "parentId": "__FLD_21__", + "_id": "__REQ_290__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-forks", @@ -6225,11 +6440,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4327__", + "parentId": "__FLD_21__", + "_id": "__REQ_291__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6241,8 +6456,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4328__", + "parentId": "__FLD_9__", + "_id": "__REQ_292__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-blob", @@ -6257,8 +6472,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4329__", + "parentId": "__FLD_9__", + "_id": "__REQ_293__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-blob", @@ -6273,8 +6488,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4330__", + "parentId": "__FLD_9__", + "_id": "__REQ_294__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit", @@ -6289,8 +6504,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4331__", + "parentId": "__FLD_9__", + "_id": "__REQ_295__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-commit", @@ -6305,8 +6520,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4332__", + "parentId": "__FLD_9__", + "_id": "__REQ_296__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#list-matching-references", @@ -6332,8 +6547,8 @@ ] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4333__", + "parentId": "__FLD_9__", + "_id": "__REQ_297__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-reference", @@ -6348,8 +6563,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4334__", + "parentId": "__FLD_9__", + "_id": "__REQ_298__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference", @@ -6364,8 +6579,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4335__", + "parentId": "__FLD_9__", + "_id": "__REQ_299__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference", @@ -6380,8 +6595,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4336__", + "parentId": "__FLD_9__", + "_id": "__REQ_300__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#delete-a-reference", @@ -6396,8 +6611,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4337__", + "parentId": "__FLD_9__", + "_id": "__REQ_301__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tag-object", @@ -6412,8 +6627,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4338__", + "parentId": "__FLD_9__", + "_id": "__REQ_302__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tag", @@ -6428,8 +6643,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4339__", + "parentId": "__FLD_9__", + "_id": "__REQ_303__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.21/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#create-a-tree", @@ -6444,8 +6659,8 @@ "parameters": [] }, { - "parentId": "__FLD_188__", - "_id": "__REQ_4340__", + "parentId": "__FLD_9__", + "_id": "__REQ_304__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/git#get-a-tree", @@ -6465,8 +6680,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4341__", + "parentId": "__FLD_21__", + "_id": "__REQ_305__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-webhooks", @@ -6492,8 +6707,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4342__", + "parentId": "__FLD_21__", + "_id": "__REQ_306__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-webhook", @@ -6508,8 +6723,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4343__", + "parentId": "__FLD_21__", + "_id": "__REQ_307__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-webhook", @@ -6524,8 +6739,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4344__", + "parentId": "__FLD_21__", + "_id": "__REQ_308__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-webhook", @@ -6540,8 +6755,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4345__", + "parentId": "__FLD_21__", + "_id": "__REQ_309__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-webhook", @@ -6556,8 +6771,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4346__", + "parentId": "__FLD_21__", + "_id": "__REQ_310__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.21/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#ping-a-repository-webhook", @@ -6572,8 +6787,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4347__", + "parentId": "__FLD_21__", + "_id": "__REQ_311__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#test-the-push-repository-webhook", @@ -6588,11 +6803,11 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4348__", + "parentId": "__FLD_3__", + "_id": "__REQ_312__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -6609,8 +6824,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4349__", + "parentId": "__FLD_21__", + "_id": "__REQ_313__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-invitations", @@ -6636,8 +6851,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4350__", + "parentId": "__FLD_21__", + "_id": "__REQ_314__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-repository-invitation", @@ -6652,8 +6867,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4351__", + "parentId": "__FLD_21__", + "_id": "__REQ_315__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-repository-invitation", @@ -6668,11 +6883,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4352__", + "parentId": "__FLD_11__", + "_id": "__REQ_316__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", @@ -6739,11 +6954,11 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4353__", + "parentId": "__FLD_11__", + "_id": "__REQ_317__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6755,8 +6970,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4354__", + "parentId": "__FLD_11__", + "_id": "__REQ_318__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments-for-a-repository", @@ -6800,8 +7015,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4355__", + "parentId": "__FLD_11__", + "_id": "__REQ_319__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-comment", @@ -6821,8 +7036,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4356__", + "parentId": "__FLD_11__", + "_id": "__REQ_320__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-an-issue-comment", @@ -6837,8 +7052,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4357__", + "parentId": "__FLD_11__", + "_id": "__REQ_321__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-an-issue-comment", @@ -6853,11 +7068,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4358__", + "parentId": "__FLD_20__", + "_id": "__REQ_322__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6889,11 +7104,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4359__", + "parentId": "__FLD_20__", + "_id": "__REQ_323__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6910,11 +7125,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4360__", + "parentId": "__FLD_20__", + "_id": "__REQ_324__", "_type": "request", "name": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-an-issue-comment-reaction", "headers": [ { "name": "Accept", @@ -6931,8 +7146,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4361__", + "parentId": "__FLD_11__", + "_id": "__REQ_325__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events-for-a-repository", @@ -6963,8 +7178,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4362__", + "parentId": "__FLD_11__", + "_id": "__REQ_326__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue-event", @@ -6984,11 +7199,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4363__", + "parentId": "__FLD_11__", + "_id": "__REQ_327__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.21/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -7005,11 +7220,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4364__", + "parentId": "__FLD_11__", + "_id": "__REQ_328__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7021,8 +7236,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4365__", + "parentId": "__FLD_11__", + "_id": "__REQ_329__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-assignees-to-an-issue", @@ -7037,8 +7252,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4366__", + "parentId": "__FLD_11__", + "_id": "__REQ_330__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-assignees-from-an-issue", @@ -7053,8 +7268,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4367__", + "parentId": "__FLD_11__", + "_id": "__REQ_331__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-comments", @@ -7089,11 +7304,11 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4368__", + "parentId": "__FLD_11__", + "_id": "__REQ_332__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7105,8 +7320,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4369__", + "parentId": "__FLD_11__", + "_id": "__REQ_333__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-issue-events", @@ -7137,8 +7352,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4370__", + "parentId": "__FLD_11__", + "_id": "__REQ_334__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-an-issue", @@ -7164,8 +7379,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4371__", + "parentId": "__FLD_11__", + "_id": "__REQ_335__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#add-labels-to-an-issue", @@ -7180,8 +7395,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4372__", + "parentId": "__FLD_11__", + "_id": "__REQ_336__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#set-labels-for-an-issue", @@ -7196,8 +7411,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4373__", + "parentId": "__FLD_11__", + "_id": "__REQ_337__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-all-labels-from-an-issue", @@ -7212,8 +7427,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4374__", + "parentId": "__FLD_11__", + "_id": "__REQ_338__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#remove-a-label-from-an-issue", @@ -7228,11 +7443,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4375__", + "parentId": "__FLD_11__", + "_id": "__REQ_339__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#lock-an-issue", "headers": [ { "name": "Accept", @@ -7249,11 +7464,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4376__", + "parentId": "__FLD_11__", + "_id": "__REQ_340__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7265,11 +7480,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4377__", + "parentId": "__FLD_20__", + "_id": "__REQ_341__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -7301,11 +7516,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4378__", + "parentId": "__FLD_20__", + "_id": "__REQ_342__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -7322,11 +7537,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4379__", + "parentId": "__FLD_20__", + "_id": "__REQ_343__", "_type": "request", "name": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-an-issue-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.21/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-an-issue-reaction", "headers": [ { "name": "Accept", @@ -7343,15 +7558,15 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4380__", + "parentId": "__FLD_11__", + "_id": "__REQ_344__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-timeline-events-for-an-issue", "headers": [ { "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + "value": "application/vnd.github.mockingbird-preview+json" } ], "authentication": { @@ -7375,8 +7590,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4381__", + "parentId": "__FLD_21__", + "_id": "__REQ_345__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-deploy-keys", @@ -7402,8 +7617,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4382__", + "parentId": "__FLD_21__", + "_id": "__REQ_346__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-deploy-key", @@ -7418,8 +7633,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4383__", + "parentId": "__FLD_21__", + "_id": "__REQ_347__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-deploy-key", @@ -7434,8 +7649,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4384__", + "parentId": "__FLD_21__", + "_id": "__REQ_348__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-deploy-key", @@ -7450,8 +7665,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4385__", + "parentId": "__FLD_11__", + "_id": "__REQ_349__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-a-repository", @@ -7477,8 +7692,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4386__", + "parentId": "__FLD_11__", + "_id": "__REQ_350__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-label", @@ -7493,8 +7708,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4387__", + "parentId": "__FLD_11__", + "_id": "__REQ_351__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-label", @@ -7509,8 +7724,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4388__", + "parentId": "__FLD_11__", + "_id": "__REQ_352__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-label", @@ -7525,8 +7740,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4389__", + "parentId": "__FLD_11__", + "_id": "__REQ_353__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-label", @@ -7541,11 +7756,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4390__", + "parentId": "__FLD_21__", + "_id": "__REQ_354__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7557,11 +7772,11 @@ "parameters": [] }, { - "parentId": "__FLD_191__", - "_id": "__REQ_4391__", + "parentId": "__FLD_12__", + "_id": "__REQ_355__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7573,8 +7788,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4392__", + "parentId": "__FLD_21__", + "_id": "__REQ_356__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#merge-a-branch", @@ -7589,8 +7804,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4393__", + "parentId": "__FLD_11__", + "_id": "__REQ_357__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-milestones", @@ -7631,8 +7846,8 @@ ] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4394__", + "parentId": "__FLD_11__", + "_id": "__REQ_358__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-a-milestone", @@ -7647,8 +7862,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4395__", + "parentId": "__FLD_11__", + "_id": "__REQ_359__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#get-a-milestone", @@ -7663,8 +7878,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4396__", + "parentId": "__FLD_11__", + "_id": "__REQ_360__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#update-a-milestone", @@ -7679,8 +7894,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4397__", + "parentId": "__FLD_11__", + "_id": "__REQ_361__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#delete-a-milestone", @@ -7695,8 +7910,8 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4398__", + "parentId": "__FLD_11__", + "_id": "__REQ_362__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -7722,8 +7937,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4399__", + "parentId": "__FLD_2__", + "_id": "__REQ_363__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -7767,8 +7982,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4400__", + "parentId": "__FLD_2__", + "_id": "__REQ_364__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#mark-repository-notifications-as-read", @@ -7783,8 +7998,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4401__", + "parentId": "__FLD_21__", + "_id": "__REQ_365__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-github-pages-site", @@ -7799,8 +8014,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4402__", + "parentId": "__FLD_21__", + "_id": "__REQ_366__", "_type": "request", "name": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-github-pages-site", @@ -7820,8 +8035,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4403__", + "parentId": "__FLD_21__", + "_id": "__REQ_367__", "_type": "request", "name": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-information-about-a-github-pages-site", @@ -7836,8 +8051,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4404__", + "parentId": "__FLD_21__", + "_id": "__REQ_368__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-github-pages-site", @@ -7857,8 +8072,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4405__", + "parentId": "__FLD_21__", + "_id": "__REQ_369__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-github-pages-builds", @@ -7884,8 +8099,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4406__", + "parentId": "__FLD_21__", + "_id": "__REQ_370__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#request-a-github-pages-build", @@ -7900,8 +8115,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4407__", + "parentId": "__FLD_21__", + "_id": "__REQ_371__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-latest-pages-build", @@ -7916,8 +8131,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4408__", + "parentId": "__FLD_21__", + "_id": "__REQ_372__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-github-pages-build", @@ -7932,8 +8147,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4409__", + "parentId": "__FLD_7__", + "_id": "__REQ_373__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -7960,12 +8175,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4410__", + "parentId": "__FLD_7__", + "_id": "__REQ_374__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -7985,8 +8210,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4411__", + "parentId": "__FLD_7__", + "_id": "__REQ_375__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -8006,8 +8231,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4412__", + "parentId": "__FLD_7__", + "_id": "__REQ_376__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -8027,11 +8252,11 @@ "parameters": [] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4413__", + "parentId": "__FLD_17__", + "_id": "__REQ_377__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -8064,11 +8289,11 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4414__", + "parentId": "__FLD_17__", + "_id": "__REQ_378__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -8085,11 +8310,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4415__", + "parentId": "__FLD_18__", + "_id": "__REQ_379__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests", "headers": [ { "name": "Accept", @@ -8139,11 +8364,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4416__", + "parentId": "__FLD_18__", + "_id": "__REQ_380__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-pull-request", "headers": [ { "name": "Accept", @@ -8160,8 +8385,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4417__", + "parentId": "__FLD_18__", + "_id": "__REQ_381__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-in-a-repository", @@ -8181,7 +8406,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -8205,8 +8429,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4418__", + "parentId": "__FLD_18__", + "_id": "__REQ_382__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-comment-for-a-pull-request", @@ -8226,8 +8450,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4419__", + "parentId": "__FLD_18__", + "_id": "__REQ_383__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -8247,8 +8471,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4420__", + "parentId": "__FLD_18__", + "_id": "__REQ_384__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -8263,11 +8487,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4421__", + "parentId": "__FLD_20__", + "_id": "__REQ_385__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -8299,11 +8523,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4422__", + "parentId": "__FLD_20__", + "_id": "__REQ_386__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -8320,11 +8544,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4423__", + "parentId": "__FLD_20__", + "_id": "__REQ_387__", "_type": "request", "name": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#delete-a-pull-request-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions#delete-a-pull-request-comment-reaction", "headers": [ { "name": "Accept", @@ -8341,11 +8565,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4424__", + "parentId": "__FLD_18__", + "_id": "__REQ_388__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.21/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8357,11 +8581,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4425__", + "parentId": "__FLD_18__", + "_id": "__REQ_389__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls/#update-a-pull-request", "headers": [ { "name": "Accept", @@ -8378,8 +8602,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4426__", + "parentId": "__FLD_18__", + "_id": "__REQ_390__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-review-comments-on-a-pull-request", @@ -8423,11 +8647,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4427__", + "parentId": "__FLD_18__", + "_id": "__REQ_391__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.21/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", @@ -8444,11 +8668,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4428__", + "parentId": "__FLD_18__", + "_id": "__REQ_392__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8460,11 +8684,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4429__", + "parentId": "__FLD_18__", + "_id": "__REQ_393__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8487,11 +8711,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4430__", + "parentId": "__FLD_18__", + "_id": "__REQ_394__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8514,11 +8738,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4431__", + "parentId": "__FLD_18__", + "_id": "__REQ_395__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8530,11 +8754,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4432__", + "parentId": "__FLD_18__", + "_id": "__REQ_396__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#merge-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8546,8 +8770,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4433__", + "parentId": "__FLD_18__", + "_id": "__REQ_397__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -8573,11 +8797,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4434__", + "parentId": "__FLD_18__", + "_id": "__REQ_398__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.21/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8589,8 +8813,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4435__", + "parentId": "__FLD_18__", + "_id": "__REQ_399__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -8605,8 +8829,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4436__", + "parentId": "__FLD_18__", + "_id": "__REQ_400__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -8632,11 +8856,11 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4437__", + "parentId": "__FLD_18__", + "_id": "__REQ_401__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8648,8 +8872,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4438__", + "parentId": "__FLD_18__", + "_id": "__REQ_402__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -8664,8 +8888,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4439__", + "parentId": "__FLD_18__", + "_id": "__REQ_403__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -8680,8 +8904,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4440__", + "parentId": "__FLD_18__", + "_id": "__REQ_404__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -8696,8 +8920,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4441__", + "parentId": "__FLD_18__", + "_id": "__REQ_405__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -8723,8 +8947,8 @@ ] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4442__", + "parentId": "__FLD_18__", + "_id": "__REQ_406__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -8739,8 +8963,8 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4443__", + "parentId": "__FLD_18__", + "_id": "__REQ_407__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -8755,11 +8979,11 @@ "parameters": [] }, { - "parentId": "__FLD_197__", - "_id": "__REQ_4444__", + "parentId": "__FLD_18__", + "_id": "__REQ_408__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -8776,8 +9000,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4445__", + "parentId": "__FLD_21__", + "_id": "__REQ_409__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-readme", @@ -8797,8 +9021,29 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4446__", + "parentId": "__FLD_21__", + "_id": "__REQ_410__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_21__", + "_id": "__REQ_411__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-releases", @@ -8824,11 +9069,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4447__", + "parentId": "__FLD_21__", + "_id": "__REQ_412__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8840,8 +9085,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4448__", + "parentId": "__FLD_21__", + "_id": "__REQ_413__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-asset", @@ -8856,8 +9101,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4449__", + "parentId": "__FLD_21__", + "_id": "__REQ_414__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release-asset", @@ -8872,8 +9117,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4450__", + "parentId": "__FLD_21__", + "_id": "__REQ_415__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release-asset", @@ -8888,8 +9133,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4451__", + "parentId": "__FLD_21__", + "_id": "__REQ_416__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-latest-release", @@ -8904,8 +9149,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4452__", + "parentId": "__FLD_21__", + "_id": "__REQ_417__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release-by-tag-name", @@ -8920,8 +9165,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4453__", + "parentId": "__FLD_21__", + "_id": "__REQ_418__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-release", @@ -8936,8 +9181,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4454__", + "parentId": "__FLD_21__", + "_id": "__REQ_419__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#update-a-release", @@ -8952,8 +9197,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4455__", + "parentId": "__FLD_21__", + "_id": "__REQ_420__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#delete-a-release", @@ -8968,8 +9213,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4456__", + "parentId": "__FLD_21__", + "_id": "__REQ_421__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-release-assets", @@ -8995,11 +9240,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4457__", + "parentId": "__FLD_21__", + "_id": "__REQ_422__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9020,8 +9265,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4458__", + "parentId": "__FLD_2__", + "_id": "__REQ_423__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-stargazers", @@ -9047,8 +9292,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4459__", + "parentId": "__FLD_21__", + "_id": "__REQ_424__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-activity", @@ -9063,8 +9308,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4460__", + "parentId": "__FLD_21__", + "_id": "__REQ_425__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -9079,8 +9324,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4461__", + "parentId": "__FLD_21__", + "_id": "__REQ_426__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-contributor-commit-activity", @@ -9095,8 +9340,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4462__", + "parentId": "__FLD_21__", + "_id": "__REQ_427__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-weekly-commit-count", @@ -9111,8 +9356,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4463__", + "parentId": "__FLD_21__", + "_id": "__REQ_428__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -9127,8 +9372,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4464__", + "parentId": "__FLD_21__", + "_id": "__REQ_429__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-commit-status", @@ -9143,8 +9388,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4465__", + "parentId": "__FLD_2__", + "_id": "__REQ_430__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-watchers", @@ -9170,8 +9415,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4466__", + "parentId": "__FLD_2__", + "_id": "__REQ_431__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#get-a-repository-subscription", @@ -9186,8 +9431,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4467__", + "parentId": "__FLD_2__", + "_id": "__REQ_432__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription", @@ -9202,8 +9447,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4468__", + "parentId": "__FLD_2__", + "_id": "__REQ_433__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.21/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#delete-a-repository-subscription", @@ -9218,11 +9463,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4469__", + "parentId": "__FLD_21__", + "_id": "__REQ_434__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9245,8 +9490,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4470__", + "parentId": "__FLD_21__", + "_id": "__REQ_435__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#download-a-repository-archive", @@ -9261,11 +9506,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4471__", + "parentId": "__FLD_21__", + "_id": "__REQ_436__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9288,11 +9533,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4472__", + "parentId": "__FLD_21__", + "_id": "__REQ_437__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -9306,14 +9551,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4473__", + "parentId": "__FLD_21__", + "_id": "__REQ_438__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#replace-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -9330,11 +9586,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4474__", + "parentId": "__FLD_21__", + "_id": "__REQ_439__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9346,50 +9602,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4475__", - "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_200__", - "_id": "__REQ_4476__", - "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_200__", - "_id": "__REQ_4477__", + "parentId": "__FLD_21__", + "_id": "__REQ_440__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#download-a-repository-archive", @@ -9404,11 +9618,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4478__", + "parentId": "__FLD_21__", + "_id": "__REQ_441__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -9425,11 +9639,11 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4479__", + "parentId": "__FLD_21__", + "_id": "__REQ_442__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9451,11 +9665,11 @@ ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4480__", + "parentId": "__FLD_22__", + "_id": "__REQ_443__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9491,11 +9705,11 @@ ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4481__", + "parentId": "__FLD_22__", + "_id": "__REQ_444__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -9536,11 +9750,11 @@ ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4482__", + "parentId": "__FLD_22__", + "_id": "__REQ_445__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9576,11 +9790,11 @@ ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4483__", + "parentId": "__FLD_22__", + "_id": "__REQ_446__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9606,15 +9820,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4484__", + "parentId": "__FLD_22__", + "_id": "__REQ_447__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -9655,11 +9879,11 @@ ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4485__", + "parentId": "__FLD_22__", + "_id": "__REQ_448__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -9677,15 +9901,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_201__", - "_id": "__REQ_4486__", + "parentId": "__FLD_22__", + "_id": "__REQ_449__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.21/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9721,8 +9955,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4487__", + "parentId": "__FLD_7__", + "_id": "__REQ_450__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-configuration-status", @@ -9737,8 +9971,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4488__", + "parentId": "__FLD_7__", + "_id": "__REQ_451__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-configuration-process", @@ -9753,8 +9987,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4489__", + "parentId": "__FLD_7__", + "_id": "__REQ_452__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -9769,11 +10003,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4490__", + "parentId": "__FLD_7__", + "_id": "__REQ_453__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9785,8 +10019,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4491__", + "parentId": "__FLD_7__", + "_id": "__REQ_454__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings", @@ -9801,11 +10035,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4492__", + "parentId": "__FLD_7__", + "_id": "__REQ_455__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9817,8 +10051,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4493__", + "parentId": "__FLD_7__", + "_id": "__REQ_456__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -9833,11 +10067,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4494__", + "parentId": "__FLD_7__", + "_id": "__REQ_457__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9849,11 +10083,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4495__", + "parentId": "__FLD_7__", + "_id": "__REQ_458__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9865,11 +10099,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4496__", + "parentId": "__FLD_7__", + "_id": "__REQ_459__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9881,11 +10115,11 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4497__", + "parentId": "__FLD_7__", + "_id": "__REQ_460__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9897,11 +10131,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4498__", + "parentId": "__FLD_23__", + "_id": "__REQ_461__", "_type": "request", "name": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#get-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#get-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9913,11 +10147,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4499__", + "parentId": "__FLD_23__", + "_id": "__REQ_462__", "_type": "request", "name": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#update-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#update-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9929,11 +10163,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4500__", + "parentId": "__FLD_23__", + "_id": "__REQ_463__", "_type": "request", "name": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#delete-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#delete-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9945,8 +10179,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4501__", + "parentId": "__FLD_23__", + "_id": "__REQ_464__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussions-legacy", @@ -9982,11 +10216,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4502__", + "parentId": "__FLD_23__", + "_id": "__REQ_465__", "_type": "request", "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-legacy", "headers": [ { "name": "Accept", @@ -10003,8 +10237,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4503__", + "parentId": "__FLD_23__", + "_id": "__REQ_466__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-legacy", @@ -10024,8 +10258,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4504__", + "parentId": "__FLD_23__", + "_id": "__REQ_467__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-legacy", @@ -10045,8 +10279,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4505__", + "parentId": "__FLD_23__", + "_id": "__REQ_468__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-legacy", @@ -10061,8 +10295,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4506__", + "parentId": "__FLD_23__", + "_id": "__REQ_469__", "_type": "request", "name": "List discussion comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-discussion-comments-legacy", @@ -10098,11 +10332,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4507__", + "parentId": "__FLD_23__", + "_id": "__REQ_470__", "_type": "request", "name": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.21/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -10119,8 +10353,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4508__", + "parentId": "__FLD_23__", + "_id": "__REQ_471__", "_type": "request", "name": "Get a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-a-discussion-comment-legacy", @@ -10140,8 +10374,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4509__", + "parentId": "__FLD_23__", + "_id": "__REQ_472__", "_type": "request", "name": "Update a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#update-a-discussion-comment-legacy", @@ -10161,8 +10395,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4510__", + "parentId": "__FLD_23__", + "_id": "__REQ_473__", "_type": "request", "name": "Delete a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#delete-a-discussion-comment-legacy", @@ -10177,11 +10411,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4511__", + "parentId": "__FLD_20__", + "_id": "__REQ_474__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -10213,11 +10447,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4512__", + "parentId": "__FLD_20__", + "_id": "__REQ_475__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -10234,11 +10468,11 @@ "parameters": [] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4513__", + "parentId": "__FLD_20__", + "_id": "__REQ_476__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -10270,11 +10504,11 @@ ] }, { - "parentId": "__FLD_199__", - "_id": "__REQ_4514__", + "parentId": "__FLD_20__", + "_id": "__REQ_477__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.21/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -10291,8 +10525,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4515__", + "parentId": "__FLD_23__", + "_id": "__REQ_478__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-members-legacy", @@ -10323,8 +10557,8 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4516__", + "parentId": "__FLD_23__", + "_id": "__REQ_479__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-member-legacy", @@ -10339,8 +10573,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4517__", + "parentId": "__FLD_23__", + "_id": "__REQ_480__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-team-member-legacy", @@ -10355,8 +10589,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4518__", + "parentId": "__FLD_23__", + "_id": "__REQ_481__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-member-legacy", @@ -10371,11 +10605,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4519__", + "parentId": "__FLD_23__", + "_id": "__REQ_482__", "_type": "request", "name": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#get-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10387,8 +10621,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4520__", + "parentId": "__FLD_23__", + "_id": "__REQ_483__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", @@ -10403,8 +10637,8 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4521__", + "parentId": "__FLD_23__", + "_id": "__REQ_484__", "_type": "request", "name": "Remove team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-team-membership-for-a-user-legacy", @@ -10419,11 +10653,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4522__", + "parentId": "__FLD_23__", + "_id": "__REQ_485__", "_type": "request", "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-projects-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#list-team-projects-legacy", "headers": [ { "name": "Accept", @@ -10451,11 +10685,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4523__", + "parentId": "__FLD_23__", + "_id": "__REQ_486__", "_type": "request", "name": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-project-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#check-team-permissions-for-a-project-legacy", "headers": [ { "name": "Accept", @@ -10472,11 +10706,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4524__", + "parentId": "__FLD_23__", + "_id": "__REQ_487__", "_type": "request", "name": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-project-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#add-or-update-team-project-permissions-legacy", "headers": [ { "name": "Accept", @@ -10493,11 +10727,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4525__", + "parentId": "__FLD_23__", + "_id": "__REQ_488__", "_type": "request", "name": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-project-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10509,11 +10743,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4526__", + "parentId": "__FLD_23__", + "_id": "__REQ_489__", "_type": "request", "name": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-team-repositories-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#list-team-repositories-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10536,11 +10770,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4527__", + "parentId": "__FLD_23__", + "_id": "__REQ_490__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#check-team-permissions-for-a-repository-legacy", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10552,11 +10786,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4528__", + "parentId": "__FLD_23__", + "_id": "__REQ_491__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#add-or-update-team-repository-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10568,11 +10802,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4529__", + "parentId": "__FLD_23__", + "_id": "__REQ_492__", "_type": "request", "name": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#remove-a-repository-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10584,11 +10818,11 @@ "parameters": [] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4530__", + "parentId": "__FLD_23__", + "_id": "__REQ_493__", "_type": "request", "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-child-teams-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams/#list-child-teams-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10611,11 +10845,11 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4531__", + "parentId": "__FLD_24__", + "_id": "__REQ_494__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10627,11 +10861,11 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4532__", + "parentId": "__FLD_24__", + "_id": "__REQ_495__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10643,8 +10877,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4533__", + "parentId": "__FLD_24__", + "_id": "__REQ_496__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -10670,8 +10904,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4534__", + "parentId": "__FLD_24__", + "_id": "__REQ_497__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -10686,8 +10920,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4535__", + "parentId": "__FLD_24__", + "_id": "__REQ_498__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -10702,8 +10936,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4536__", + "parentId": "__FLD_24__", + "_id": "__REQ_499__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-followers-of-the-authenticated-user", @@ -10729,8 +10963,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4537__", + "parentId": "__FLD_24__", + "_id": "__REQ_500__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -10756,8 +10990,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4538__", + "parentId": "__FLD_24__", + "_id": "__REQ_501__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -10772,8 +11006,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4539__", + "parentId": "__FLD_24__", + "_id": "__REQ_502__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#follow-a-user", @@ -10788,8 +11022,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4540__", + "parentId": "__FLD_24__", + "_id": "__REQ_503__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#unfollow-a-user", @@ -10804,8 +11038,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4541__", + "parentId": "__FLD_24__", + "_id": "__REQ_504__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -10831,8 +11065,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4542__", + "parentId": "__FLD_24__", + "_id": "__REQ_505__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10847,8 +11081,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4543__", + "parentId": "__FLD_24__", + "_id": "__REQ_506__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10863,8 +11097,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4544__", + "parentId": "__FLD_24__", + "_id": "__REQ_507__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10879,8 +11113,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4545__", + "parentId": "__FLD_3__", + "_id": "__REQ_508__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10911,8 +11145,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4546__", + "parentId": "__FLD_3__", + "_id": "__REQ_509__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -10943,8 +11177,8 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4547__", + "parentId": "__FLD_3__", + "_id": "__REQ_510__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.21/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10964,8 +11198,8 @@ "parameters": [] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4548__", + "parentId": "__FLD_3__", + "_id": "__REQ_511__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.21/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10985,11 +11219,11 @@ "parameters": [] }, { - "parentId": "__FLD_190__", - "_id": "__REQ_4549__", + "parentId": "__FLD_11__", + "_id": "__REQ_512__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.21/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -11045,8 +11279,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4550__", + "parentId": "__FLD_24__", + "_id": "__REQ_513__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -11072,8 +11306,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4551__", + "parentId": "__FLD_24__", + "_id": "__REQ_514__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -11088,8 +11322,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4552__", + "parentId": "__FLD_24__", + "_id": "__REQ_515__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -11104,8 +11338,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4553__", + "parentId": "__FLD_24__", + "_id": "__REQ_516__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -11120,8 +11354,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4554__", + "parentId": "__FLD_16__", + "_id": "__REQ_517__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -11151,8 +11385,8 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4555__", + "parentId": "__FLD_16__", + "_id": "__REQ_518__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -11167,8 +11401,8 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4556__", + "parentId": "__FLD_16__", + "_id": "__REQ_519__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -11183,11 +11417,11 @@ "parameters": [] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4557__", + "parentId": "__FLD_16__", + "_id": "__REQ_520__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11210,11 +11444,11 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4558__", + "parentId": "__FLD_17__", + "_id": "__REQ_521__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -11231,8 +11465,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4559__", + "parentId": "__FLD_24__", + "_id": "__REQ_522__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -11258,11 +11492,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4560__", + "parentId": "__FLD_21__", + "_id": "__REQ_523__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11317,11 +11551,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4561__", + "parentId": "__FLD_21__", + "_id": "__REQ_524__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -11338,8 +11572,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4562__", + "parentId": "__FLD_21__", + "_id": "__REQ_525__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -11365,8 +11599,8 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4563__", + "parentId": "__FLD_21__", + "_id": "__REQ_526__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#accept-a-repository-invitation", @@ -11381,8 +11615,8 @@ "parameters": [] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4564__", + "parentId": "__FLD_21__", + "_id": "__REQ_527__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#decline-a-repository-invitation", @@ -11397,8 +11631,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4565__", + "parentId": "__FLD_2__", + "_id": "__REQ_528__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -11434,8 +11668,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4566__", + "parentId": "__FLD_2__", + "_id": "__REQ_529__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -11450,8 +11684,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4567__", + "parentId": "__FLD_2__", + "_id": "__REQ_530__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -11466,8 +11700,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4568__", + "parentId": "__FLD_2__", + "_id": "__REQ_531__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -11482,8 +11716,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4569__", + "parentId": "__FLD_2__", + "_id": "__REQ_532__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -11509,11 +11743,11 @@ ] }, { - "parentId": "__FLD_202__", - "_id": "__REQ_4570__", + "parentId": "__FLD_23__", + "_id": "__REQ_533__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.21/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11536,11 +11770,11 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4571__", + "parentId": "__FLD_24__", + "_id": "__REQ_534__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11562,11 +11796,11 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4572__", + "parentId": "__FLD_24__", + "_id": "__REQ_535__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.21/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.21/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11578,8 +11812,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4573__", + "parentId": "__FLD_2__", + "_id": "__REQ_536__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-events-for-the-authenticated-user", @@ -11605,8 +11839,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4574__", + "parentId": "__FLD_2__", + "_id": "__REQ_537__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -11632,8 +11866,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4575__", + "parentId": "__FLD_2__", + "_id": "__REQ_538__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-for-a-user", @@ -11659,8 +11893,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4576__", + "parentId": "__FLD_24__", + "_id": "__REQ_539__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-followers-of-a-user", @@ -11686,8 +11920,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4577__", + "parentId": "__FLD_24__", + "_id": "__REQ_540__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-the-people-a-user-follows", @@ -11713,8 +11947,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4578__", + "parentId": "__FLD_24__", + "_id": "__REQ_541__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#check-if-a-user-follows-another-user", @@ -11729,11 +11963,11 @@ "parameters": [] }, { - "parentId": "__FLD_187__", - "_id": "__REQ_4579__", + "parentId": "__FLD_8__", + "_id": "__REQ_542__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.21/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11760,8 +11994,8 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4580__", + "parentId": "__FLD_24__", + "_id": "__REQ_543__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-gpg-keys-for-a-user", @@ -11787,11 +12021,11 @@ ] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4581__", + "parentId": "__FLD_24__", + "_id": "__REQ_544__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.21/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11812,11 +12046,11 @@ ] }, { - "parentId": "__FLD_182__", - "_id": "__REQ_4582__", + "parentId": "__FLD_3__", + "_id": "__REQ_545__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [ { "name": "Accept", @@ -11833,8 +12067,8 @@ "parameters": [] }, { - "parentId": "__FLD_203__", - "_id": "__REQ_4583__", + "parentId": "__FLD_24__", + "_id": "__REQ_546__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/users#list-public-keys-for-a-user", @@ -11860,11 +12094,11 @@ ] }, { - "parentId": "__FLD_195__", - "_id": "__REQ_4584__", + "parentId": "__FLD_16__", + "_id": "__REQ_547__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11887,11 +12121,11 @@ ] }, { - "parentId": "__FLD_196__", - "_id": "__REQ_4585__", + "parentId": "__FLD_17__", + "_id": "__REQ_548__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -11924,8 +12158,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4586__", + "parentId": "__FLD_2__", + "_id": "__REQ_549__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -11951,8 +12185,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4587__", + "parentId": "__FLD_2__", + "_id": "__REQ_550__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-public-events-received-by-a-user", @@ -11978,11 +12212,11 @@ ] }, { - "parentId": "__FLD_200__", - "_id": "__REQ_4588__", + "parentId": "__FLD_21__", + "_id": "__REQ_551__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.21/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -12024,8 +12258,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4589__", + "parentId": "__FLD_7__", + "_id": "__REQ_552__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -12040,8 +12274,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4590__", + "parentId": "__FLD_7__", + "_id": "__REQ_553__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -12056,8 +12290,8 @@ "parameters": [] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4591__", + "parentId": "__FLD_2__", + "_id": "__REQ_554__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-starred-by-a-user", @@ -12093,8 +12327,8 @@ ] }, { - "parentId": "__FLD_181__", - "_id": "__REQ_4592__", + "parentId": "__FLD_2__", + "_id": "__REQ_555__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/activity#list-repositories-watched-by-a-user", @@ -12120,8 +12354,8 @@ ] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4593__", + "parentId": "__FLD_7__", + "_id": "__REQ_556__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.21/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#suspend-a-user", @@ -12136,8 +12370,8 @@ "parameters": [] }, { - "parentId": "__FLD_186__", - "_id": "__REQ_4594__", + "parentId": "__FLD_7__", + "_id": "__REQ_557__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.21/rest/reference/enterprise-admin#unsuspend-a-user", @@ -12152,8 +12386,8 @@ "parameters": [] }, { - "parentId": "__FLD_193__", - "_id": "__REQ_4595__", + "parentId": "__FLD_14__", + "_id": "__REQ_558__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-2.22.json b/routes/ghes-2.22.json index 42d2f47..920c8f2 100644 --- a/routes/ghes-2.22.json +++ b/routes/ghes-2.22.json @@ -1,16 +1,16 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.983Z", + "__export_date": "2022-08-22T01:15:59.744Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_130__", + "_id": "__FLD_97__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "alert_number": 0, "app_slug": "", @@ -19,7 +19,7 @@ "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -33,6 +33,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "enterprise": "", "event_id": 0, @@ -41,7 +42,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -83,167 +83,166 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "", "workflow_id": "workflow_id" } }, { - "parentId": "__FLD_130__", - "_id": "__FLD_131__", + "parentId": "__FLD_97__", + "_id": "__FLD_98__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_132__", + "parentId": "__FLD_97__", + "_id": "__FLD_99__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_133__", + "parentId": "__FLD_97__", + "_id": "__FLD_100__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_134__", + "parentId": "__FLD_97__", + "_id": "__FLD_101__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_135__", + "parentId": "__FLD_97__", + "_id": "__FLD_102__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_136__", + "parentId": "__FLD_97__", + "_id": "__FLD_103__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_137__", + "parentId": "__FLD_97__", + "_id": "__FLD_104__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_138__", + "parentId": "__FLD_97__", + "_id": "__FLD_105__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_139__", + "parentId": "__FLD_97__", + "_id": "__FLD_106__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_140__", + "parentId": "__FLD_97__", + "_id": "__FLD_107__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_141__", + "parentId": "__FLD_97__", + "_id": "__FLD_108__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_142__", + "parentId": "__FLD_97__", + "_id": "__FLD_109__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_143__", + "parentId": "__FLD_97__", + "_id": "__FLD_110__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_144__", + "parentId": "__FLD_97__", + "_id": "__FLD_111__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_145__", + "parentId": "__FLD_97__", + "_id": "__FLD_112__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_146__", + "parentId": "__FLD_97__", + "_id": "__FLD_113__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_147__", + "parentId": "__FLD_97__", + "_id": "__FLD_114__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_148__", + "parentId": "__FLD_97__", + "_id": "__FLD_115__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_149__", + "parentId": "__FLD_97__", + "_id": "__FLD_116__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_150__", + "parentId": "__FLD_97__", + "_id": "__FLD_117__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_151__", + "parentId": "__FLD_97__", + "_id": "__FLD_118__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_152__", + "parentId": "__FLD_97__", + "_id": "__FLD_119__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_153__", + "parentId": "__FLD_97__", + "_id": "__FLD_120__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_154__", + "parentId": "__FLD_97__", + "_id": "__FLD_121__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_130__", - "_id": "__FLD_155__", + "parentId": "__FLD_97__", + "_id": "__FLD_122__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_145__", - "_id": "__REQ_2901__", + "parentId": "__FLD_112__", + "_id": "__REQ_2105__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -255,8 +254,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2902__", + "parentId": "__FLD_105__", + "_id": "__REQ_2106__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-global-webhooks", @@ -287,8 +286,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2903__", + "parentId": "__FLD_105__", + "_id": "__REQ_2107__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-global-webhook", @@ -308,8 +307,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2904__", + "parentId": "__FLD_105__", + "_id": "__REQ_2108__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-global-webhook", @@ -329,8 +328,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2905__", + "parentId": "__FLD_105__", + "_id": "__REQ_2109__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-global-webhook", @@ -350,8 +349,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2906__", + "parentId": "__FLD_105__", + "_id": "__REQ_2110__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -371,8 +370,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2907__", + "parentId": "__FLD_105__", + "_id": "__REQ_2111__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -392,8 +391,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2908__", + "parentId": "__FLD_105__", + "_id": "__REQ_2112__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-public-keys", @@ -415,12 +414,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2909__", + "parentId": "__FLD_105__", + "_id": "__REQ_2113__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-public-key", @@ -435,11 +448,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2910__", + "parentId": "__FLD_105__", + "_id": "__REQ_2114__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -456,8 +469,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2911__", + "parentId": "__FLD_105__", + "_id": "__REQ_2115__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -472,8 +485,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2912__", + "parentId": "__FLD_105__", + "_id": "__REQ_2116__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -488,8 +501,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2913__", + "parentId": "__FLD_105__", + "_id": "__REQ_2117__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -504,8 +517,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2914__", + "parentId": "__FLD_105__", + "_id": "__REQ_2118__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-organization", @@ -520,8 +533,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2915__", + "parentId": "__FLD_105__", + "_id": "__REQ_2119__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-an-organization-name", @@ -536,8 +549,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2916__", + "parentId": "__FLD_105__", + "_id": "__REQ_2120__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -564,12 +577,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2917__", + "parentId": "__FLD_105__", + "_id": "__REQ_2121__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -589,8 +612,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2918__", + "parentId": "__FLD_105__", + "_id": "__REQ_2122__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -610,8 +633,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2919__", + "parentId": "__FLD_105__", + "_id": "__REQ_2123__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -631,8 +654,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2920__", + "parentId": "__FLD_105__", + "_id": "__REQ_2124__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -652,8 +675,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2921__", + "parentId": "__FLD_105__", + "_id": "__REQ_2125__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -673,8 +696,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2922__", + "parentId": "__FLD_105__", + "_id": "__REQ_2126__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -694,8 +717,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2923__", + "parentId": "__FLD_105__", + "_id": "__REQ_2127__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -722,12 +745,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2924__", + "parentId": "__FLD_105__", + "_id": "__REQ_2128__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -747,8 +780,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2925__", + "parentId": "__FLD_105__", + "_id": "__REQ_2129__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -768,8 +801,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2926__", + "parentId": "__FLD_105__", + "_id": "__REQ_2130__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -789,8 +822,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2927__", + "parentId": "__FLD_105__", + "_id": "__REQ_2131__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -810,8 +843,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2928__", + "parentId": "__FLD_105__", + "_id": "__REQ_2132__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -837,8 +870,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2929__", + "parentId": "__FLD_105__", + "_id": "__REQ_2133__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -853,8 +886,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2930__", + "parentId": "__FLD_105__", + "_id": "__REQ_2134__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-user", @@ -869,8 +902,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2931__", + "parentId": "__FLD_105__", + "_id": "__REQ_2135__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -885,8 +918,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2932__", + "parentId": "__FLD_105__", + "_id": "__REQ_2136__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-user", @@ -901,8 +934,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2933__", + "parentId": "__FLD_105__", + "_id": "__REQ_2137__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -917,8 +950,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2934__", + "parentId": "__FLD_105__", + "_id": "__REQ_2138__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -933,11 +966,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2935__", + "parentId": "__FLD_100__", + "_id": "__REQ_2139__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#get-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -949,11 +982,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2936__", + "parentId": "__FLD_100__", + "_id": "__REQ_2140__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -965,11 +998,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2937__", + "parentId": "__FLD_100__", + "_id": "__REQ_2141__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1000,11 +1033,11 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2938__", + "parentId": "__FLD_100__", + "_id": "__REQ_2142__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1016,11 +1049,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2939__", + "parentId": "__FLD_100__", + "_id": "__REQ_2143__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@2.22/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@2.22/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1032,11 +1065,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2940__", + "parentId": "__FLD_100__", + "_id": "__REQ_2144__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1048,8 +1081,40 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2941__", + "parentId": "__FLD_100__", + "_id": "__REQ_2145__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_100__", + "_id": "__REQ_2146__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_113__", + "_id": "__REQ_2147__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-grants", @@ -1071,12 +1136,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2942__", + "parentId": "__FLD_113__", + "_id": "__REQ_2148__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1091,8 +1160,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2943__", + "parentId": "__FLD_113__", + "_id": "__REQ_2149__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-a-grant", @@ -1107,8 +1176,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2944__", + "parentId": "__FLD_100__", + "_id": "__REQ_2150__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-authorization", @@ -1123,8 +1192,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2945__", + "parentId": "__FLD_100__", + "_id": "__REQ_2151__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1139,8 +1208,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2946__", + "parentId": "__FLD_100__", + "_id": "__REQ_2152__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-a-token", @@ -1155,8 +1224,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2947__", + "parentId": "__FLD_100__", + "_id": "__REQ_2153__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-a-token", @@ -1171,8 +1240,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2948__", + "parentId": "__FLD_100__", + "_id": "__REQ_2154__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#delete-an-app-token", @@ -1187,8 +1256,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2949__", + "parentId": "__FLD_100__", + "_id": "__REQ_2155__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#check-an-authorization", @@ -1203,8 +1272,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2950__", + "parentId": "__FLD_100__", + "_id": "__REQ_2156__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#reset-an-authorization", @@ -1219,8 +1288,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2951__", + "parentId": "__FLD_100__", + "_id": "__REQ_2157__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1235,11 +1304,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2952__", + "parentId": "__FLD_100__", + "_id": "__REQ_2158__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps/#get-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1251,8 +1320,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2953__", + "parentId": "__FLD_113__", + "_id": "__REQ_2159__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1274,12 +1343,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2954__", + "parentId": "__FLD_113__", + "_id": "__REQ_2160__", "_type": "request", "name": "Create a new authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#create-a-new-authorization", @@ -1294,8 +1367,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2955__", + "parentId": "__FLD_113__", + "_id": "__REQ_2161__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1310,8 +1383,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2956__", + "parentId": "__FLD_113__", + "_id": "__REQ_2162__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1326,8 +1399,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2957__", + "parentId": "__FLD_113__", + "_id": "__REQ_2163__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1342,8 +1415,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2958__", + "parentId": "__FLD_113__", + "_id": "__REQ_2164__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1358,8 +1431,8 @@ "parameters": [] }, { - "parentId": "__FLD_146__", - "_id": "__REQ_2959__", + "parentId": "__FLD_113__", + "_id": "__REQ_2165__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@2.22/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1374,17 +1447,12 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2960__", + "parentId": "__FLD_103__", + "_id": "__REQ_2166__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1395,17 +1463,12 @@ "parameters": [] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_2961__", + "parentId": "__FLD_103__", + "_id": "__REQ_2167__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1416,77 +1479,216 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_2962__", + "parentId": "__FLD_104__", + "_id": "__REQ_2168__", "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.22/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/emojis#get-emojis", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "method": "GET", + "url": "{{ github_api_root }}/emojis", "body": {}, "parameters": [] }, { - "parentId": "__FLD_137__", - "_id": "__REQ_2963__", + "parentId": "__FLD_105__", + "_id": "__REQ_2169__", "_type": "request", - "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/emojis/#get-emojis", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/emojis", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2964__", + "parentId": "__FLD_105__", + "_id": "__REQ_2170__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-license-information", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2171__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2172__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2173__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2174__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2175__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2176__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2177__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2178__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", "body": {}, "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2965__", + "parentId": "__FLD_105__", + "_id": "__REQ_2179__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-statistics", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-repository-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2966__", + "parentId": "__FLD_105__", + "_id": "__REQ_2180__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2181__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", @@ -1512,8 +1714,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2967__", + "parentId": "__FLD_105__", + "_id": "__REQ_2182__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", @@ -1528,8 +1730,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2968__", + "parentId": "__FLD_105__", + "_id": "__REQ_2183__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", @@ -1544,8 +1746,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2969__", + "parentId": "__FLD_105__", + "_id": "__REQ_2184__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", @@ -1560,8 +1762,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2970__", + "parentId": "__FLD_105__", + "_id": "__REQ_2185__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", @@ -1576,8 +1778,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2971__", + "parentId": "__FLD_105__", + "_id": "__REQ_2186__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", @@ -1603,8 +1805,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2972__", + "parentId": "__FLD_105__", + "_id": "__REQ_2187__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1619,8 +1821,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2973__", + "parentId": "__FLD_105__", + "_id": "__REQ_2188__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1635,8 +1837,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2974__", + "parentId": "__FLD_105__", + "_id": "__REQ_2189__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", @@ -1651,8 +1853,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2975__", + "parentId": "__FLD_105__", + "_id": "__REQ_2190__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1678,8 +1880,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2976__", + "parentId": "__FLD_105__", + "_id": "__REQ_2191__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", @@ -1694,8 +1896,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2977__", + "parentId": "__FLD_105__", + "_id": "__REQ_2192__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", @@ -1710,8 +1912,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2978__", + "parentId": "__FLD_105__", + "_id": "__REQ_2193__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", @@ -1726,8 +1928,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2979__", + "parentId": "__FLD_105__", + "_id": "__REQ_2194__", "_type": "request", "name": "List self-hosted runners for an enterprise", "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", @@ -1753,8 +1955,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2980__", + "parentId": "__FLD_105__", + "_id": "__REQ_2195__", "_type": "request", "name": "List runner applications for an enterprise", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", @@ -1769,8 +1971,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2981__", + "parentId": "__FLD_105__", + "_id": "__REQ_2196__", "_type": "request", "name": "Create a registration token for an enterprise", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", @@ -1785,8 +1987,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2982__", + "parentId": "__FLD_105__", + "_id": "__REQ_2197__", "_type": "request", "name": "Create a remove token for an enterprise", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", @@ -1801,8 +2003,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2983__", + "parentId": "__FLD_105__", + "_id": "__REQ_2198__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", @@ -1817,8 +2019,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_2984__", + "parentId": "__FLD_105__", + "_id": "__REQ_2199__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", @@ -1833,8 +2035,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2985__", + "parentId": "__FLD_99__", + "_id": "__REQ_2200__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events", @@ -1860,8 +2062,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_2986__", + "parentId": "__FLD_99__", + "_id": "__REQ_2201__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-feeds", @@ -1876,11 +2078,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2987__", + "parentId": "__FLD_106__", + "_id": "__REQ_2202__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1907,11 +2109,11 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2988__", + "parentId": "__FLD_106__", + "_id": "__REQ_2203__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1923,11 +2125,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2989__", + "parentId": "__FLD_106__", + "_id": "__REQ_2204__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1954,11 +2156,11 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2990__", + "parentId": "__FLD_106__", + "_id": "__REQ_2205__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1985,11 +2187,11 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2991__", + "parentId": "__FLD_106__", + "_id": "__REQ_2206__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2001,11 +2203,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2992__", + "parentId": "__FLD_106__", + "_id": "__REQ_2207__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2017,11 +2219,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2993__", + "parentId": "__FLD_106__", + "_id": "__REQ_2208__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2033,8 +2235,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2994__", + "parentId": "__FLD_106__", + "_id": "__REQ_2209__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gist-comments", @@ -2060,8 +2262,8 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2995__", + "parentId": "__FLD_106__", + "_id": "__REQ_2210__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#create-a-gist-comment", @@ -2076,8 +2278,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2996__", + "parentId": "__FLD_106__", + "_id": "__REQ_2211__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#get-a-gist-comment", @@ -2092,8 +2294,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2997__", + "parentId": "__FLD_106__", + "_id": "__REQ_2212__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#update-a-gist-comment", @@ -2108,8 +2310,8 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2998__", + "parentId": "__FLD_106__", + "_id": "__REQ_2213__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#delete-a-gist-comment", @@ -2124,11 +2326,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_2999__", + "parentId": "__FLD_106__", + "_id": "__REQ_2214__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2151,11 +2353,11 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3000__", + "parentId": "__FLD_106__", + "_id": "__REQ_2215__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2178,11 +2380,11 @@ ] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3001__", + "parentId": "__FLD_106__", + "_id": "__REQ_2216__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2194,11 +2396,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3002__", + "parentId": "__FLD_106__", + "_id": "__REQ_2217__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2210,11 +2412,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3003__", + "parentId": "__FLD_106__", + "_id": "__REQ_2218__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2226,11 +2428,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3004__", + "parentId": "__FLD_106__", + "_id": "__REQ_2219__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2242,11 +2444,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3005__", + "parentId": "__FLD_106__", + "_id": "__REQ_2220__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2258,11 +2460,11 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3006__", + "parentId": "__FLD_108__", + "_id": "__REQ_2221__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2274,11 +2476,11 @@ "parameters": [] }, { - "parentId": "__FLD_141__", - "_id": "__REQ_3007__", + "parentId": "__FLD_108__", + "_id": "__REQ_2222__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2290,17 +2492,12 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3008__", + "parentId": "__FLD_100__", + "_id": "__REQ_2223__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-repositories-accessible-to-the-app-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -2322,8 +2519,8 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3009__", + "parentId": "__FLD_100__", + "_id": "__REQ_2224__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#revoke-an-installation-access-token", @@ -2338,15 +2535,15 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3010__", + "parentId": "__FLD_109__", + "_id": "__REQ_2225__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -2414,11 +2611,11 @@ ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3011__", + "parentId": "__FLD_110__", + "_id": "__REQ_2226__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2436,15 +2633,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3012__", + "parentId": "__FLD_110__", + "_id": "__REQ_2227__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2456,11 +2658,11 @@ "parameters": [] }, { - "parentId": "__FLD_144__", - "_id": "__REQ_3013__", + "parentId": "__FLD_111__", + "_id": "__REQ_2228__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2472,11 +2674,11 @@ "parameters": [] }, { - "parentId": "__FLD_144__", - "_id": "__REQ_3014__", + "parentId": "__FLD_111__", + "_id": "__REQ_2229__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2488,11 +2690,11 @@ "parameters": [] }, { - "parentId": "__FLD_145__", - "_id": "__REQ_3015__", + "parentId": "__FLD_112__", + "_id": "__REQ_2230__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2504,8 +2706,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3016__", + "parentId": "__FLD_99__", + "_id": "__REQ_2231__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2531,8 +2733,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3017__", + "parentId": "__FLD_99__", + "_id": "__REQ_2232__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2576,8 +2778,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3018__", + "parentId": "__FLD_99__", + "_id": "__REQ_2233__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-notifications-as-read", @@ -2592,8 +2794,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3019__", + "parentId": "__FLD_99__", + "_id": "__REQ_2234__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread", @@ -2608,8 +2810,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3020__", + "parentId": "__FLD_99__", + "_id": "__REQ_2235__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-a-thread-as-read", @@ -2624,8 +2826,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3021__", + "parentId": "__FLD_99__", + "_id": "__REQ_2236__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2640,8 +2842,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3022__", + "parentId": "__FLD_99__", + "_id": "__REQ_2237__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription", @@ -2656,8 +2858,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3023__", + "parentId": "__FLD_99__", + "_id": "__REQ_2238__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-thread-subscription", @@ -2672,11 +2874,11 @@ "parameters": [] }, { - "parentId": "__FLD_145__", - "_id": "__REQ_3024__", + "parentId": "__FLD_112__", + "_id": "__REQ_2239__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2693,11 +2895,11 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3025__", + "parentId": "__FLD_114__", + "_id": "__REQ_2240__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2719,11 +2921,11 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3026__", + "parentId": "__FLD_114__", + "_id": "__REQ_2241__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2740,11 +2942,11 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3027__", + "parentId": "__FLD_114__", + "_id": "__REQ_2242__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2761,8 +2963,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3028__", + "parentId": "__FLD_98__", + "_id": "__REQ_2243__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -2788,8 +2990,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3029__", + "parentId": "__FLD_98__", + "_id": "__REQ_2244__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -2804,8 +3006,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3030__", + "parentId": "__FLD_98__", + "_id": "__REQ_2245__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -2820,8 +3022,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3031__", + "parentId": "__FLD_98__", + "_id": "__REQ_2246__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -2836,8 +3038,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3032__", + "parentId": "__FLD_98__", + "_id": "__REQ_2247__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -2852,8 +3054,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3033__", + "parentId": "__FLD_98__", + "_id": "__REQ_2248__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2865,11 +3067,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3034__", + "parentId": "__FLD_98__", + "_id": "__REQ_2249__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2884,8 +3097,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3035__", + "parentId": "__FLD_98__", + "_id": "__REQ_2250__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -2900,8 +3113,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3036__", + "parentId": "__FLD_98__", + "_id": "__REQ_2251__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -2916,8 +3129,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3037__", + "parentId": "__FLD_98__", + "_id": "__REQ_2252__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -2943,8 +3156,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3038__", + "parentId": "__FLD_98__", + "_id": "__REQ_2253__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -2959,8 +3172,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3039__", + "parentId": "__FLD_98__", + "_id": "__REQ_2254__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -2975,8 +3188,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3040__", + "parentId": "__FLD_98__", + "_id": "__REQ_2255__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -2991,8 +3204,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3041__", + "parentId": "__FLD_98__", + "_id": "__REQ_2256__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -3018,8 +3231,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3042__", + "parentId": "__FLD_98__", + "_id": "__REQ_2257__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-an-organization", @@ -3034,8 +3247,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3043__", + "parentId": "__FLD_98__", + "_id": "__REQ_2258__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -3050,8 +3263,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3044__", + "parentId": "__FLD_98__", + "_id": "__REQ_2259__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3066,8 +3279,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3045__", + "parentId": "__FLD_98__", + "_id": "__REQ_2260__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3082,8 +3295,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3046__", + "parentId": "__FLD_98__", + "_id": "__REQ_2261__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3098,8 +3311,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3047__", + "parentId": "__FLD_98__", + "_id": "__REQ_2262__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-organization-secrets", @@ -3125,8 +3338,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3048__", + "parentId": "__FLD_98__", + "_id": "__REQ_2263__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-public-key", @@ -3141,8 +3354,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3049__", + "parentId": "__FLD_98__", + "_id": "__REQ_2264__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-secret", @@ -3157,8 +3370,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3050__", + "parentId": "__FLD_98__", + "_id": "__REQ_2265__", "_type": "request", "name": "Create or update an organization secret", "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret", @@ -3173,8 +3386,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3051__", + "parentId": "__FLD_98__", + "_id": "__REQ_2266__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-organization-secret", @@ -3189,8 +3402,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3052__", + "parentId": "__FLD_98__", + "_id": "__REQ_2267__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3202,11 +3415,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3053__", + "parentId": "__FLD_98__", + "_id": "__REQ_2268__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3221,8 +3445,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3054__", + "parentId": "__FLD_98__", + "_id": "__REQ_2269__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3237,8 +3461,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3055__", + "parentId": "__FLD_98__", + "_id": "__REQ_2270__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3253,8 +3477,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3056__", + "parentId": "__FLD_99__", + "_id": "__REQ_2271__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-organization-events", @@ -3280,8 +3504,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3057__", + "parentId": "__FLD_114__", + "_id": "__REQ_2272__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-webhooks", @@ -3307,8 +3531,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3058__", + "parentId": "__FLD_114__", + "_id": "__REQ_2273__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#create-an-organization-webhook", @@ -3323,8 +3547,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3059__", + "parentId": "__FLD_114__", + "_id": "__REQ_2274__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization-webhook", @@ -3339,8 +3563,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3060__", + "parentId": "__FLD_114__", + "_id": "__REQ_2275__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#update-an-organization-webhook", @@ -3355,8 +3579,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3061__", + "parentId": "__FLD_114__", + "_id": "__REQ_2276__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#delete-an-organization-webhook", @@ -3371,8 +3595,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3062__", + "parentId": "__FLD_114__", + "_id": "__REQ_2277__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#ping-an-organization-webhook", @@ -3387,11 +3611,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3063__", + "parentId": "__FLD_100__", + "_id": "__REQ_2278__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3403,11 +3627,11 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3064__", + "parentId": "__FLD_114__", + "_id": "__REQ_2279__", "_type": "request", "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-app-installations-for-an-organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-app-installations-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3430,15 +3654,15 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3065__", + "parentId": "__FLD_109__", + "_id": "__REQ_2280__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -3490,8 +3714,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3066__", + "parentId": "__FLD_114__", + "_id": "__REQ_2281__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-members", @@ -3527,8 +3751,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3067__", + "parentId": "__FLD_114__", + "_id": "__REQ_2282__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-organization-membership-for-a-user", @@ -3543,8 +3767,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3068__", + "parentId": "__FLD_114__", + "_id": "__REQ_2283__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-an-organization-member", @@ -3559,11 +3783,11 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3069__", + "parentId": "__FLD_114__", + "_id": "__REQ_2284__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3575,8 +3799,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3070__", + "parentId": "__FLD_114__", + "_id": "__REQ_2285__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-organization-membership-for-a-user", @@ -3591,8 +3815,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3071__", + "parentId": "__FLD_114__", + "_id": "__REQ_2286__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -3607,8 +3831,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3072__", + "parentId": "__FLD_114__", + "_id": "__REQ_2287__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -3639,8 +3863,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3073__", + "parentId": "__FLD_114__", + "_id": "__REQ_2288__", "_type": "request", "name": "Convert an organization member to outside collaborator", "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", @@ -3655,8 +3879,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3074__", + "parentId": "__FLD_114__", + "_id": "__REQ_2289__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -3671,8 +3895,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3075__", + "parentId": "__FLD_105__", + "_id": "__REQ_2290__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -3699,12 +3923,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3076__", + "parentId": "__FLD_105__", + "_id": "__REQ_2291__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -3724,8 +3958,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3077__", + "parentId": "__FLD_105__", + "_id": "__REQ_2292__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -3745,8 +3979,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3078__", + "parentId": "__FLD_105__", + "_id": "__REQ_2293__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -3766,11 +4000,11 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3079__", + "parentId": "__FLD_115__", + "_id": "__REQ_2294__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -3803,11 +4037,11 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3080__", + "parentId": "__FLD_115__", + "_id": "__REQ_2295__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -3824,8 +4058,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3081__", + "parentId": "__FLD_114__", + "_id": "__REQ_2296__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-public-organization-members", @@ -3851,8 +4085,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3082__", + "parentId": "__FLD_114__", + "_id": "__REQ_2297__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -3867,8 +4101,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3083__", + "parentId": "__FLD_114__", + "_id": "__REQ_2298__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -3883,8 +4117,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3084__", + "parentId": "__FLD_114__", + "_id": "__REQ_2299__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -3899,11 +4133,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3085__", + "parentId": "__FLD_119__", + "_id": "__REQ_2300__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -3944,11 +4178,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3086__", + "parentId": "__FLD_119__", + "_id": "__REQ_2301__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -3965,11 +4199,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3087__", + "parentId": "__FLD_121__", + "_id": "__REQ_2302__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3992,11 +4226,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3088__", + "parentId": "__FLD_121__", + "_id": "__REQ_2303__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4008,11 +4242,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3089__", + "parentId": "__FLD_121__", + "_id": "__REQ_2304__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4024,11 +4258,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3090__", + "parentId": "__FLD_121__", + "_id": "__REQ_2305__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4040,11 +4274,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3091__", + "parentId": "__FLD_121__", + "_id": "__REQ_2306__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4056,8 +4290,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3092__", + "parentId": "__FLD_121__", + "_id": "__REQ_2307__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions", @@ -4089,15 +4323,19 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "pinned", + "disabled": false } ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3093__", + "parentId": "__FLD_121__", + "_id": "__REQ_2308__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -4114,8 +4352,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3094__", + "parentId": "__FLD_121__", + "_id": "__REQ_2309__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion", @@ -4135,8 +4373,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3095__", + "parentId": "__FLD_121__", + "_id": "__REQ_2310__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion", @@ -4156,8 +4394,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3096__", + "parentId": "__FLD_121__", + "_id": "__REQ_2311__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion", @@ -4172,8 +4410,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3097__", + "parentId": "__FLD_121__", + "_id": "__REQ_2312__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments", @@ -4209,11 +4447,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3098__", + "parentId": "__FLD_121__", + "_id": "__REQ_2313__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -4230,8 +4468,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3099__", + "parentId": "__FLD_121__", + "_id": "__REQ_2314__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment", @@ -4251,8 +4489,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3100__", + "parentId": "__FLD_121__", + "_id": "__REQ_2315__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment", @@ -4272,8 +4510,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3101__", + "parentId": "__FLD_121__", + "_id": "__REQ_2316__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment", @@ -4288,11 +4526,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3102__", + "parentId": "__FLD_118__", + "_id": "__REQ_2317__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -4324,11 +4562,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3103__", + "parentId": "__FLD_118__", + "_id": "__REQ_2318__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -4345,11 +4583,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3104__", + "parentId": "__FLD_118__", + "_id": "__REQ_2319__", "_type": "request", "name": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-comment-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-team-discussion-comment-reaction", "headers": [ { "name": "Accept", @@ -4366,11 +4604,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3105__", + "parentId": "__FLD_118__", + "_id": "__REQ_2320__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -4402,11 +4640,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3106__", + "parentId": "__FLD_118__", + "_id": "__REQ_2321__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -4423,11 +4661,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3107__", + "parentId": "__FLD_118__", + "_id": "__REQ_2322__", "_type": "request", "name": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-team-discussion-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-team-discussion-reaction", "headers": [ { "name": "Accept", @@ -4444,8 +4682,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3108__", + "parentId": "__FLD_121__", + "_id": "__REQ_2323__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members", @@ -4476,11 +4714,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3109__", + "parentId": "__FLD_121__", + "_id": "__REQ_2324__", "_type": "request", "name": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4492,8 +4730,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3110__", + "parentId": "__FLD_121__", + "_id": "__REQ_2325__", "_type": "request", "name": "Add or update team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user", @@ -4508,8 +4746,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3111__", + "parentId": "__FLD_121__", + "_id": "__REQ_2326__", "_type": "request", "name": "Remove team membership for a user", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user", @@ -4524,11 +4762,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3112__", + "parentId": "__FLD_121__", + "_id": "__REQ_2327__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-projects", "headers": [ { "name": "Accept", @@ -4556,11 +4794,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3113__", + "parentId": "__FLD_121__", + "_id": "__REQ_2328__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -4577,11 +4815,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3114__", + "parentId": "__FLD_121__", + "_id": "__REQ_2329__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -4598,11 +4836,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3115__", + "parentId": "__FLD_121__", + "_id": "__REQ_2330__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4614,11 +4852,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3116__", + "parentId": "__FLD_121__", + "_id": "__REQ_2331__", "_type": "request", "name": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4641,11 +4879,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3117__", + "parentId": "__FLD_121__", + "_id": "__REQ_2332__", "_type": "request", "name": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4657,11 +4895,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3118__", + "parentId": "__FLD_121__", + "_id": "__REQ_2333__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4673,11 +4911,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3119__", + "parentId": "__FLD_121__", + "_id": "__REQ_2334__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4689,11 +4927,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3120__", + "parentId": "__FLD_121__", + "_id": "__REQ_2335__", "_type": "request", "name": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-child-teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4716,8 +4954,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3121__", + "parentId": "__FLD_115__", + "_id": "__REQ_2336__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-card", @@ -4737,8 +4975,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3122__", + "parentId": "__FLD_115__", + "_id": "__REQ_2337__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-card", @@ -4758,8 +4996,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3123__", + "parentId": "__FLD_115__", + "_id": "__REQ_2338__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-card", @@ -4779,8 +5017,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3124__", + "parentId": "__FLD_115__", + "_id": "__REQ_2339__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-card", @@ -4800,8 +5038,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3125__", + "parentId": "__FLD_115__", + "_id": "__REQ_2340__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project-column", @@ -4821,8 +5059,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3126__", + "parentId": "__FLD_115__", + "_id": "__REQ_2341__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project-column", @@ -4842,8 +5080,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3127__", + "parentId": "__FLD_115__", + "_id": "__REQ_2342__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project-column", @@ -4863,8 +5101,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3128__", + "parentId": "__FLD_115__", + "_id": "__REQ_2343__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-cards", @@ -4900,11 +5138,11 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3129__", + "parentId": "__FLD_115__", + "_id": "__REQ_2344__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -4921,8 +5159,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3130__", + "parentId": "__FLD_115__", + "_id": "__REQ_2345__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#move-a-project-column", @@ -4942,11 +5180,11 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3131__", + "parentId": "__FLD_115__", + "_id": "__REQ_2346__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -4963,11 +5201,11 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3132__", + "parentId": "__FLD_115__", + "_id": "__REQ_2347__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -4984,11 +5222,11 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3133__", + "parentId": "__FLD_115__", + "_id": "__REQ_2348__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -5005,8 +5243,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3134__", + "parentId": "__FLD_115__", + "_id": "__REQ_2349__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-collaborators", @@ -5042,8 +5280,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3135__", + "parentId": "__FLD_115__", + "_id": "__REQ_2350__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#add-project-collaborator", @@ -5063,8 +5301,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3136__", + "parentId": "__FLD_115__", + "_id": "__REQ_2351__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#remove-project-collaborator", @@ -5084,8 +5322,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3137__", + "parentId": "__FLD_115__", + "_id": "__REQ_2352__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#get-project-permission-for-a-user", @@ -5105,8 +5343,8 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3138__", + "parentId": "__FLD_115__", + "_id": "__REQ_2353__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-project-columns", @@ -5137,8 +5375,8 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3139__", + "parentId": "__FLD_115__", + "_id": "__REQ_2354__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-project-column", @@ -5158,11 +5396,11 @@ "parameters": [] }, { - "parentId": "__FLD_150__", - "_id": "__REQ_3140__", + "parentId": "__FLD_117__", + "_id": "__REQ_2355__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5174,11 +5412,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3141__", + "parentId": "__FLD_118__", + "_id": "__REQ_2356__", "_type": "request", "name": "Delete a reaction (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-reaction-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions/#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -5195,11 +5433,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3142__", + "parentId": "__FLD_119__", + "_id": "__REQ_2357__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -5216,11 +5454,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3143__", + "parentId": "__FLD_119__", + "_id": "__REQ_2358__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -5237,11 +5475,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3144__", + "parentId": "__FLD_119__", + "_id": "__REQ_2359__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5253,8 +5491,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3145__", + "parentId": "__FLD_98__", + "_id": "__REQ_2360__", "_type": "request", "name": "List artifacts for a repository", "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-artifacts-for-a-repository", @@ -5280,8 +5518,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3146__", + "parentId": "__FLD_98__", + "_id": "__REQ_2361__", "_type": "request", "name": "Get an artifact", "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-artifact", @@ -5296,8 +5534,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3147__", + "parentId": "__FLD_98__", + "_id": "__REQ_2362__", "_type": "request", "name": "Delete an artifact", "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-an-artifact", @@ -5312,8 +5550,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3148__", + "parentId": "__FLD_98__", + "_id": "__REQ_2363__", "_type": "request", "name": "Download an artifact", "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-an-artifact", @@ -5328,8 +5566,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3149__", + "parentId": "__FLD_98__", + "_id": "__REQ_2364__", "_type": "request", "name": "Get a job for a workflow run", "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-job-for-a-workflow-run", @@ -5344,8 +5582,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3150__", + "parentId": "__FLD_98__", + "_id": "__REQ_2365__", "_type": "request", "name": "Download job logs for a workflow run", "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-job-logs-for-a-workflow-run", @@ -5360,8 +5598,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3151__", + "parentId": "__FLD_98__", + "_id": "__REQ_2366__", "_type": "request", "name": "List self-hosted runners for a repository", "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-self-hosted-runners-for-a-repository", @@ -5387,8 +5625,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3152__", + "parentId": "__FLD_98__", + "_id": "__REQ_2367__", "_type": "request", "name": "List runner applications for a repository", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-runner-applications-for-a-repository", @@ -5403,8 +5641,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3153__", + "parentId": "__FLD_98__", + "_id": "__REQ_2368__", "_type": "request", "name": "Create a registration token for a repository", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-registration-token-for-a-repository", @@ -5419,8 +5657,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3154__", + "parentId": "__FLD_98__", + "_id": "__REQ_2369__", "_type": "request", "name": "Create a remove token for a repository", "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-remove-token-for-a-repository", @@ -5435,8 +5673,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3155__", + "parentId": "__FLD_98__", + "_id": "__REQ_2370__", "_type": "request", "name": "Get a self-hosted runner for a repository", "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", @@ -5451,8 +5689,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3156__", + "parentId": "__FLD_98__", + "_id": "__REQ_2371__", "_type": "request", "name": "Delete a self-hosted runner from a repository", "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", @@ -5467,8 +5705,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3157__", + "parentId": "__FLD_98__", + "_id": "__REQ_2372__", "_type": "request", "name": "List workflow runs for a repository", "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs-for-a-repository", @@ -5506,12 +5744,21 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false } ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3158__", + "parentId": "__FLD_98__", + "_id": "__REQ_2373__", "_type": "request", "name": "Get a workflow run", "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow-run", @@ -5523,11 +5770,17 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3159__", + "parentId": "__FLD_98__", + "_id": "__REQ_2374__", "_type": "request", "name": "Delete a workflow run", "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-workflow-run", @@ -5542,8 +5795,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3160__", + "parentId": "__FLD_98__", + "_id": "__REQ_2375__", "_type": "request", "name": "List workflow run artifacts", "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-run-artifacts", @@ -5569,8 +5822,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3161__", + "parentId": "__FLD_98__", + "_id": "__REQ_2376__", "_type": "request", "name": "Cancel a workflow run", "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#cancel-a-workflow-run", @@ -5585,8 +5838,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3162__", + "parentId": "__FLD_98__", + "_id": "__REQ_2377__", "_type": "request", "name": "List jobs for a workflow run", "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-jobs-for-a-workflow-run", @@ -5617,8 +5870,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3163__", + "parentId": "__FLD_98__", + "_id": "__REQ_2378__", "_type": "request", "name": "Download workflow run logs", "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#download-workflow-run-logs", @@ -5633,8 +5886,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3164__", + "parentId": "__FLD_98__", + "_id": "__REQ_2379__", "_type": "request", "name": "Delete workflow run logs", "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-workflow-run-logs", @@ -5649,8 +5902,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3165__", + "parentId": "__FLD_98__", + "_id": "__REQ_2380__", "_type": "request", "name": "Re-run a workflow", "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#re-run-a-workflow", @@ -5665,8 +5918,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3166__", + "parentId": "__FLD_98__", + "_id": "__REQ_2381__", "_type": "request", "name": "List repository secrets", "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-secrets", @@ -5692,8 +5945,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3167__", + "parentId": "__FLD_98__", + "_id": "__REQ_2382__", "_type": "request", "name": "Get a repository public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-public-key", @@ -5708,8 +5961,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3168__", + "parentId": "__FLD_98__", + "_id": "__REQ_2383__", "_type": "request", "name": "Get a repository secret", "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-secret", @@ -5724,8 +5977,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3169__", + "parentId": "__FLD_98__", + "_id": "__REQ_2384__", "_type": "request", "name": "Create or update a repository secret", "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-or-update-a-repository-secret", @@ -5740,8 +5993,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3170__", + "parentId": "__FLD_98__", + "_id": "__REQ_2385__", "_type": "request", "name": "Delete a repository secret", "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#delete-a-repository-secret", @@ -5756,8 +6009,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3171__", + "parentId": "__FLD_98__", + "_id": "__REQ_2386__", "_type": "request", "name": "List repository workflows", "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-repository-workflows", @@ -5783,8 +6036,8 @@ ] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3172__", + "parentId": "__FLD_98__", + "_id": "__REQ_2387__", "_type": "request", "name": "Get a workflow", "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-workflow", @@ -5799,8 +6052,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3173__", + "parentId": "__FLD_98__", + "_id": "__REQ_2388__", "_type": "request", "name": "Create a workflow dispatch event", "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#create-a-workflow-dispatch-event", @@ -5815,8 +6068,8 @@ "parameters": [] }, { - "parentId": "__FLD_131__", - "_id": "__REQ_3174__", + "parentId": "__FLD_98__", + "_id": "__REQ_2389__", "_type": "request", "name": "List workflow runs", "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/actions#list-workflow-runs", @@ -5854,12 +6107,21 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false } ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3175__", + "parentId": "__FLD_109__", + "_id": "__REQ_2390__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-assignees", @@ -5885,8 +6147,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3176__", + "parentId": "__FLD_109__", + "_id": "__REQ_2391__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -5901,8 +6163,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3177__", + "parentId": "__FLD_119__", + "_id": "__REQ_2392__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches", @@ -5932,8 +6194,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3178__", + "parentId": "__FLD_119__", + "_id": "__REQ_2393__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-branch", @@ -5948,8 +6210,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3179__", + "parentId": "__FLD_119__", + "_id": "__REQ_2394__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-branch-protection", @@ -5969,8 +6231,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3180__", + "parentId": "__FLD_119__", + "_id": "__REQ_2395__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-branch-protection", @@ -5990,8 +6252,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3181__", + "parentId": "__FLD_119__", + "_id": "__REQ_2396__", "_type": "request", "name": "Delete branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-branch-protection", @@ -6006,8 +6268,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3182__", + "parentId": "__FLD_119__", + "_id": "__REQ_2397__", "_type": "request", "name": "Get admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-admin-branch-protection", @@ -6022,8 +6284,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3183__", + "parentId": "__FLD_119__", + "_id": "__REQ_2398__", "_type": "request", "name": "Set admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-admin-branch-protection", @@ -6038,8 +6300,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3184__", + "parentId": "__FLD_119__", + "_id": "__REQ_2399__", "_type": "request", "name": "Delete admin branch protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-admin-branch-protection", @@ -6054,8 +6316,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3185__", + "parentId": "__FLD_119__", + "_id": "__REQ_2400__", "_type": "request", "name": "Get pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-pull-request-review-protection", @@ -6075,8 +6337,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3186__", + "parentId": "__FLD_119__", + "_id": "__REQ_2401__", "_type": "request", "name": "Update pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-pull-request-review-protection", @@ -6096,8 +6358,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3187__", + "parentId": "__FLD_119__", + "_id": "__REQ_2402__", "_type": "request", "name": "Delete pull request review protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-pull-request-review-protection", @@ -6112,8 +6374,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3188__", + "parentId": "__FLD_119__", + "_id": "__REQ_2403__", "_type": "request", "name": "Get commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-commit-signature-protection", @@ -6133,8 +6395,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3189__", + "parentId": "__FLD_119__", + "_id": "__REQ_2404__", "_type": "request", "name": "Create commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-commit-signature-protection", @@ -6154,8 +6416,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3190__", + "parentId": "__FLD_119__", + "_id": "__REQ_2405__", "_type": "request", "name": "Delete commit signature protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-commit-signature-protection", @@ -6175,8 +6437,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3191__", + "parentId": "__FLD_119__", + "_id": "__REQ_2406__", "_type": "request", "name": "Get status checks protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-status-checks-protection", @@ -6191,8 +6453,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3192__", + "parentId": "__FLD_119__", + "_id": "__REQ_2407__", "_type": "request", "name": "Update status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-status-check-potection", @@ -6207,8 +6469,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3193__", + "parentId": "__FLD_119__", + "_id": "__REQ_2408__", "_type": "request", "name": "Remove status check protection", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-protection", @@ -6223,8 +6485,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3194__", + "parentId": "__FLD_119__", + "_id": "__REQ_2409__", "_type": "request", "name": "Get all status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-status-check-contexts", @@ -6239,8 +6501,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3195__", + "parentId": "__FLD_119__", + "_id": "__REQ_2410__", "_type": "request", "name": "Add status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-status-check-contexts", @@ -6255,8 +6517,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3196__", + "parentId": "__FLD_119__", + "_id": "__REQ_2411__", "_type": "request", "name": "Set status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-status-check-contexts", @@ -6271,8 +6533,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3197__", + "parentId": "__FLD_119__", + "_id": "__REQ_2412__", "_type": "request", "name": "Remove status check contexts", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-status-check-contexts", @@ -6287,8 +6549,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3198__", + "parentId": "__FLD_119__", + "_id": "__REQ_2413__", "_type": "request", "name": "Get access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-access-restrictions", @@ -6303,8 +6565,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3199__", + "parentId": "__FLD_119__", + "_id": "__REQ_2414__", "_type": "request", "name": "Delete access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-access-restrictions", @@ -6319,8 +6581,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3200__", + "parentId": "__FLD_119__", + "_id": "__REQ_2415__", "_type": "request", "name": "Get apps with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-apps-with-access-to-the-protected-branch", @@ -6335,8 +6597,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3201__", + "parentId": "__FLD_119__", + "_id": "__REQ_2416__", "_type": "request", "name": "Add app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-app-access-restrictions", @@ -6351,8 +6613,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3202__", + "parentId": "__FLD_119__", + "_id": "__REQ_2417__", "_type": "request", "name": "Set app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-app-access-restrictions", @@ -6367,8 +6629,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3203__", + "parentId": "__FLD_119__", + "_id": "__REQ_2418__", "_type": "request", "name": "Remove app access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-app-access-restrictions", @@ -6383,8 +6645,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3204__", + "parentId": "__FLD_119__", + "_id": "__REQ_2419__", "_type": "request", "name": "Get teams with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-teams-with-access-to-the-protected-branch", @@ -6399,8 +6661,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3205__", + "parentId": "__FLD_119__", + "_id": "__REQ_2420__", "_type": "request", "name": "Add team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-team-access-restrictions", @@ -6415,8 +6677,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3206__", + "parentId": "__FLD_119__", + "_id": "__REQ_2421__", "_type": "request", "name": "Set team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-team-access-restrictions", @@ -6431,8 +6693,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3207__", + "parentId": "__FLD_119__", + "_id": "__REQ_2422__", "_type": "request", "name": "Remove team access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-team-access-restrictions", @@ -6447,8 +6709,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3208__", + "parentId": "__FLD_119__", + "_id": "__REQ_2423__", "_type": "request", "name": "Get users with access to the protected branch", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-users-with-access-to-the-protected-branch", @@ -6463,8 +6725,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3209__", + "parentId": "__FLD_119__", + "_id": "__REQ_2424__", "_type": "request", "name": "Add user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-user-access-restrictions", @@ -6479,8 +6741,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3210__", + "parentId": "__FLD_119__", + "_id": "__REQ_2425__", "_type": "request", "name": "Set user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#set-user-access-restrictions", @@ -6495,8 +6757,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3211__", + "parentId": "__FLD_119__", + "_id": "__REQ_2426__", "_type": "request", "name": "Remove user access restrictions", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-user-access-restrictions", @@ -6511,8 +6773,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3212__", + "parentId": "__FLD_101__", + "_id": "__REQ_2427__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-run", @@ -6532,8 +6794,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3213__", + "parentId": "__FLD_101__", + "_id": "__REQ_2428__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-run", @@ -6553,8 +6815,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3214__", + "parentId": "__FLD_101__", + "_id": "__REQ_2429__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-a-check-run", @@ -6574,8 +6836,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3215__", + "parentId": "__FLD_101__", + "_id": "__REQ_2430__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-run-annotations", @@ -6606,8 +6868,8 @@ ] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3216__", + "parentId": "__FLD_101__", + "_id": "__REQ_2431__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite", @@ -6627,8 +6889,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3217__", + "parentId": "__FLD_101__", + "_id": "__REQ_2432__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@2.22/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -6648,8 +6910,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3218__", + "parentId": "__FLD_101__", + "_id": "__REQ_2433__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#get-a-check-suite", @@ -6669,8 +6931,8 @@ "parameters": [] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3219__", + "parentId": "__FLD_101__", + "_id": "__REQ_2434__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -6714,8 +6976,8 @@ ] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3220__", + "parentId": "__FLD_101__", + "_id": "__REQ_2435__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#rerequest-a-check-suite", @@ -6735,11 +6997,11 @@ "parameters": [] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_3221__", + "parentId": "__FLD_102__", + "_id": "__REQ_2436__", "_type": "request", "name": "List code scanning alerts for a repository", - "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6750,21 +7012,39 @@ "body": {}, "parameters": [ { - "name": "state", + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, "disabled": false }, { "name": "ref", "disabled": false + }, + { + "name": "state", + "disabled": false } ] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_3222__", + "parentId": "__FLD_102__", + "_id": "__REQ_2437__", "_type": "request", "name": "Get a code scanning alert", - "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#get-a-code-scanning-alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. From GitHub Enterprise Server 3.0, the same information can be retrieved via a GET request to the URL specified by `instances_url`, added in that release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/code-scanning#get-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6776,11 +7056,11 @@ "parameters": [] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_3223__", + "parentId": "__FLD_102__", + "_id": "__REQ_2438__", "_type": "request", "name": "Update a code scanning alert", - "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-code-scanning-alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/code-scanning#update-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6792,11 +7072,11 @@ "parameters": [] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_3224__", + "parentId": "__FLD_102__", + "_id": "__REQ_2439__", "_type": "request", - "name": "List recent code scanning analyses for a repository", - "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#list-recent-analyses", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6806,22 +7086,40 @@ "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", "body": {}, "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, { "name": "ref", "disabled": false }, { - "name": "tool_name", + "name": "sarif_id", "disabled": false } ] }, { - "parentId": "__FLD_135__", - "_id": "__REQ_3225__", + "parentId": "__FLD_102__", + "_id": "__REQ_2440__", "_type": "request", - "name": "Upload a SARIF file", - "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/code-scanning/#upload-a-sarif-analysis", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 1000 results per analysis run. Any results over this limit are ignored. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/code-scanning#upload-a-sarif-file", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6833,11 +7131,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3226__", + "parentId": "__FLD_119__", + "_id": "__REQ_2441__", "_type": "request", "name": "List repository collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must have push access to the repository in order to list collaborators.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-collaborators", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6865,8 +7163,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3227__", + "parentId": "__FLD_119__", + "_id": "__REQ_2442__", "_type": "request", "name": "Check if a user is a repository collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", @@ -6881,11 +7179,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3228__", + "parentId": "__FLD_119__", + "_id": "__REQ_2443__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6897,8 +7195,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3229__", + "parentId": "__FLD_119__", + "_id": "__REQ_2444__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#remove-a-repository-collaborator", @@ -6913,8 +7211,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3230__", + "parentId": "__FLD_119__", + "_id": "__REQ_2445__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-permissions-for-a-user", @@ -6929,8 +7227,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3231__", + "parentId": "__FLD_119__", + "_id": "__REQ_2446__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments-for-a-repository", @@ -6961,8 +7259,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3232__", + "parentId": "__FLD_119__", + "_id": "__REQ_2447__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit-comment", @@ -6982,8 +7280,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3233__", + "parentId": "__FLD_119__", + "_id": "__REQ_2448__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-commit-comment", @@ -6998,8 +7296,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3234__", + "parentId": "__FLD_119__", + "_id": "__REQ_2449__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-commit-comment", @@ -7014,11 +7312,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3235__", + "parentId": "__FLD_118__", + "_id": "__REQ_2450__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -7050,11 +7348,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3236__", + "parentId": "__FLD_118__", + "_id": "__REQ_2451__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -7071,11 +7369,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3237__", + "parentId": "__FLD_118__", + "_id": "__REQ_2452__", "_type": "request", "name": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-commit-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-a-commit-comment-reaction", "headers": [ { "name": "Accept", @@ -7092,8 +7390,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3238__", + "parentId": "__FLD_119__", + "_id": "__REQ_2453__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits", @@ -7139,8 +7437,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3239__", + "parentId": "__FLD_119__", + "_id": "__REQ_2454__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-branches-for-head-commit", @@ -7160,8 +7458,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3240__", + "parentId": "__FLD_119__", + "_id": "__REQ_2455__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-comments", @@ -7192,11 +7490,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3241__", + "parentId": "__FLD_119__", + "_id": "__REQ_2456__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7208,11 +7506,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3242__", + "parentId": "__FLD_119__", + "_id": "__REQ_2457__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -7240,8 +7538,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3243__", + "parentId": "__FLD_119__", + "_id": "__REQ_2458__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-commit", @@ -7253,11 +7551,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3244__", + "parentId": "__FLD_101__", + "_id": "__REQ_2459__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -7297,12 +7606,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_134__", - "_id": "__REQ_3245__", + "parentId": "__FLD_101__", + "_id": "__REQ_2460__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -7341,11 +7654,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3246__", + "parentId": "__FLD_119__", + "_id": "__REQ_2461__", "_type": "request", "name": "Get the combined status for a specific reference", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7354,11 +7667,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3247__", + "parentId": "__FLD_119__", + "_id": "__REQ_2462__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -7384,45 +7708,45 @@ ] }, { - "parentId": "__FLD_136__", - "_id": "__REQ_3248__", + "parentId": "__FLD_119__", + "_id": "__REQ_2463__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3249__", + "parentId": "__FLD_100__", + "_id": "__REQ_2464__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@2.22/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3250__", + "parentId": "__FLD_119__", + "_id": "__REQ_2465__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@2.22/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content", @@ -7442,8 +7766,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3251__", + "parentId": "__FLD_119__", + "_id": "__REQ_2466__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-or-update-file-contents", @@ -7458,8 +7782,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3252__", + "parentId": "__FLD_119__", + "_id": "__REQ_2467__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-file", @@ -7474,11 +7798,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3253__", + "parentId": "__FLD_119__", + "_id": "__REQ_2468__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7505,8 +7829,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3254__", + "parentId": "__FLD_119__", + "_id": "__REQ_2469__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployments", @@ -7557,8 +7881,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3255__", + "parentId": "__FLD_119__", + "_id": "__REQ_2470__", "_type": "request", "name": "Create a deployment", "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment", @@ -7578,15 +7902,15 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3256__", + "parentId": "__FLD_119__", + "_id": "__REQ_2471__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -7599,8 +7923,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3257__", + "parentId": "__FLD_119__", + "_id": "__REQ_2472__", "_type": "request", "name": "Delete a deployment", "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@2.22/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deployment", @@ -7615,8 +7939,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3258__", + "parentId": "__FLD_119__", + "_id": "__REQ_2473__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deployment-statuses", @@ -7647,8 +7971,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3259__", + "parentId": "__FLD_119__", + "_id": "__REQ_2474__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deployment-status", @@ -7668,8 +7992,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3260__", + "parentId": "__FLD_119__", + "_id": "__REQ_2475__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deployment-status", @@ -7689,11 +8013,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3261__", + "parentId": "__FLD_119__", + "_id": "__REQ_2476__", "_type": "request", "name": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-dispatch-event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7705,8 +8029,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3262__", + "parentId": "__FLD_99__", + "_id": "__REQ_2477__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-events", @@ -7732,8 +8056,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3263__", + "parentId": "__FLD_119__", + "_id": "__REQ_2478__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-forks", @@ -7764,11 +8088,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3264__", + "parentId": "__FLD_119__", + "_id": "__REQ_2479__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7780,8 +8104,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3265__", + "parentId": "__FLD_107__", + "_id": "__REQ_2480__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-blob", @@ -7796,8 +8120,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3266__", + "parentId": "__FLD_107__", + "_id": "__REQ_2481__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-blob", @@ -7812,8 +8136,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3267__", + "parentId": "__FLD_107__", + "_id": "__REQ_2482__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit", @@ -7828,8 +8152,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3268__", + "parentId": "__FLD_107__", + "_id": "__REQ_2483__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-commit", @@ -7844,8 +8168,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3269__", + "parentId": "__FLD_107__", + "_id": "__REQ_2484__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#list-matching-references", @@ -7871,8 +8195,8 @@ ] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3270__", + "parentId": "__FLD_107__", + "_id": "__REQ_2485__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-reference", @@ -7887,8 +8211,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3271__", + "parentId": "__FLD_107__", + "_id": "__REQ_2486__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference", @@ -7903,8 +8227,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3272__", + "parentId": "__FLD_107__", + "_id": "__REQ_2487__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference", @@ -7919,8 +8243,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3273__", + "parentId": "__FLD_107__", + "_id": "__REQ_2488__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#delete-a-reference", @@ -7935,8 +8259,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3274__", + "parentId": "__FLD_107__", + "_id": "__REQ_2489__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tag-object", @@ -7951,8 +8275,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3275__", + "parentId": "__FLD_107__", + "_id": "__REQ_2490__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tag", @@ -7967,8 +8291,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3276__", + "parentId": "__FLD_107__", + "_id": "__REQ_2491__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@2.22/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#create-a-tree", @@ -7983,8 +8307,8 @@ "parameters": [] }, { - "parentId": "__FLD_140__", - "_id": "__REQ_3277__", + "parentId": "__FLD_107__", + "_id": "__REQ_2492__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/git#get-a-tree", @@ -8004,8 +8328,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3278__", + "parentId": "__FLD_119__", + "_id": "__REQ_2493__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-webhooks", @@ -8031,8 +8355,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3279__", + "parentId": "__FLD_119__", + "_id": "__REQ_2494__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-webhook", @@ -8047,8 +8371,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3280__", + "parentId": "__FLD_119__", + "_id": "__REQ_2495__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-webhook", @@ -8063,8 +8387,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3281__", + "parentId": "__FLD_119__", + "_id": "__REQ_2496__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-webhook", @@ -8079,8 +8403,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3282__", + "parentId": "__FLD_119__", + "_id": "__REQ_2497__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-webhook", @@ -8095,8 +8419,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3283__", + "parentId": "__FLD_119__", + "_id": "__REQ_2498__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@2.22/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#ping-a-repository-webhook", @@ -8111,8 +8435,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3284__", + "parentId": "__FLD_119__", + "_id": "__REQ_2499__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#test-the-push-repository-webhook", @@ -8127,11 +8451,11 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3285__", + "parentId": "__FLD_100__", + "_id": "__REQ_2500__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8143,8 +8467,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3286__", + "parentId": "__FLD_119__", + "_id": "__REQ_2501__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-invitations", @@ -8170,8 +8494,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3287__", + "parentId": "__FLD_119__", + "_id": "__REQ_2502__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-repository-invitation", @@ -8186,8 +8510,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3288__", + "parentId": "__FLD_119__", + "_id": "__REQ_2503__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-repository-invitation", @@ -8202,15 +8526,15 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3289__", + "parentId": "__FLD_109__", + "_id": "__REQ_2504__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8273,11 +8597,11 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3290__", + "parentId": "__FLD_109__", + "_id": "__REQ_2505__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8289,8 +8613,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3291__", + "parentId": "__FLD_109__", + "_id": "__REQ_2506__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments-for-a-repository", @@ -8334,15 +8658,15 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3292__", + "parentId": "__FLD_109__", + "_id": "__REQ_2507__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8355,8 +8679,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3293__", + "parentId": "__FLD_109__", + "_id": "__REQ_2508__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-an-issue-comment", @@ -8371,8 +8695,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3294__", + "parentId": "__FLD_109__", + "_id": "__REQ_2509__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-an-issue-comment", @@ -8387,11 +8711,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3295__", + "parentId": "__FLD_118__", + "_id": "__REQ_2510__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -8423,11 +8747,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3296__", + "parentId": "__FLD_118__", + "_id": "__REQ_2511__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -8444,11 +8768,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3297__", + "parentId": "__FLD_118__", + "_id": "__REQ_2512__", "_type": "request", "name": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-an-issue-comment-reaction", "headers": [ { "name": "Accept", @@ -8465,8 +8789,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3298__", + "parentId": "__FLD_109__", + "_id": "__REQ_2513__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events-for-a-repository", @@ -8497,8 +8821,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3299__", + "parentId": "__FLD_109__", + "_id": "__REQ_2514__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue-event", @@ -8518,11 +8842,11 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3300__", + "parentId": "__FLD_109__", + "_id": "__REQ_2515__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@2.22/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -8539,11 +8863,11 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3301__", + "parentId": "__FLD_109__", + "_id": "__REQ_2516__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8555,8 +8879,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3302__", + "parentId": "__FLD_109__", + "_id": "__REQ_2517__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-assignees-to-an-issue", @@ -8571,8 +8895,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3303__", + "parentId": "__FLD_109__", + "_id": "__REQ_2518__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-assignees-from-an-issue", @@ -8587,8 +8911,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3304__", + "parentId": "__FLD_109__", + "_id": "__REQ_2519__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-comments", @@ -8623,11 +8947,11 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3305__", + "parentId": "__FLD_109__", + "_id": "__REQ_2520__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8639,8 +8963,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3306__", + "parentId": "__FLD_109__", + "_id": "__REQ_2521__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-issue-events", @@ -8671,8 +8995,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3307__", + "parentId": "__FLD_109__", + "_id": "__REQ_2522__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-an-issue", @@ -8698,8 +9022,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3308__", + "parentId": "__FLD_109__", + "_id": "__REQ_2523__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#add-labels-to-an-issue", @@ -8714,8 +9038,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3309__", + "parentId": "__FLD_109__", + "_id": "__REQ_2524__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#set-labels-for-an-issue", @@ -8730,8 +9054,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3310__", + "parentId": "__FLD_109__", + "_id": "__REQ_2525__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-all-labels-from-an-issue", @@ -8746,8 +9070,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3311__", + "parentId": "__FLD_109__", + "_id": "__REQ_2526__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#remove-a-label-from-an-issue", @@ -8762,11 +9086,11 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3312__", + "parentId": "__FLD_109__", + "_id": "__REQ_2527__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#lock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8778,11 +9102,11 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3313__", + "parentId": "__FLD_109__", + "_id": "__REQ_2528__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8794,11 +9118,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3314__", + "parentId": "__FLD_118__", + "_id": "__REQ_2529__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -8830,11 +9154,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3315__", + "parentId": "__FLD_118__", + "_id": "__REQ_2530__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -8851,11 +9175,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3316__", + "parentId": "__FLD_118__", + "_id": "__REQ_2531__", "_type": "request", "name": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-an-issue-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@2.22/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-an-issue-reaction", "headers": [ { "name": "Accept", @@ -8872,8 +9196,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3317__", + "parentId": "__FLD_109__", + "_id": "__REQ_2532__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-timeline-events-for-an-issue", @@ -8904,8 +9228,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3318__", + "parentId": "__FLD_119__", + "_id": "__REQ_2533__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-deploy-keys", @@ -8931,8 +9255,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3319__", + "parentId": "__FLD_119__", + "_id": "__REQ_2534__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-deploy-key", @@ -8947,8 +9271,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3320__", + "parentId": "__FLD_119__", + "_id": "__REQ_2535__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-deploy-key", @@ -8963,8 +9287,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3321__", + "parentId": "__FLD_119__", + "_id": "__REQ_2536__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-deploy-key", @@ -8979,8 +9303,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3322__", + "parentId": "__FLD_109__", + "_id": "__REQ_2537__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-a-repository", @@ -9006,8 +9330,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3323__", + "parentId": "__FLD_109__", + "_id": "__REQ_2538__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-label", @@ -9022,8 +9346,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3324__", + "parentId": "__FLD_109__", + "_id": "__REQ_2539__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-label", @@ -9038,8 +9362,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3325__", + "parentId": "__FLD_109__", + "_id": "__REQ_2540__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-label", @@ -9054,8 +9378,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3326__", + "parentId": "__FLD_109__", + "_id": "__REQ_2541__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-label", @@ -9070,11 +9394,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3327__", + "parentId": "__FLD_119__", + "_id": "__REQ_2542__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9086,11 +9410,11 @@ "parameters": [] }, { - "parentId": "__FLD_143__", - "_id": "__REQ_3328__", + "parentId": "__FLD_110__", + "_id": "__REQ_2543__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9102,8 +9426,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3329__", + "parentId": "__FLD_119__", + "_id": "__REQ_2544__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#merge-a-branch", @@ -9118,8 +9442,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3330__", + "parentId": "__FLD_109__", + "_id": "__REQ_2545__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-milestones", @@ -9160,8 +9484,8 @@ ] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3331__", + "parentId": "__FLD_109__", + "_id": "__REQ_2546__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-a-milestone", @@ -9176,8 +9500,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3332__", + "parentId": "__FLD_109__", + "_id": "__REQ_2547__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#get-a-milestone", @@ -9192,8 +9516,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3333__", + "parentId": "__FLD_109__", + "_id": "__REQ_2548__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#update-a-milestone", @@ -9208,8 +9532,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3334__", + "parentId": "__FLD_109__", + "_id": "__REQ_2549__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#delete-a-milestone", @@ -9224,8 +9548,8 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3335__", + "parentId": "__FLD_109__", + "_id": "__REQ_2550__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -9251,8 +9575,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3336__", + "parentId": "__FLD_99__", + "_id": "__REQ_2551__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -9296,8 +9620,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3337__", + "parentId": "__FLD_99__", + "_id": "__REQ_2552__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#mark-repository-notifications-as-read", @@ -9312,8 +9636,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3338__", + "parentId": "__FLD_119__", + "_id": "__REQ_2553__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-github-pages-site", @@ -9328,8 +9652,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3339__", + "parentId": "__FLD_119__", + "_id": "__REQ_2554__", "_type": "request", "name": "Create a GitHub Enterprise Server Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-github-pages-site", @@ -9349,8 +9673,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3340__", + "parentId": "__FLD_119__", + "_id": "__REQ_2555__", "_type": "request", "name": "Update information about a GitHub Enterprise Server Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-information-about-a-github-pages-site", @@ -9365,8 +9689,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3341__", + "parentId": "__FLD_119__", + "_id": "__REQ_2556__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-github-pages-site", @@ -9386,8 +9710,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3342__", + "parentId": "__FLD_119__", + "_id": "__REQ_2557__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-github-pages-builds", @@ -9413,8 +9737,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3343__", + "parentId": "__FLD_119__", + "_id": "__REQ_2558__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#request-a-github-pages-build", @@ -9429,8 +9753,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3344__", + "parentId": "__FLD_119__", + "_id": "__REQ_2559__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-latest-pages-build", @@ -9445,8 +9769,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3345__", + "parentId": "__FLD_119__", + "_id": "__REQ_2560__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-github-pages-build", @@ -9461,8 +9785,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3346__", + "parentId": "__FLD_105__", + "_id": "__REQ_2561__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -9489,12 +9813,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3347__", + "parentId": "__FLD_105__", + "_id": "__REQ_2562__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -9514,8 +9848,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3348__", + "parentId": "__FLD_105__", + "_id": "__REQ_2563__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -9535,8 +9869,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3349__", + "parentId": "__FLD_105__", + "_id": "__REQ_2564__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -9556,11 +9890,11 @@ "parameters": [] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3350__", + "parentId": "__FLD_115__", + "_id": "__REQ_2565__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -9593,11 +9927,11 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3351__", + "parentId": "__FLD_115__", + "_id": "__REQ_2566__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -9614,11 +9948,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3352__", + "parentId": "__FLD_116__", + "_id": "__REQ_2567__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9663,11 +9997,11 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3353__", + "parentId": "__FLD_116__", + "_id": "__REQ_2568__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9679,15 +10013,15 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3354__", + "parentId": "__FLD_116__", + "_id": "__REQ_2569__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-in-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -9700,7 +10034,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -9724,15 +10057,15 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3355__", + "parentId": "__FLD_116__", + "_id": "__REQ_2570__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -9745,8 +10078,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3356__", + "parentId": "__FLD_116__", + "_id": "__REQ_2571__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -9766,8 +10099,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3357__", + "parentId": "__FLD_116__", + "_id": "__REQ_2572__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -9782,11 +10115,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3358__", + "parentId": "__FLD_118__", + "_id": "__REQ_2573__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -9818,11 +10151,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3359__", + "parentId": "__FLD_118__", + "_id": "__REQ_2574__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -9839,11 +10172,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3360__", + "parentId": "__FLD_118__", + "_id": "__REQ_2575__", "_type": "request", "name": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#delete-a-pull-request-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions#delete-a-pull-request-comment-reaction", "headers": [ { "name": "Accept", @@ -9860,11 +10193,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3361__", + "parentId": "__FLD_116__", + "_id": "__REQ_2576__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@2.22/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9876,11 +10209,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3362__", + "parentId": "__FLD_116__", + "_id": "__REQ_2577__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls/#update-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9892,15 +10225,15 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3363__", + "parentId": "__FLD_116__", + "_id": "__REQ_2578__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-review-comments-on-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -9937,17 +10270,12 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3364__", + "parentId": "__FLD_116__", + "_id": "__REQ_2579__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@2.22/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9958,11 +10286,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3365__", + "parentId": "__FLD_116__", + "_id": "__REQ_2580__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9974,11 +10302,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3366__", + "parentId": "__FLD_116__", + "_id": "__REQ_2581__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10001,11 +10329,11 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3367__", + "parentId": "__FLD_116__", + "_id": "__REQ_2582__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10028,11 +10356,11 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3368__", + "parentId": "__FLD_116__", + "_id": "__REQ_2583__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10044,11 +10372,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3369__", + "parentId": "__FLD_116__", + "_id": "__REQ_2584__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#merge-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10060,8 +10388,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3370__", + "parentId": "__FLD_116__", + "_id": "__REQ_2585__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -10087,11 +10415,11 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3371__", + "parentId": "__FLD_116__", + "_id": "__REQ_2586__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@2.22/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10103,8 +10431,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3372__", + "parentId": "__FLD_116__", + "_id": "__REQ_2587__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -10119,8 +10447,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3373__", + "parentId": "__FLD_116__", + "_id": "__REQ_2588__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -10146,11 +10474,11 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3374__", + "parentId": "__FLD_116__", + "_id": "__REQ_2589__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10162,8 +10490,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3375__", + "parentId": "__FLD_116__", + "_id": "__REQ_2590__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -10178,8 +10506,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3376__", + "parentId": "__FLD_116__", + "_id": "__REQ_2591__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -10194,8 +10522,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3377__", + "parentId": "__FLD_116__", + "_id": "__REQ_2592__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -10210,8 +10538,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3378__", + "parentId": "__FLD_116__", + "_id": "__REQ_2593__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -10237,8 +10565,8 @@ ] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3379__", + "parentId": "__FLD_116__", + "_id": "__REQ_2594__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -10253,8 +10581,8 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3380__", + "parentId": "__FLD_116__", + "_id": "__REQ_2595__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -10269,11 +10597,11 @@ "parameters": [] }, { - "parentId": "__FLD_149__", - "_id": "__REQ_3381__", + "parentId": "__FLD_116__", + "_id": "__REQ_2596__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -10290,8 +10618,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3382__", + "parentId": "__FLD_119__", + "_id": "__REQ_2597__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-readme", @@ -10311,8 +10639,29 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3383__", + "parentId": "__FLD_119__", + "_id": "__REQ_2598__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2599__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-releases", @@ -10338,11 +10687,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3384__", + "parentId": "__FLD_119__", + "_id": "__REQ_2600__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10354,8 +10703,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3385__", + "parentId": "__FLD_119__", + "_id": "__REQ_2601__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-asset", @@ -10370,8 +10719,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3386__", + "parentId": "__FLD_119__", + "_id": "__REQ_2602__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release-asset", @@ -10386,8 +10735,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3387__", + "parentId": "__FLD_119__", + "_id": "__REQ_2603__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-release-asset", @@ -10402,8 +10751,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3388__", + "parentId": "__FLD_119__", + "_id": "__REQ_2604__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-latest-release", @@ -10418,8 +10767,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3389__", + "parentId": "__FLD_119__", + "_id": "__REQ_2605__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release-by-tag-name", @@ -10434,8 +10783,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3390__", + "parentId": "__FLD_119__", + "_id": "__REQ_2606__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-release", @@ -10450,8 +10799,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3391__", + "parentId": "__FLD_119__", + "_id": "__REQ_2607__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#update-a-release", @@ -10466,8 +10815,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3392__", + "parentId": "__FLD_119__", + "_id": "__REQ_2608__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#delete-a-release", @@ -10482,8 +10831,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3393__", + "parentId": "__FLD_119__", + "_id": "__REQ_2609__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-release-assets", @@ -10509,11 +10858,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3394__", + "parentId": "__FLD_119__", + "_id": "__REQ_2610__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10534,8 +10883,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3395__", + "parentId": "__FLD_99__", + "_id": "__REQ_2611__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-stargazers", @@ -10561,8 +10910,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3396__", + "parentId": "__FLD_119__", + "_id": "__REQ_2612__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-weekly-commit-activity", @@ -10577,8 +10926,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3397__", + "parentId": "__FLD_119__", + "_id": "__REQ_2613__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -10593,8 +10942,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3398__", + "parentId": "__FLD_119__", + "_id": "__REQ_2614__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-contributor-commit-activity", @@ -10609,8 +10958,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3399__", + "parentId": "__FLD_119__", + "_id": "__REQ_2615__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-weekly-commit-count", @@ -10625,8 +10974,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3400__", + "parentId": "__FLD_119__", + "_id": "__REQ_2616__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -10641,8 +10990,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3401__", + "parentId": "__FLD_119__", + "_id": "__REQ_2617__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-commit-status", @@ -10657,8 +11006,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3402__", + "parentId": "__FLD_99__", + "_id": "__REQ_2618__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-watchers", @@ -10684,8 +11033,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3403__", + "parentId": "__FLD_99__", + "_id": "__REQ_2619__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#get-a-repository-subscription", @@ -10700,8 +11049,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3404__", + "parentId": "__FLD_99__", + "_id": "__REQ_2620__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-repository-subscription", @@ -10716,8 +11065,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3405__", + "parentId": "__FLD_99__", + "_id": "__REQ_2621__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@2.22/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#delete-a-repository-subscription", @@ -10732,11 +11081,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3406__", + "parentId": "__FLD_119__", + "_id": "__REQ_2622__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10759,8 +11108,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3407__", + "parentId": "__FLD_119__", + "_id": "__REQ_2623__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#download-a-repository-archive", @@ -10775,11 +11124,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3408__", + "parentId": "__FLD_119__", + "_id": "__REQ_2624__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10802,11 +11151,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3409__", + "parentId": "__FLD_119__", + "_id": "__REQ_2625__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -10820,14 +11169,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3410__", + "parentId": "__FLD_119__", + "_id": "__REQ_2626__", "_type": "request", "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#replace-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -10844,11 +11204,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3411__", + "parentId": "__FLD_119__", + "_id": "__REQ_2627__", "_type": "request", "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#transfer-a-repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#transfer-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10860,50 +11220,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3412__", - "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_152__", - "_id": "__REQ_3413__", - "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_152__", - "_id": "__REQ_3414__", + "parentId": "__FLD_119__", + "_id": "__REQ_2628__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#download-a-repository-archive", @@ -10918,11 +11236,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3415__", + "parentId": "__FLD_119__", + "_id": "__REQ_2629__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -10939,11 +11257,11 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3416__", + "parentId": "__FLD_119__", + "_id": "__REQ_2630__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10965,11 +11283,11 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3417__", + "parentId": "__FLD_120__", + "_id": "__REQ_2631__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11005,11 +11323,11 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3418__", + "parentId": "__FLD_120__", + "_id": "__REQ_2632__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -11050,11 +11368,11 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3419__", + "parentId": "__FLD_120__", + "_id": "__REQ_2633__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11090,11 +11408,11 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3420__", + "parentId": "__FLD_120__", + "_id": "__REQ_2634__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11120,15 +11438,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3421__", + "parentId": "__FLD_120__", + "_id": "__REQ_2635__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -11169,11 +11497,11 @@ ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3422__", + "parentId": "__FLD_120__", + "_id": "__REQ_2636__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -11191,15 +11519,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_153__", - "_id": "__REQ_3423__", + "parentId": "__FLD_120__", + "_id": "__REQ_2637__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@2.22/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11235,8 +11573,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3424__", + "parentId": "__FLD_105__", + "_id": "__REQ_2638__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-configuration-status", @@ -11251,8 +11589,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3425__", + "parentId": "__FLD_105__", + "_id": "__REQ_2639__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-configuration-process", @@ -11267,8 +11605,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3426__", + "parentId": "__FLD_105__", + "_id": "__REQ_2640__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -11283,11 +11621,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3427__", + "parentId": "__FLD_105__", + "_id": "__REQ_2641__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11299,8 +11637,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3428__", + "parentId": "__FLD_105__", + "_id": "__REQ_2642__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings", @@ -11315,11 +11653,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3429__", + "parentId": "__FLD_105__", + "_id": "__REQ_2643__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11331,8 +11669,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3430__", + "parentId": "__FLD_105__", + "_id": "__REQ_2644__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -11347,11 +11685,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3431__", + "parentId": "__FLD_105__", + "_id": "__REQ_2645__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11363,11 +11701,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3432__", + "parentId": "__FLD_105__", + "_id": "__REQ_2646__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11379,11 +11717,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3433__", + "parentId": "__FLD_105__", + "_id": "__REQ_2647__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11395,11 +11733,11 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3434__", + "parentId": "__FLD_105__", + "_id": "__REQ_2648__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11411,11 +11749,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3435__", + "parentId": "__FLD_121__", + "_id": "__REQ_2649__", "_type": "request", "name": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#get-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#get-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11427,11 +11765,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3436__", + "parentId": "__FLD_121__", + "_id": "__REQ_2650__", "_type": "request", "name": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#update-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#update-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11443,11 +11781,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3437__", + "parentId": "__FLD_121__", + "_id": "__REQ_2651__", "_type": "request", "name": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#delete-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#delete-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11459,8 +11797,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3438__", + "parentId": "__FLD_121__", + "_id": "__REQ_2652__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussions-legacy", @@ -11496,11 +11834,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3439__", + "parentId": "__FLD_121__", + "_id": "__REQ_2653__", "_type": "request", "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-legacy", "headers": [ { "name": "Accept", @@ -11517,8 +11855,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3440__", + "parentId": "__FLD_121__", + "_id": "__REQ_2654__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-legacy", @@ -11538,8 +11876,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3441__", + "parentId": "__FLD_121__", + "_id": "__REQ_2655__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-legacy", @@ -11559,8 +11897,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3442__", + "parentId": "__FLD_121__", + "_id": "__REQ_2656__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-legacy", @@ -11575,8 +11913,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3443__", + "parentId": "__FLD_121__", + "_id": "__REQ_2657__", "_type": "request", "name": "List discussion comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-discussion-comments-legacy", @@ -11612,11 +11950,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3444__", + "parentId": "__FLD_121__", + "_id": "__REQ_2658__", "_type": "request", "name": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@2.22/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -11633,8 +11971,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3445__", + "parentId": "__FLD_121__", + "_id": "__REQ_2659__", "_type": "request", "name": "Get a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-a-discussion-comment-legacy", @@ -11654,8 +11992,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3446__", + "parentId": "__FLD_121__", + "_id": "__REQ_2660__", "_type": "request", "name": "Update a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#update-a-discussion-comment-legacy", @@ -11675,8 +12013,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3447__", + "parentId": "__FLD_121__", + "_id": "__REQ_2661__", "_type": "request", "name": "Delete a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#delete-a-discussion-comment-legacy", @@ -11691,11 +12029,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3448__", + "parentId": "__FLD_118__", + "_id": "__REQ_2662__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -11727,11 +12065,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3449__", + "parentId": "__FLD_118__", + "_id": "__REQ_2663__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -11748,11 +12086,11 @@ "parameters": [] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3450__", + "parentId": "__FLD_118__", + "_id": "__REQ_2664__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -11784,11 +12122,11 @@ ] }, { - "parentId": "__FLD_151__", - "_id": "__REQ_3451__", + "parentId": "__FLD_118__", + "_id": "__REQ_2665__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@2.22/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -11805,8 +12143,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3452__", + "parentId": "__FLD_121__", + "_id": "__REQ_2666__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-members-legacy", @@ -11837,8 +12175,8 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3453__", + "parentId": "__FLD_121__", + "_id": "__REQ_2667__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-member-legacy", @@ -11853,8 +12191,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3454__", + "parentId": "__FLD_121__", + "_id": "__REQ_2668__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-team-member-legacy", @@ -11869,8 +12207,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3455__", + "parentId": "__FLD_121__", + "_id": "__REQ_2669__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-member-legacy", @@ -11885,11 +12223,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3456__", + "parentId": "__FLD_121__", + "_id": "__REQ_2670__", "_type": "request", "name": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#get-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11901,8 +12239,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3457__", + "parentId": "__FLD_121__", + "_id": "__REQ_2671__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", @@ -11917,8 +12255,8 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3458__", + "parentId": "__FLD_121__", + "_id": "__REQ_2672__", "_type": "request", "name": "Remove team membership for a user (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-team-membership-for-a-user-legacy", @@ -11933,11 +12271,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3459__", + "parentId": "__FLD_121__", + "_id": "__REQ_2673__", "_type": "request", "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-projects-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#list-team-projects-legacy", "headers": [ { "name": "Accept", @@ -11965,11 +12303,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3460__", + "parentId": "__FLD_121__", + "_id": "__REQ_2674__", "_type": "request", "name": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-project-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#check-team-permissions-for-a-project-legacy", "headers": [ { "name": "Accept", @@ -11986,11 +12324,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3461__", + "parentId": "__FLD_121__", + "_id": "__REQ_2675__", "_type": "request", "name": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-project-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#add-or-update-team-project-permissions-legacy", "headers": [ { "name": "Accept", @@ -12007,11 +12345,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3462__", + "parentId": "__FLD_121__", + "_id": "__REQ_2676__", "_type": "request", "name": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-project-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12023,11 +12361,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3463__", + "parentId": "__FLD_121__", + "_id": "__REQ_2677__", "_type": "request", "name": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-team-repositories-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#list-team-repositories-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12050,11 +12388,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3464__", + "parentId": "__FLD_121__", + "_id": "__REQ_2678__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#check-team-permissions-for-a-repository-legacy", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12066,11 +12404,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3465__", + "parentId": "__FLD_121__", + "_id": "__REQ_2679__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#add-or-update-team-repository-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12082,11 +12420,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3466__", + "parentId": "__FLD_121__", + "_id": "__REQ_2680__", "_type": "request", "name": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#remove-a-repository-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12098,11 +12436,11 @@ "parameters": [] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3467__", + "parentId": "__FLD_121__", + "_id": "__REQ_2681__", "_type": "request", "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-child-teams-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams/#list-child-teams-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12125,11 +12463,11 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3468__", + "parentId": "__FLD_122__", + "_id": "__REQ_2682__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12141,11 +12479,11 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3469__", + "parentId": "__FLD_122__", + "_id": "__REQ_2683__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12157,8 +12495,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3470__", + "parentId": "__FLD_122__", + "_id": "__REQ_2684__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -12184,8 +12522,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3471__", + "parentId": "__FLD_122__", + "_id": "__REQ_2685__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -12200,8 +12538,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3472__", + "parentId": "__FLD_122__", + "_id": "__REQ_2686__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -12216,8 +12554,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3473__", + "parentId": "__FLD_122__", + "_id": "__REQ_2687__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-followers-of-the-authenticated-user", @@ -12243,8 +12581,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3474__", + "parentId": "__FLD_122__", + "_id": "__REQ_2688__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -12270,8 +12608,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3475__", + "parentId": "__FLD_122__", + "_id": "__REQ_2689__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -12286,8 +12624,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3476__", + "parentId": "__FLD_122__", + "_id": "__REQ_2690__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#follow-a-user", @@ -12302,8 +12640,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3477__", + "parentId": "__FLD_122__", + "_id": "__REQ_2691__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#unfollow-a-user", @@ -12318,8 +12656,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3478__", + "parentId": "__FLD_122__", + "_id": "__REQ_2692__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -12345,8 +12683,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3479__", + "parentId": "__FLD_122__", + "_id": "__REQ_2693__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -12361,8 +12699,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3480__", + "parentId": "__FLD_122__", + "_id": "__REQ_2694__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -12377,8 +12715,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3481__", + "parentId": "__FLD_122__", + "_id": "__REQ_2695__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -12393,8 +12731,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3482__", + "parentId": "__FLD_100__", + "_id": "__REQ_2696__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -12420,17 +12758,12 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3483__", + "parentId": "__FLD_100__", + "_id": "__REQ_2697__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -12452,8 +12785,8 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3484__", + "parentId": "__FLD_100__", + "_id": "__REQ_2698__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.22/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -12468,8 +12801,8 @@ "parameters": [] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3485__", + "parentId": "__FLD_100__", + "_id": "__REQ_2699__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@2.22/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -12484,15 +12817,15 @@ "parameters": [] }, { - "parentId": "__FLD_142__", - "_id": "__REQ_3486__", + "parentId": "__FLD_109__", + "_id": "__REQ_2700__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@2.22/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -12544,8 +12877,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3487__", + "parentId": "__FLD_122__", + "_id": "__REQ_2701__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -12571,8 +12904,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3488__", + "parentId": "__FLD_122__", + "_id": "__REQ_2702__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -12587,8 +12920,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3489__", + "parentId": "__FLD_122__", + "_id": "__REQ_2703__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -12603,8 +12936,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3490__", + "parentId": "__FLD_122__", + "_id": "__REQ_2704__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -12619,8 +12952,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3491__", + "parentId": "__FLD_114__", + "_id": "__REQ_2705__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -12650,8 +12983,8 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3492__", + "parentId": "__FLD_114__", + "_id": "__REQ_2706__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -12666,8 +12999,8 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3493__", + "parentId": "__FLD_114__", + "_id": "__REQ_2707__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -12682,11 +13015,11 @@ "parameters": [] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3494__", + "parentId": "__FLD_114__", + "_id": "__REQ_2708__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12709,11 +13042,11 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3495__", + "parentId": "__FLD_115__", + "_id": "__REQ_2709__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -12730,8 +13063,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3496__", + "parentId": "__FLD_122__", + "_id": "__REQ_2710__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -12757,11 +13090,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3497__", + "parentId": "__FLD_119__", + "_id": "__REQ_2711__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12816,11 +13149,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3498__", + "parentId": "__FLD_119__", + "_id": "__REQ_2712__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -12837,8 +13170,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3499__", + "parentId": "__FLD_119__", + "_id": "__REQ_2713__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -12864,8 +13197,8 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3500__", + "parentId": "__FLD_119__", + "_id": "__REQ_2714__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#accept-a-repository-invitation", @@ -12880,8 +13213,8 @@ "parameters": [] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3501__", + "parentId": "__FLD_119__", + "_id": "__REQ_2715__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#decline-a-repository-invitation", @@ -12896,8 +13229,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3502__", + "parentId": "__FLD_99__", + "_id": "__REQ_2716__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -12933,8 +13266,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3503__", + "parentId": "__FLD_99__", + "_id": "__REQ_2717__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -12949,8 +13282,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3504__", + "parentId": "__FLD_99__", + "_id": "__REQ_2718__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -12965,8 +13298,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3505__", + "parentId": "__FLD_99__", + "_id": "__REQ_2719__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -12981,8 +13314,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3506__", + "parentId": "__FLD_99__", + "_id": "__REQ_2720__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -13008,11 +13341,11 @@ ] }, { - "parentId": "__FLD_154__", - "_id": "__REQ_3507__", + "parentId": "__FLD_121__", + "_id": "__REQ_2721__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@2.22/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13035,11 +13368,11 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3508__", + "parentId": "__FLD_122__", + "_id": "__REQ_2722__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13061,11 +13394,11 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3509__", + "parentId": "__FLD_122__", + "_id": "__REQ_2723__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.22/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@2.22/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13077,8 +13410,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3510__", + "parentId": "__FLD_99__", + "_id": "__REQ_2724__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-events-for-the-authenticated-user", @@ -13104,8 +13437,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3511__", + "parentId": "__FLD_99__", + "_id": "__REQ_2725__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -13131,8 +13464,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3512__", + "parentId": "__FLD_99__", + "_id": "__REQ_2726__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-for-a-user", @@ -13158,8 +13491,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3513__", + "parentId": "__FLD_122__", + "_id": "__REQ_2727__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-followers-of-a-user", @@ -13185,8 +13518,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3514__", + "parentId": "__FLD_122__", + "_id": "__REQ_2728__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-the-people-a-user-follows", @@ -13212,8 +13545,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3515__", + "parentId": "__FLD_122__", + "_id": "__REQ_2729__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#check-if-a-user-follows-another-user", @@ -13228,11 +13561,11 @@ "parameters": [] }, { - "parentId": "__FLD_139__", - "_id": "__REQ_3516__", + "parentId": "__FLD_106__", + "_id": "__REQ_2730__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.22/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13259,8 +13592,8 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3517__", + "parentId": "__FLD_122__", + "_id": "__REQ_2731__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-gpg-keys-for-a-user", @@ -13286,11 +13619,11 @@ ] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3518__", + "parentId": "__FLD_122__", + "_id": "__REQ_2732__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.22/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13311,11 +13644,11 @@ ] }, { - "parentId": "__FLD_133__", - "_id": "__REQ_3519__", + "parentId": "__FLD_100__", + "_id": "__REQ_2733__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@2.22/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13327,8 +13660,8 @@ "parameters": [] }, { - "parentId": "__FLD_155__", - "_id": "__REQ_3520__", + "parentId": "__FLD_122__", + "_id": "__REQ_2734__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/users#list-public-keys-for-a-user", @@ -13354,11 +13687,11 @@ ] }, { - "parentId": "__FLD_147__", - "_id": "__REQ_3521__", + "parentId": "__FLD_114__", + "_id": "__REQ_2735__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13381,11 +13714,11 @@ ] }, { - "parentId": "__FLD_148__", - "_id": "__REQ_3522__", + "parentId": "__FLD_115__", + "_id": "__REQ_2736__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -13418,8 +13751,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3523__", + "parentId": "__FLD_99__", + "_id": "__REQ_2737__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -13445,8 +13778,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3524__", + "parentId": "__FLD_99__", + "_id": "__REQ_2738__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-public-events-received-by-a-user", @@ -13472,11 +13805,11 @@ ] }, { - "parentId": "__FLD_152__", - "_id": "__REQ_3525__", + "parentId": "__FLD_119__", + "_id": "__REQ_2739__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.22/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -13518,8 +13851,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3526__", + "parentId": "__FLD_105__", + "_id": "__REQ_2740__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -13534,8 +13867,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3527__", + "parentId": "__FLD_105__", + "_id": "__REQ_2741__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -13550,8 +13883,8 @@ "parameters": [] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3528__", + "parentId": "__FLD_99__", + "_id": "__REQ_2742__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-starred-by-a-user", @@ -13587,8 +13920,8 @@ ] }, { - "parentId": "__FLD_132__", - "_id": "__REQ_3529__", + "parentId": "__FLD_99__", + "_id": "__REQ_2743__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/activity#list-repositories-watched-by-a-user", @@ -13614,8 +13947,8 @@ ] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3530__", + "parentId": "__FLD_105__", + "_id": "__REQ_2744__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@2.22/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#suspend-a-user", @@ -13630,8 +13963,8 @@ "parameters": [] }, { - "parentId": "__FLD_138__", - "_id": "__REQ_3531__", + "parentId": "__FLD_105__", + "_id": "__REQ_2745__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@2.22/rest/reference/enterprise-admin#unsuspend-a-user", @@ -13646,8 +13979,8 @@ "parameters": [] }, { - "parentId": "__FLD_145__", - "_id": "__REQ_3532__", + "parentId": "__FLD_112__", + "_id": "__REQ_2746__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-3.0.json b/routes/ghes-3.0.json index 97cca4f..c6bff54 100644 --- a/routes/ghes-3.0.json +++ b/routes/ghes-3.0.json @@ -1,16 +1,16 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.971Z", + "__export_date": "2022-08-22T01:15:59.761Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_104__", + "_id": "__FLD_123__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "{protocol}://{hostname}/api/v3", "access_token": "", "alert_number": 0, "app_slug": "", @@ -19,7 +19,7 @@ "asset_id": 0, "assignee": "", "authorization_id": 0, - "base": "", + "basehead": "", "branch": "", "build_id": 0, "card_id": 0, @@ -33,6 +33,7 @@ "commit_sha": "", "content_reference_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, "enterprise": "", "event_id": 0, @@ -41,7 +42,6 @@ "gist_id": "", "gpg_key_id": 0, "grant_id": 0, - "head": "", "hook_id": 0, "installation_id": 0, "invitation_id": 0, @@ -83,167 +83,166 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", "username": "", "workflow_id": "workflow_id" } }, { - "parentId": "__FLD_104__", - "_id": "__FLD_105__", + "parentId": "__FLD_123__", + "_id": "__FLD_124__", "_type": "request_group", "name": "actions" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_106__", + "parentId": "__FLD_123__", + "_id": "__FLD_125__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_107__", + "parentId": "__FLD_123__", + "_id": "__FLD_126__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_108__", + "parentId": "__FLD_123__", + "_id": "__FLD_127__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_109__", + "parentId": "__FLD_123__", + "_id": "__FLD_128__", "_type": "request_group", "name": "code-scanning" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_110__", + "parentId": "__FLD_123__", + "_id": "__FLD_129__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_111__", + "parentId": "__FLD_123__", + "_id": "__FLD_130__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_112__", + "parentId": "__FLD_123__", + "_id": "__FLD_131__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_113__", + "parentId": "__FLD_123__", + "_id": "__FLD_132__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_114__", + "parentId": "__FLD_123__", + "_id": "__FLD_133__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_115__", + "parentId": "__FLD_123__", + "_id": "__FLD_134__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_116__", + "parentId": "__FLD_123__", + "_id": "__FLD_135__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_117__", + "parentId": "__FLD_123__", + "_id": "__FLD_136__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_118__", + "parentId": "__FLD_123__", + "_id": "__FLD_137__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_119__", + "parentId": "__FLD_123__", + "_id": "__FLD_138__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_120__", + "parentId": "__FLD_123__", + "_id": "__FLD_139__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_121__", + "parentId": "__FLD_123__", + "_id": "__FLD_140__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_122__", + "parentId": "__FLD_123__", + "_id": "__FLD_141__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_123__", + "parentId": "__FLD_123__", + "_id": "__FLD_142__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_124__", + "parentId": "__FLD_123__", + "_id": "__FLD_143__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_125__", + "parentId": "__FLD_123__", + "_id": "__FLD_144__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_126__", + "parentId": "__FLD_123__", + "_id": "__FLD_145__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_127__", + "parentId": "__FLD_123__", + "_id": "__FLD_146__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_128__", + "parentId": "__FLD_123__", + "_id": "__FLD_147__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_104__", - "_id": "__FLD_129__", + "parentId": "__FLD_123__", + "_id": "__FLD_148__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2237__", + "parentId": "__FLD_138__", + "_id": "__REQ_2747__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -255,8 +254,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2238__", + "parentId": "__FLD_131__", + "_id": "__REQ_2748__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-global-webhooks", @@ -287,8 +286,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2239__", + "parentId": "__FLD_131__", + "_id": "__REQ_2749__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-global-webhook", @@ -308,8 +307,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2240__", + "parentId": "__FLD_131__", + "_id": "__REQ_2750__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-global-webhook", @@ -329,8 +328,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2241__", + "parentId": "__FLD_131__", + "_id": "__REQ_2751__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-global-webhook", @@ -350,8 +349,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2242__", + "parentId": "__FLD_131__", + "_id": "__REQ_2752__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-global-webhook", @@ -371,8 +370,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2243__", + "parentId": "__FLD_131__", + "_id": "__REQ_2753__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#ping-a-global-webhook", @@ -392,8 +391,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2244__", + "parentId": "__FLD_131__", + "_id": "__REQ_2754__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-public-keys", @@ -415,12 +414,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2245__", + "parentId": "__FLD_131__", + "_id": "__REQ_2755__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-public-key", @@ -435,11 +448,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2246__", + "parentId": "__FLD_131__", + "_id": "__REQ_2756__", "_type": "request", "name": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", "headers": [ { "name": "Accept", @@ -456,8 +469,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2247__", + "parentId": "__FLD_131__", + "_id": "__REQ_2757__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", @@ -472,8 +485,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2248__", + "parentId": "__FLD_131__", + "_id": "__REQ_2758__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", @@ -488,8 +501,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2249__", + "parentId": "__FLD_131__", + "_id": "__REQ_2759__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", @@ -504,8 +517,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2250__", + "parentId": "__FLD_131__", + "_id": "__REQ_2760__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-organization", @@ -520,8 +533,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2251__", + "parentId": "__FLD_131__", + "_id": "__REQ_2761__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-an-organization-name", @@ -536,8 +549,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2252__", + "parentId": "__FLD_131__", + "_id": "__REQ_2762__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-environments", @@ -564,12 +577,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2253__", + "parentId": "__FLD_131__", + "_id": "__REQ_2763__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-environment", @@ -589,8 +612,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2254__", + "parentId": "__FLD_131__", + "_id": "__REQ_2764__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-environment", @@ -610,8 +633,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2255__", + "parentId": "__FLD_131__", + "_id": "__REQ_2765__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-environment", @@ -631,8 +654,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2256__", + "parentId": "__FLD_131__", + "_id": "__REQ_2766__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-environment", @@ -652,8 +675,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2257__", + "parentId": "__FLD_131__", + "_id": "__REQ_2767__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", @@ -673,8 +696,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2258__", + "parentId": "__FLD_131__", + "_id": "__REQ_2768__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", @@ -694,8 +717,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2259__", + "parentId": "__FLD_131__", + "_id": "__REQ_2769__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks", @@ -722,12 +745,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2260__", + "parentId": "__FLD_131__", + "_id": "__REQ_2770__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-pre-receive-hook", @@ -747,8 +780,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2261__", + "parentId": "__FLD_131__", + "_id": "__REQ_2771__", "_type": "request", "name": "Get a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook", @@ -768,8 +801,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2262__", + "parentId": "__FLD_131__", + "_id": "__REQ_2772__", "_type": "request", "name": "Update a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-pre-receive-hook", @@ -789,8 +822,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2263__", + "parentId": "__FLD_131__", + "_id": "__REQ_2773__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-pre-receive-hook", @@ -810,8 +843,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2264__", + "parentId": "__FLD_131__", + "_id": "__REQ_2774__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -837,8 +870,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2265__", + "parentId": "__FLD_131__", + "_id": "__REQ_2775__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -853,8 +886,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2266__", + "parentId": "__FLD_131__", + "_id": "__REQ_2776__", "_type": "request", "name": "Create a user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-user", @@ -869,8 +902,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2267__", + "parentId": "__FLD_131__", + "_id": "__REQ_2777__", "_type": "request", "name": "Update the username for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-the-username-for-a-user", @@ -885,8 +918,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2268__", + "parentId": "__FLD_131__", + "_id": "__REQ_2778__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-user", @@ -901,8 +934,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2269__", + "parentId": "__FLD_131__", + "_id": "__REQ_2779__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -917,8 +950,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2270__", + "parentId": "__FLD_131__", + "_id": "__REQ_2780__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -933,11 +966,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2271__", + "parentId": "__FLD_126__", + "_id": "__REQ_2781__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -949,11 +982,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2272__", + "parentId": "__FLD_126__", + "_id": "__REQ_2782__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -965,11 +998,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2273__", + "parentId": "__FLD_126__", + "_id": "__REQ_2783__", "_type": "request", "name": "Get a webhook configuration for an app", - "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#get-a-webhook-configuration-for-an-app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -981,11 +1014,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2274__", + "parentId": "__FLD_126__", + "_id": "__REQ_2784__", "_type": "request", "name": "Update a webhook configuration for an app", - "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps#update-a-webhook-configuration-for-an-app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#update-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -997,11 +1030,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2275__", + "parentId": "__FLD_126__", + "_id": "__REQ_2785__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1032,11 +1065,11 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2276__", + "parentId": "__FLD_126__", + "_id": "__REQ_2786__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1048,11 +1081,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2277__", + "parentId": "__FLD_126__", + "_id": "__REQ_2787__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.0/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.0/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1064,11 +1097,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2278__", + "parentId": "__FLD_126__", + "_id": "__REQ_2788__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1080,8 +1113,40 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2279__", + "parentId": "__FLD_126__", + "_id": "__REQ_2789__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_126__", + "_id": "__REQ_2790__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_139__", + "_id": "__REQ_2791__", "_type": "request", "name": "List your grants", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-grants", @@ -1103,12 +1168,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2280__", + "parentId": "__FLD_139__", + "_id": "__REQ_2792__", "_type": "request", "name": "Get a single grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-grant", @@ -1123,8 +1192,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2281__", + "parentId": "__FLD_139__", + "_id": "__REQ_2793__", "_type": "request", "name": "Delete a grant", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-a-grant", @@ -1139,8 +1208,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2282__", + "parentId": "__FLD_126__", + "_id": "__REQ_2794__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-authorization", @@ -1155,8 +1224,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2283__", + "parentId": "__FLD_126__", + "_id": "__REQ_2795__", "_type": "request", "name": "Revoke a grant for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-a-grant-for-an-application", @@ -1171,8 +1240,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2284__", + "parentId": "__FLD_126__", + "_id": "__REQ_2796__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-a-token", @@ -1187,8 +1256,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2285__", + "parentId": "__FLD_126__", + "_id": "__REQ_2797__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-a-token", @@ -1203,8 +1272,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2286__", + "parentId": "__FLD_126__", + "_id": "__REQ_2798__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#delete-an-app-token", @@ -1219,11 +1288,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2287__", + "parentId": "__FLD_126__", + "_id": "__REQ_2799__", "_type": "request", "name": "Create a scoped access token", - "description": "Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-scoped-access-token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-scoped-access-token", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1235,8 +1304,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2288__", + "parentId": "__FLD_126__", + "_id": "__REQ_2800__", "_type": "request", "name": "Check an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#check-an-authorization", @@ -1251,8 +1320,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2289__", + "parentId": "__FLD_126__", + "_id": "__REQ_2801__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#reset-an-authorization", @@ -1267,8 +1336,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2290__", + "parentId": "__FLD_126__", + "_id": "__REQ_2802__", "_type": "request", "name": "Revoke an authorization for an application", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-authorization-for-an-application", @@ -1283,11 +1352,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2291__", + "parentId": "__FLD_126__", + "_id": "__REQ_2803__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps/#get-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1299,8 +1368,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2292__", + "parentId": "__FLD_139__", + "_id": "__REQ_2804__", "_type": "request", "name": "List your authorizations", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#list-your-authorizations", @@ -1322,15 +1391,19 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "client_id", + "disabled": false } ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2293__", + "parentId": "__FLD_139__", + "_id": "__REQ_2805__", "_type": "request", "name": "Create a new authorization", - "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#create-a-new-authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#create-a-new-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1342,8 +1415,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2294__", + "parentId": "__FLD_139__", + "_id": "__REQ_2806__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", @@ -1358,8 +1431,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2295__", + "parentId": "__FLD_139__", + "_id": "__REQ_2807__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1374,8 +1447,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2296__", + "parentId": "__FLD_139__", + "_id": "__REQ_2808__", "_type": "request", "name": "Get a single authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#get-a-single-authorization", @@ -1390,8 +1463,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2297__", + "parentId": "__FLD_139__", + "_id": "__REQ_2809__", "_type": "request", "name": "Update an existing authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#update-an-existing-authorization", @@ -1406,8 +1479,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2298__", + "parentId": "__FLD_139__", + "_id": "__REQ_2810__", "_type": "request", "name": "Delete an authorization", "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.0/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/oauth-authorizations#delete-an-authorization", @@ -1422,17 +1495,12 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2299__", + "parentId": "__FLD_129__", + "_id": "__REQ_2811__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1443,17 +1511,12 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2300__", + "parentId": "__FLD_129__", + "_id": "__REQ_2812__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1464,32 +1527,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2301__", - "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.0/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_111__", - "_id": "__REQ_2302__", + "parentId": "__FLD_130__", + "_id": "__REQ_2813__", "_type": "request", "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/emojis/#get-emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/emojis#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1501,11 +1543,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2303__", + "parentId": "__FLD_131__", + "_id": "__REQ_2814__", "_type": "request", "name": "Get the global announcement banner", - "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#get-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1517,11 +1559,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2304__", + "parentId": "__FLD_131__", + "_id": "__REQ_2815__", "_type": "request", "name": "Set the global announcement banner", - "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#set-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1533,11 +1575,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2305__", + "parentId": "__FLD_131__", + "_id": "__REQ_2816__", "_type": "request", "name": "Remove the global announcement banner", - "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/enterprise-admin#clear-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1549,8 +1591,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2306__", + "parentId": "__FLD_131__", + "_id": "__REQ_2817__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-license-information", @@ -1565,27 +1607,187 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2307__", + "parentId": "__FLD_131__", + "_id": "__REQ_2818__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2819__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2820__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2821__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2822__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2823__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2824__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2825__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-statistics", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-pages-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/pages", "body": {}, "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2308__", + "parentId": "__FLD_131__", + "_id": "__REQ_2826__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2827__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2828__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_131__", + "_id": "__REQ_2829__", "_type": "request", "name": "Get GitHub Actions permissions for an enterprise", - "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1597,11 +1799,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2309__", + "parentId": "__FLD_131__", + "_id": "__REQ_2830__", "_type": "request", "name": "Set GitHub Actions permissions for an enterprise", - "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1613,11 +1815,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2310__", + "parentId": "__FLD_131__", + "_id": "__REQ_2831__", "_type": "request", "name": "List selected organizations enabled for GitHub Actions in an enterprise", - "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1640,11 +1842,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2311__", + "parentId": "__FLD_131__", + "_id": "__REQ_2832__", "_type": "request", "name": "Set selected organizations enabled for GitHub Actions in an enterprise", - "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1656,11 +1858,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2312__", + "parentId": "__FLD_131__", + "_id": "__REQ_2833__", "_type": "request", "name": "Enable a selected organization for GitHub Actions in an enterprise", - "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1672,11 +1874,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2313__", + "parentId": "__FLD_131__", + "_id": "__REQ_2834__", "_type": "request", "name": "Disable a selected organization for GitHub Actions in an enterprise", - "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1688,11 +1890,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2314__", + "parentId": "__FLD_131__", + "_id": "__REQ_2835__", "_type": "request", "name": "Get allowed actions for an enterprise", - "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1704,11 +1906,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2315__", + "parentId": "__FLD_131__", + "_id": "__REQ_2836__", "_type": "request", "name": "Set allowed actions for an enterprise", - "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1720,11 +1922,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2316__", + "parentId": "__FLD_131__", + "_id": "__REQ_2837__", "_type": "request", "name": "List self-hosted runner groups for an enterprise", - "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1747,11 +1949,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2317__", + "parentId": "__FLD_131__", + "_id": "__REQ_2838__", "_type": "request", "name": "Create a self-hosted runner group for an enterprise", - "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1763,11 +1965,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2318__", + "parentId": "__FLD_131__", + "_id": "__REQ_2839__", "_type": "request", "name": "Get a self-hosted runner group for an enterprise", - "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1779,11 +1981,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2319__", + "parentId": "__FLD_131__", + "_id": "__REQ_2840__", "_type": "request", "name": "Update a self-hosted runner group for an enterprise", - "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1795,11 +1997,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2320__", + "parentId": "__FLD_131__", + "_id": "__REQ_2841__", "_type": "request", "name": "Delete a self-hosted runner group from an enterprise", - "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1811,11 +2013,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2321__", + "parentId": "__FLD_131__", + "_id": "__REQ_2842__", "_type": "request", "name": "List organization access to a self-hosted runner group in an enterprise", - "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1838,11 +2040,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2322__", + "parentId": "__FLD_131__", + "_id": "__REQ_2843__", "_type": "request", "name": "Set organization access for a self-hosted runner group in an enterprise", - "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1854,11 +2056,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2323__", + "parentId": "__FLD_131__", + "_id": "__REQ_2844__", "_type": "request", "name": "Add organization access to a self-hosted runner group in an enterprise", - "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1870,11 +2072,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2324__", + "parentId": "__FLD_131__", + "_id": "__REQ_2845__", "_type": "request", "name": "Remove organization access to a self-hosted runner group in an enterprise", - "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1886,11 +2088,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2325__", + "parentId": "__FLD_131__", + "_id": "__REQ_2846__", "_type": "request", "name": "List self-hosted runners in a group for an enterprise", - "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1913,11 +2115,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2326__", + "parentId": "__FLD_131__", + "_id": "__REQ_2847__", "_type": "request", "name": "Set self-hosted runners in a group for an enterprise", - "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1929,11 +2131,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2327__", + "parentId": "__FLD_131__", + "_id": "__REQ_2848__", "_type": "request", "name": "Add a self-hosted runner to a group for an enterprise", - "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1945,11 +2147,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2328__", + "parentId": "__FLD_131__", + "_id": "__REQ_2849__", "_type": "request", "name": "Remove a self-hosted runner from a group for an enterprise", - "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1961,11 +2163,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2329__", + "parentId": "__FLD_131__", + "_id": "__REQ_2850__", "_type": "request", "name": "List self-hosted runners for an enterprise", - "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1988,11 +2190,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2330__", + "parentId": "__FLD_131__", + "_id": "__REQ_2851__", "_type": "request", "name": "List runner applications for an enterprise", - "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2004,11 +2206,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2331__", + "parentId": "__FLD_131__", + "_id": "__REQ_2852__", "_type": "request", "name": "Create a registration token for an enterprise", - "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2020,11 +2222,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2332__", + "parentId": "__FLD_131__", + "_id": "__REQ_2853__", "_type": "request", "name": "Create a remove token for an enterprise", - "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2036,11 +2238,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2333__", + "parentId": "__FLD_131__", + "_id": "__REQ_2854__", "_type": "request", "name": "Get a self-hosted runner for an enterprise", - "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2052,11 +2254,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2334__", + "parentId": "__FLD_131__", + "_id": "__REQ_2855__", "_type": "request", "name": "Delete a self-hosted runner from an enterprise", - "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2068,8 +2270,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2335__", + "parentId": "__FLD_125__", + "_id": "__REQ_2856__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events", @@ -2095,8 +2297,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2336__", + "parentId": "__FLD_125__", + "_id": "__REQ_2857__", "_type": "request", "name": "Get feeds", "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-feeds", @@ -2111,11 +2313,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2337__", + "parentId": "__FLD_132__", + "_id": "__REQ_2858__", "_type": "request", "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gists-for-the-authenticated-user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2142,11 +2344,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2338__", + "parentId": "__FLD_132__", + "_id": "__REQ_2859__", "_type": "request", "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#create-a-gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2158,11 +2360,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2339__", + "parentId": "__FLD_132__", + "_id": "__REQ_2860__", "_type": "request", "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-public-gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2189,11 +2391,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2340__", + "parentId": "__FLD_132__", + "_id": "__REQ_2861__", "_type": "request", "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-starred-gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-starred-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2220,11 +2422,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2341__", + "parentId": "__FLD_132__", + "_id": "__REQ_2862__", "_type": "request", "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2236,11 +2438,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2342__", + "parentId": "__FLD_132__", + "_id": "__REQ_2863__", "_type": "request", "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#update-a-gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2252,11 +2454,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2343__", + "parentId": "__FLD_132__", + "_id": "__REQ_2864__", "_type": "request", "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#delete-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#delete-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2268,8 +2470,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2344__", + "parentId": "__FLD_132__", + "_id": "__REQ_2865__", "_type": "request", "name": "List gist comments", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gist-comments", @@ -2295,8 +2497,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2345__", + "parentId": "__FLD_132__", + "_id": "__REQ_2866__", "_type": "request", "name": "Create a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#create-a-gist-comment", @@ -2311,8 +2513,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2346__", + "parentId": "__FLD_132__", + "_id": "__REQ_2867__", "_type": "request", "name": "Get a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#get-a-gist-comment", @@ -2327,8 +2529,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2347__", + "parentId": "__FLD_132__", + "_id": "__REQ_2868__", "_type": "request", "name": "Update a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#update-a-gist-comment", @@ -2343,8 +2545,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2348__", + "parentId": "__FLD_132__", + "_id": "__REQ_2869__", "_type": "request", "name": "Delete a gist comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#delete-a-gist-comment", @@ -2359,11 +2561,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2349__", + "parentId": "__FLD_132__", + "_id": "__REQ_2870__", "_type": "request", "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2386,11 +2588,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2350__", + "parentId": "__FLD_132__", + "_id": "__REQ_2871__", "_type": "request", "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gist-forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2413,11 +2615,11 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2351__", + "parentId": "__FLD_132__", + "_id": "__REQ_2872__", "_type": "request", "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#fork-a-gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2429,11 +2631,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2352__", + "parentId": "__FLD_132__", + "_id": "__REQ_2873__", "_type": "request", "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#check-if-a-gist-is-starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2445,11 +2647,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2353__", + "parentId": "__FLD_132__", + "_id": "__REQ_2874__", "_type": "request", "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#star-a-gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2461,11 +2663,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2354__", + "parentId": "__FLD_132__", + "_id": "__REQ_2875__", "_type": "request", "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#unstar-a-gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2477,11 +2679,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2355__", + "parentId": "__FLD_132__", + "_id": "__REQ_2876__", "_type": "request", "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#get-a-gist-revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2493,11 +2695,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2356__", + "parentId": "__FLD_134__", + "_id": "__REQ_2877__", "_type": "request", "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-all-gitignore-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2509,11 +2711,11 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2357__", + "parentId": "__FLD_134__", + "_id": "__REQ_2878__", "_type": "request", "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gitignore/#get-a-gitignore-template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2525,8 +2727,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2358__", + "parentId": "__FLD_126__", + "_id": "__REQ_2879__", "_type": "request", "name": "List repositories accessible to the app installation", "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-repositories-accessible-to-the-app-installation", @@ -2557,8 +2759,8 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2359__", + "parentId": "__FLD_126__", + "_id": "__REQ_2880__", "_type": "request", "name": "Revoke an installation access token", "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#revoke-an-installation-access-token", @@ -2573,15 +2775,15 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2360__", + "parentId": "__FLD_135__", + "_id": "__REQ_2881__", "_type": "request", "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -2649,11 +2851,11 @@ ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2361__", + "parentId": "__FLD_136__", + "_id": "__REQ_2882__", "_type": "request", "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-all-commonly-used-licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/licenses#get-all-commonly-used-licenses", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2671,15 +2873,20 @@ "name": "per_page", "value": 30, "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2362__", + "parentId": "__FLD_136__", + "_id": "__REQ_2883__", "_type": "request", "name": "Get a license", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-a-license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/licenses#get-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2691,11 +2898,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2363__", + "parentId": "__FLD_137__", + "_id": "__REQ_2884__", "_type": "request", "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/markdown#render-a-markdown-document", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2707,11 +2914,11 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2364__", + "parentId": "__FLD_137__", + "_id": "__REQ_2885__", "_type": "request", "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/markdown/#render-a-markdown-document-in-raw-mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2723,11 +2930,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2365__", + "parentId": "__FLD_138__", + "_id": "__REQ_2886__", "_type": "request", "name": "Get GitHub Enterprise Server meta information", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/meta/#get-github-meta-information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/meta#get-github-meta-information", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2739,8 +2946,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2366__", + "parentId": "__FLD_125__", + "_id": "__REQ_2887__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-for-a-network-of-repositories", @@ -2766,8 +2973,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2367__", + "parentId": "__FLD_125__", + "_id": "__REQ_2888__", "_type": "request", "name": "List notifications for the authenticated user", "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user", @@ -2811,8 +3018,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2368__", + "parentId": "__FLD_125__", + "_id": "__REQ_2889__", "_type": "request", "name": "Mark notifications as read", "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-notifications-as-read", @@ -2827,8 +3034,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2369__", + "parentId": "__FLD_125__", + "_id": "__REQ_2890__", "_type": "request", "name": "Get a thread", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread", @@ -2843,8 +3050,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2370__", + "parentId": "__FLD_125__", + "_id": "__REQ_2891__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-a-thread-as-read", @@ -2859,8 +3066,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2371__", + "parentId": "__FLD_125__", + "_id": "__REQ_2892__", "_type": "request", "name": "Get a thread subscription for the authenticated user", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", @@ -2875,8 +3082,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2372__", + "parentId": "__FLD_125__", + "_id": "__REQ_2893__", "_type": "request", "name": "Set a thread subscription", "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription", @@ -2891,8 +3098,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2373__", + "parentId": "__FLD_125__", + "_id": "__REQ_2894__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-thread-subscription", @@ -2907,11 +3114,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2374__", + "parentId": "__FLD_138__", + "_id": "__REQ_2895__", "_type": "request", "name": "Get Octocat", - "description": "", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/meta#get-octocat", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2928,11 +3135,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2375__", + "parentId": "__FLD_140__", + "_id": "__REQ_2896__", "_type": "request", "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2954,11 +3161,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2376__", + "parentId": "__FLD_140__", + "_id": "__REQ_2897__", "_type": "request", "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#get-an-organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization", "headers": [ { "name": "Accept", @@ -2975,11 +3182,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2377__", + "parentId": "__FLD_140__", + "_id": "__REQ_2898__", "_type": "request", "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#update-an-organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs/#update-an-organization", "headers": [ { "name": "Accept", @@ -2996,8 +3203,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2378__", + "parentId": "__FLD_124__", + "_id": "__REQ_2899__", "_type": "request", "name": "Get GitHub Actions permissions for an organization", "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-an-organization", @@ -3012,8 +3219,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2379__", + "parentId": "__FLD_124__", + "_id": "__REQ_2900__", "_type": "request", "name": "Set GitHub Actions permissions for an organization", "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-an-organization", @@ -3028,8 +3235,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2380__", + "parentId": "__FLD_124__", + "_id": "__REQ_2901__", "_type": "request", "name": "List selected repositories enabled for GitHub Actions in an organization", "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -3055,8 +3262,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2381__", + "parentId": "__FLD_124__", + "_id": "__REQ_2902__", "_type": "request", "name": "Set selected repositories enabled for GitHub Actions in an organization", "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -3071,8 +3278,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2382__", + "parentId": "__FLD_124__", + "_id": "__REQ_2903__", "_type": "request", "name": "Enable a selected repository for GitHub Actions in an organization", "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", @@ -3087,8 +3294,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2383__", + "parentId": "__FLD_124__", + "_id": "__REQ_2904__", "_type": "request", "name": "Disable a selected repository for GitHub Actions in an organization", "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", @@ -3103,8 +3310,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2384__", + "parentId": "__FLD_124__", + "_id": "__REQ_2905__", "_type": "request", "name": "Get allowed actions for an organization", "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-an-organization", @@ -3119,8 +3326,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2385__", + "parentId": "__FLD_124__", + "_id": "__REQ_2906__", "_type": "request", "name": "Set allowed actions for an organization", "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-an-organization", @@ -3135,8 +3342,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2386__", + "parentId": "__FLD_124__", + "_id": "__REQ_2907__", "_type": "request", "name": "List self-hosted runner groups for an organization", "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", @@ -3162,8 +3369,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2387__", + "parentId": "__FLD_124__", + "_id": "__REQ_2908__", "_type": "request", "name": "Create a self-hosted runner group for an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", @@ -3178,8 +3385,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2388__", + "parentId": "__FLD_124__", + "_id": "__REQ_2909__", "_type": "request", "name": "Get a self-hosted runner group for an organization", "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", @@ -3194,8 +3401,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2389__", + "parentId": "__FLD_124__", + "_id": "__REQ_2910__", "_type": "request", "name": "Update a self-hosted runner group for an organization", "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", @@ -3210,8 +3417,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2390__", + "parentId": "__FLD_124__", + "_id": "__REQ_2911__", "_type": "request", "name": "Delete a self-hosted runner group from an organization", "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", @@ -3226,8 +3433,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2391__", + "parentId": "__FLD_124__", + "_id": "__REQ_2912__", "_type": "request", "name": "List repository access to a self-hosted runner group in an organization", "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3239,11 +3446,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2392__", + "parentId": "__FLD_124__", + "_id": "__REQ_2913__", "_type": "request", "name": "Set repository access for a self-hosted runner group in an organization", "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3258,8 +3476,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2393__", + "parentId": "__FLD_124__", + "_id": "__REQ_2914__", "_type": "request", "name": "Add repository access to a self-hosted runner group in an organization", "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -3274,8 +3492,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2394__", + "parentId": "__FLD_124__", + "_id": "__REQ_2915__", "_type": "request", "name": "Remove repository access to a self-hosted runner group in an organization", "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", @@ -3290,8 +3508,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2395__", + "parentId": "__FLD_124__", + "_id": "__REQ_2916__", "_type": "request", "name": "List self-hosted runners in a group for an organization", "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", @@ -3317,8 +3535,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2396__", + "parentId": "__FLD_124__", + "_id": "__REQ_2917__", "_type": "request", "name": "Set self-hosted runners in a group for an organization", "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", @@ -3333,8 +3551,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2397__", + "parentId": "__FLD_124__", + "_id": "__REQ_2918__", "_type": "request", "name": "Add a self-hosted runner to a group for an organization", "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", @@ -3349,8 +3567,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2398__", + "parentId": "__FLD_124__", + "_id": "__REQ_2919__", "_type": "request", "name": "Remove a self-hosted runner from a group for an organization", "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", @@ -3365,8 +3583,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2399__", + "parentId": "__FLD_124__", + "_id": "__REQ_2920__", "_type": "request", "name": "List self-hosted runners for an organization", "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-an-organization", @@ -3392,8 +3610,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2400__", + "parentId": "__FLD_124__", + "_id": "__REQ_2921__", "_type": "request", "name": "List runner applications for an organization", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-an-organization", @@ -3408,8 +3626,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2401__", + "parentId": "__FLD_124__", + "_id": "__REQ_2922__", "_type": "request", "name": "Create a registration token for an organization", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-an-organization", @@ -3424,8 +3642,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2402__", + "parentId": "__FLD_124__", + "_id": "__REQ_2923__", "_type": "request", "name": "Create a remove token for an organization", "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-an-organization", @@ -3440,8 +3658,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2403__", + "parentId": "__FLD_124__", + "_id": "__REQ_2924__", "_type": "request", "name": "Get a self-hosted runner for an organization", "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", @@ -3456,8 +3674,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2404__", + "parentId": "__FLD_124__", + "_id": "__REQ_2925__", "_type": "request", "name": "Delete a self-hosted runner from an organization", "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", @@ -3472,8 +3690,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2405__", + "parentId": "__FLD_124__", + "_id": "__REQ_2926__", "_type": "request", "name": "List organization secrets", "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-organization-secrets", @@ -3499,8 +3717,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2406__", + "parentId": "__FLD_124__", + "_id": "__REQ_2927__", "_type": "request", "name": "Get an organization public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key", @@ -3515,8 +3733,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2407__", + "parentId": "__FLD_124__", + "_id": "__REQ_2928__", "_type": "request", "name": "Get an organization secret", "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-secret", @@ -3531,11 +3749,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2408__", + "parentId": "__FLD_124__", + "_id": "__REQ_2929__", "_type": "request", "name": "Create or update an organization secret", - "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3547,8 +3765,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2409__", + "parentId": "__FLD_124__", + "_id": "__REQ_2930__", "_type": "request", "name": "Delete an organization secret", "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-organization-secret", @@ -3563,8 +3781,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2410__", + "parentId": "__FLD_124__", + "_id": "__REQ_2931__", "_type": "request", "name": "List selected repositories for an organization secret", "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-selected-repositories-for-an-organization-secret", @@ -3576,11 +3794,22 @@ "method": "GET", "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2411__", + "parentId": "__FLD_124__", + "_id": "__REQ_2932__", "_type": "request", "name": "Set selected repositories for an organization secret", "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-selected-repositories-for-an-organization-secret", @@ -3595,8 +3824,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2412__", + "parentId": "__FLD_124__", + "_id": "__REQ_2933__", "_type": "request", "name": "Add selected repository to an organization secret", "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#add-selected-repository-to-an-organization-secret", @@ -3611,8 +3840,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2413__", + "parentId": "__FLD_124__", + "_id": "__REQ_2934__", "_type": "request", "name": "Remove selected repository from an organization secret", "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#remove-selected-repository-from-an-organization-secret", @@ -3627,8 +3856,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2414__", + "parentId": "__FLD_125__", + "_id": "__REQ_2935__", "_type": "request", "name": "List public organization events", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-organization-events", @@ -3654,8 +3883,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2415__", + "parentId": "__FLD_140__", + "_id": "__REQ_2936__", "_type": "request", "name": "List organization webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-webhooks", @@ -3681,8 +3910,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2416__", + "parentId": "__FLD_140__", + "_id": "__REQ_2937__", "_type": "request", "name": "Create an organization webhook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#create-an-organization-webhook", @@ -3697,8 +3926,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2417__", + "parentId": "__FLD_140__", + "_id": "__REQ_2938__", "_type": "request", "name": "Get an organization webhook", "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization-webhook", @@ -3713,8 +3942,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2418__", + "parentId": "__FLD_140__", + "_id": "__REQ_2939__", "_type": "request", "name": "Update an organization webhook", "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-an-organization-webhook", @@ -3729,8 +3958,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2419__", + "parentId": "__FLD_140__", + "_id": "__REQ_2940__", "_type": "request", "name": "Delete an organization webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#delete-an-organization-webhook", @@ -3745,11 +3974,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2420__", + "parentId": "__FLD_140__", + "_id": "__REQ_2941__", "_type": "request", "name": "Get a webhook configuration for an organization", - "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#get-a-webhook-configuration-for-an-organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3761,11 +3990,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2421__", + "parentId": "__FLD_140__", + "_id": "__REQ_2942__", "_type": "request", "name": "Update a webhook configuration for an organization", - "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs#update-a-webhook-configuration-for-an-organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3777,8 +4006,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2422__", + "parentId": "__FLD_140__", + "_id": "__REQ_2943__", "_type": "request", "name": "Ping an organization webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#ping-an-organization-webhook", @@ -3793,11 +4022,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2423__", + "parentId": "__FLD_126__", + "_id": "__REQ_2944__", "_type": "request", "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3809,11 +4038,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2424__", + "parentId": "__FLD_140__", + "_id": "__REQ_2945__", "_type": "request", "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-app-installations-for-an-organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-app-installations-for-an-organization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3836,15 +4065,15 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2425__", + "parentId": "__FLD_135__", + "_id": "__REQ_2946__", "_type": "request", "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -3896,8 +4125,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2426__", + "parentId": "__FLD_140__", + "_id": "__REQ_2947__", "_type": "request", "name": "List organization members", "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-members", @@ -3933,8 +4162,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2427__", + "parentId": "__FLD_140__", + "_id": "__REQ_2948__", "_type": "request", "name": "Check organization membership for a user", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-organization-membership-for-a-user", @@ -3949,8 +4178,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2428__", + "parentId": "__FLD_140__", + "_id": "__REQ_2949__", "_type": "request", "name": "Remove an organization member", "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-an-organization-member", @@ -3965,11 +4194,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2429__", + "parentId": "__FLD_140__", + "_id": "__REQ_2950__", "_type": "request", "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -3981,8 +4210,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2430__", + "parentId": "__FLD_140__", + "_id": "__REQ_2951__", "_type": "request", "name": "Set organization membership for a user", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-organization-membership-for-a-user", @@ -3997,8 +4226,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2431__", + "parentId": "__FLD_140__", + "_id": "__REQ_2952__", "_type": "request", "name": "Remove organization membership for a user", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-organization-membership-for-a-user", @@ -4013,8 +4242,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2432__", + "parentId": "__FLD_140__", + "_id": "__REQ_2953__", "_type": "request", "name": "List outside collaborators for an organization", "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-outside-collaborators-for-an-organization", @@ -4045,11 +4274,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2433__", + "parentId": "__FLD_140__", + "_id": "__REQ_2954__", "_type": "request", "name": "Convert an organization member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4061,8 +4290,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2434__", + "parentId": "__FLD_140__", + "_id": "__REQ_2955__", "_type": "request", "name": "Remove outside collaborator from an organization", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-outside-collaborator-from-an-organization", @@ -4077,8 +4306,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2435__", + "parentId": "__FLD_131__", + "_id": "__REQ_2956__", "_type": "request", "name": "List pre-receive hooks for an organization", "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", @@ -4105,12 +4334,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2436__", + "parentId": "__FLD_131__", + "_id": "__REQ_2957__", "_type": "request", "name": "Get a pre-receive hook for an organization", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", @@ -4130,8 +4369,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2437__", + "parentId": "__FLD_131__", + "_id": "__REQ_2958__", "_type": "request", "name": "Update pre-receive hook enforcement for an organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", @@ -4151,8 +4390,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2438__", + "parentId": "__FLD_131__", + "_id": "__REQ_2959__", "_type": "request", "name": "Remove pre-receive hook enforcement for an organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", @@ -4172,11 +4411,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2439__", + "parentId": "__FLD_141__", + "_id": "__REQ_2960__", "_type": "request", "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-organization-projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-organization-projects", "headers": [ { "name": "Accept", @@ -4209,11 +4448,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2440__", + "parentId": "__FLD_141__", + "_id": "__REQ_2961__", "_type": "request", "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-an-organization-project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-an-organization-project", "headers": [ { "name": "Accept", @@ -4230,8 +4469,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2441__", + "parentId": "__FLD_140__", + "_id": "__REQ_2962__", "_type": "request", "name": "List public organization members", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-public-organization-members", @@ -4257,8 +4496,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2442__", + "parentId": "__FLD_140__", + "_id": "__REQ_2963__", "_type": "request", "name": "Check public organization membership for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#check-public-organization-membership-for-a-user", @@ -4273,8 +4512,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2443__", + "parentId": "__FLD_140__", + "_id": "__REQ_2964__", "_type": "request", "name": "Set public organization membership for the authenticated user", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", @@ -4289,8 +4528,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2444__", + "parentId": "__FLD_140__", + "_id": "__REQ_2965__", "_type": "request", "name": "Remove public organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", @@ -4305,11 +4544,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2445__", + "parentId": "__FLD_145__", + "_id": "__REQ_2966__", "_type": "request", "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-organization-repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-organization-repositories", "headers": [ { "name": "Accept", @@ -4350,11 +4589,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2446__", + "parentId": "__FLD_145__", + "_id": "__REQ_2967__", "_type": "request", "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-an-organization-repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -4371,11 +4610,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2447__", + "parentId": "__FLD_147__", + "_id": "__REQ_2968__", "_type": "request", "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4398,11 +4637,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2448__", + "parentId": "__FLD_147__", + "_id": "__REQ_2969__", "_type": "request", "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#create-a-team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4414,11 +4653,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2449__", + "parentId": "__FLD_147__", + "_id": "__REQ_2970__", "_type": "request", "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#get-a-team-by-name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-team-by-name", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4430,11 +4669,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2450__", + "parentId": "__FLD_147__", + "_id": "__REQ_2971__", "_type": "request", "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#update-a-team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4446,11 +4685,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2451__", + "parentId": "__FLD_147__", + "_id": "__REQ_2972__", "_type": "request", "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#delete-a-team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4462,8 +4701,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2452__", + "parentId": "__FLD_147__", + "_id": "__REQ_2973__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions", @@ -4495,15 +4734,19 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "pinned", + "disabled": false } ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2453__", + "parentId": "__FLD_147__", + "_id": "__REQ_2974__", "_type": "request", "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion", "headers": [ { "name": "Accept", @@ -4520,8 +4763,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2454__", + "parentId": "__FLD_147__", + "_id": "__REQ_2975__", "_type": "request", "name": "Get a discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion", @@ -4541,8 +4784,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2455__", + "parentId": "__FLD_147__", + "_id": "__REQ_2976__", "_type": "request", "name": "Update a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion", @@ -4562,8 +4805,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2456__", + "parentId": "__FLD_147__", + "_id": "__REQ_2977__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion", @@ -4578,8 +4821,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2457__", + "parentId": "__FLD_147__", + "_id": "__REQ_2978__", "_type": "request", "name": "List discussion comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments", @@ -4615,11 +4858,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2458__", + "parentId": "__FLD_147__", + "_id": "__REQ_2979__", "_type": "request", "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment", "headers": [ { "name": "Accept", @@ -4636,8 +4879,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2459__", + "parentId": "__FLD_147__", + "_id": "__REQ_2980__", "_type": "request", "name": "Get a discussion comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment", @@ -4657,8 +4900,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2460__", + "parentId": "__FLD_147__", + "_id": "__REQ_2981__", "_type": "request", "name": "Update a discussion comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment", @@ -4678,8 +4921,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2461__", + "parentId": "__FLD_147__", + "_id": "__REQ_2982__", "_type": "request", "name": "Delete a discussion comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment", @@ -4694,11 +4937,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2462__", + "parentId": "__FLD_144__", + "_id": "__REQ_2983__", "_type": "request", "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -4730,11 +4973,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2463__", + "parentId": "__FLD_144__", + "_id": "__REQ_2984__", "_type": "request", "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -4751,11 +4994,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2464__", + "parentId": "__FLD_144__", + "_id": "__REQ_2985__", "_type": "request", "name": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-comment-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-team-discussion-comment-reaction", "headers": [ { "name": "Accept", @@ -4772,11 +5015,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2465__", + "parentId": "__FLD_144__", + "_id": "__REQ_2986__", "_type": "request", "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -4808,11 +5051,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2466__", + "parentId": "__FLD_144__", + "_id": "__REQ_2987__", "_type": "request", "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion", "headers": [ { "name": "Accept", @@ -4829,11 +5072,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2467__", + "parentId": "__FLD_144__", + "_id": "__REQ_2988__", "_type": "request", "name": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-team-discussion-reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-team-discussion-reaction", "headers": [ { "name": "Accept", @@ -4850,8 +5093,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2468__", + "parentId": "__FLD_147__", + "_id": "__REQ_2989__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members", @@ -4882,11 +5125,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2469__", + "parentId": "__FLD_147__", + "_id": "__REQ_2990__", "_type": "request", "name": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4898,11 +5141,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2470__", + "parentId": "__FLD_147__", + "_id": "__REQ_2991__", "_type": "request", "name": "Add or update team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4914,11 +5157,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2471__", + "parentId": "__FLD_147__", + "_id": "__REQ_2992__", "_type": "request", "name": "Remove team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4930,11 +5173,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2472__", + "parentId": "__FLD_147__", + "_id": "__REQ_2993__", "_type": "request", "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-projects", "headers": [ { "name": "Accept", @@ -4962,11 +5205,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2473__", + "parentId": "__FLD_147__", + "_id": "__REQ_2994__", "_type": "request", "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-project", "headers": [ { "name": "Accept", @@ -4983,11 +5226,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2474__", + "parentId": "__FLD_147__", + "_id": "__REQ_2995__", "_type": "request", "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-project-permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-project-permissions", "headers": [ { "name": "Accept", @@ -5004,11 +5247,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2475__", + "parentId": "__FLD_147__", + "_id": "__REQ_2996__", "_type": "request", "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-project-from-a-team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-project-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5020,11 +5263,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2476__", + "parentId": "__FLD_147__", + "_id": "__REQ_2997__", "_type": "request", "name": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5047,11 +5290,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2477__", + "parentId": "__FLD_147__", + "_id": "__REQ_2998__", "_type": "request", "name": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5063,11 +5306,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2478__", + "parentId": "__FLD_147__", + "_id": "__REQ_2999__", "_type": "request", "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-repository-permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5079,11 +5322,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2479__", + "parentId": "__FLD_147__", + "_id": "__REQ_3000__", "_type": "request", "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-repository-from-a-team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5095,11 +5338,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2480__", + "parentId": "__FLD_147__", + "_id": "__REQ_3001__", "_type": "request", "name": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-child-teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-child-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5122,8 +5365,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2481__", + "parentId": "__FLD_141__", + "_id": "__REQ_3002__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-card", @@ -5143,8 +5386,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2482__", + "parentId": "__FLD_141__", + "_id": "__REQ_3003__", "_type": "request", "name": "Update an existing project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-card", @@ -5164,8 +5407,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2483__", + "parentId": "__FLD_141__", + "_id": "__REQ_3004__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-card", @@ -5185,8 +5428,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2484__", + "parentId": "__FLD_141__", + "_id": "__REQ_3005__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-card", @@ -5206,8 +5449,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2485__", + "parentId": "__FLD_141__", + "_id": "__REQ_3006__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project-column", @@ -5227,8 +5470,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2486__", + "parentId": "__FLD_141__", + "_id": "__REQ_3007__", "_type": "request", "name": "Update an existing project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project-column", @@ -5248,8 +5491,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2487__", + "parentId": "__FLD_141__", + "_id": "__REQ_3008__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project-column", @@ -5269,8 +5512,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2488__", + "parentId": "__FLD_141__", + "_id": "__REQ_3009__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-cards", @@ -5306,11 +5549,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2489__", + "parentId": "__FLD_141__", + "_id": "__REQ_3010__", "_type": "request", "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-card", "headers": [ { "name": "Accept", @@ -5327,8 +5570,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2490__", + "parentId": "__FLD_141__", + "_id": "__REQ_3011__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#move-a-project-column", @@ -5348,11 +5591,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2491__", + "parentId": "__FLD_141__", + "_id": "__REQ_3012__", "_type": "request", "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#get-a-project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-a-project", "headers": [ { "name": "Accept", @@ -5369,11 +5612,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2492__", + "parentId": "__FLD_141__", + "_id": "__REQ_3013__", "_type": "request", "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#update-a-project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#update-a-project", "headers": [ { "name": "Accept", @@ -5390,11 +5633,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2493__", + "parentId": "__FLD_141__", + "_id": "__REQ_3014__", "_type": "request", "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#delete-a-project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#delete-a-project", "headers": [ { "name": "Accept", @@ -5411,8 +5654,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2494__", + "parentId": "__FLD_141__", + "_id": "__REQ_3015__", "_type": "request", "name": "List project collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-collaborators", @@ -5448,8 +5691,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2495__", + "parentId": "__FLD_141__", + "_id": "__REQ_3016__", "_type": "request", "name": "Add project collaborator", "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#add-project-collaborator", @@ -5469,8 +5712,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2496__", + "parentId": "__FLD_141__", + "_id": "__REQ_3017__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#remove-project-collaborator", @@ -5490,8 +5733,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2497__", + "parentId": "__FLD_141__", + "_id": "__REQ_3018__", "_type": "request", "name": "Get project permission for a user", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#get-project-permission-for-a-user", @@ -5511,8 +5754,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2498__", + "parentId": "__FLD_141__", + "_id": "__REQ_3019__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-project-columns", @@ -5543,8 +5786,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2499__", + "parentId": "__FLD_141__", + "_id": "__REQ_3020__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-project-column", @@ -5564,11 +5807,11 @@ "parameters": [] }, { - "parentId": "__FLD_124__", - "_id": "__REQ_2500__", + "parentId": "__FLD_143__", + "_id": "__REQ_3021__", "_type": "request", "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5580,11 +5823,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2501__", + "parentId": "__FLD_144__", + "_id": "__REQ_3022__", "_type": "request", "name": "Delete a reaction (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-reaction-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions/#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -5601,11 +5844,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2502__", + "parentId": "__FLD_145__", + "_id": "__REQ_3023__", "_type": "request", "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#get-a-repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository", "headers": [ { "name": "Accept", @@ -5622,11 +5865,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2503__", + "parentId": "__FLD_145__", + "_id": "__REQ_3024__", "_type": "request", "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#update-a-repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -5643,11 +5886,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2504__", + "parentId": "__FLD_145__", + "_id": "__REQ_3025__", "_type": "request", "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#delete-a-repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5659,8 +5902,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2505__", + "parentId": "__FLD_124__", + "_id": "__REQ_3026__", "_type": "request", "name": "List artifacts for a repository", "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-artifacts-for-a-repository", @@ -5686,8 +5929,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2506__", + "parentId": "__FLD_124__", + "_id": "__REQ_3027__", "_type": "request", "name": "Get an artifact", "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-artifact", @@ -5702,8 +5945,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2507__", + "parentId": "__FLD_124__", + "_id": "__REQ_3028__", "_type": "request", "name": "Delete an artifact", "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-an-artifact", @@ -5718,8 +5961,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2508__", + "parentId": "__FLD_124__", + "_id": "__REQ_3029__", "_type": "request", "name": "Download an artifact", "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-an-artifact", @@ -5734,8 +5977,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2509__", + "parentId": "__FLD_124__", + "_id": "__REQ_3030__", "_type": "request", "name": "Get a job for a workflow run", "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-job-for-a-workflow-run", @@ -5750,8 +5993,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2510__", + "parentId": "__FLD_124__", + "_id": "__REQ_3031__", "_type": "request", "name": "Download job logs for a workflow run", "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-job-logs-for-a-workflow-run", @@ -5766,8 +6009,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2511__", + "parentId": "__FLD_124__", + "_id": "__REQ_3032__", "_type": "request", "name": "Get GitHub Actions permissions for a repository", "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-github-actions-permissions-for-a-repository", @@ -5782,8 +6025,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2512__", + "parentId": "__FLD_124__", + "_id": "__REQ_3033__", "_type": "request", "name": "Set GitHub Actions permissions for a repository", "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-github-actions-permissions-for-a-repository", @@ -5798,8 +6041,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2513__", + "parentId": "__FLD_124__", + "_id": "__REQ_3034__", "_type": "request", "name": "Get allowed actions for a repository", "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-allowed-actions-for-a-repository", @@ -5814,8 +6057,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2514__", + "parentId": "__FLD_124__", + "_id": "__REQ_3035__", "_type": "request", "name": "Set allowed actions for a repository", "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#set-allowed-actions-for-a-repository", @@ -5830,8 +6073,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2515__", + "parentId": "__FLD_124__", + "_id": "__REQ_3036__", "_type": "request", "name": "List self-hosted runners for a repository", "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-self-hosted-runners-for-a-repository", @@ -5857,8 +6100,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2516__", + "parentId": "__FLD_124__", + "_id": "__REQ_3037__", "_type": "request", "name": "List runner applications for a repository", "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-runner-applications-for-a-repository", @@ -5873,8 +6116,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2517__", + "parentId": "__FLD_124__", + "_id": "__REQ_3038__", "_type": "request", "name": "Create a registration token for a repository", "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-registration-token-for-a-repository", @@ -5889,8 +6132,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2518__", + "parentId": "__FLD_124__", + "_id": "__REQ_3039__", "_type": "request", "name": "Create a remove token for a repository", "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-remove-token-for-a-repository", @@ -5905,8 +6148,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2519__", + "parentId": "__FLD_124__", + "_id": "__REQ_3040__", "_type": "request", "name": "Get a self-hosted runner for a repository", "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", @@ -5921,8 +6164,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2520__", + "parentId": "__FLD_124__", + "_id": "__REQ_3041__", "_type": "request", "name": "Delete a self-hosted runner from a repository", "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", @@ -5937,8 +6180,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2521__", + "parentId": "__FLD_124__", + "_id": "__REQ_3042__", "_type": "request", "name": "List workflow runs for a repository", "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs-for-a-repository", @@ -5976,12 +6219,21 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false } ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2522__", + "parentId": "__FLD_124__", + "_id": "__REQ_3043__", "_type": "request", "name": "Get a workflow run", "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow-run", @@ -5993,11 +6245,17 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2523__", + "parentId": "__FLD_124__", + "_id": "__REQ_3044__", "_type": "request", "name": "Delete a workflow run", "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-workflow-run", @@ -6012,8 +6270,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2524__", + "parentId": "__FLD_124__", + "_id": "__REQ_3045__", "_type": "request", "name": "List workflow run artifacts", "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-run-artifacts", @@ -6039,8 +6297,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2525__", + "parentId": "__FLD_124__", + "_id": "__REQ_3046__", "_type": "request", "name": "Cancel a workflow run", "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#cancel-a-workflow-run", @@ -6055,8 +6313,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2526__", + "parentId": "__FLD_124__", + "_id": "__REQ_3047__", "_type": "request", "name": "List jobs for a workflow run", "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-jobs-for-a-workflow-run", @@ -6087,8 +6345,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2527__", + "parentId": "__FLD_124__", + "_id": "__REQ_3048__", "_type": "request", "name": "Download workflow run logs", "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#download-workflow-run-logs", @@ -6103,8 +6361,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2528__", + "parentId": "__FLD_124__", + "_id": "__REQ_3049__", "_type": "request", "name": "Delete workflow run logs", "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-workflow-run-logs", @@ -6119,8 +6377,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2529__", + "parentId": "__FLD_124__", + "_id": "__REQ_3050__", "_type": "request", "name": "Re-run a workflow", "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#re-run-a-workflow", @@ -6135,8 +6393,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2530__", + "parentId": "__FLD_124__", + "_id": "__REQ_3051__", "_type": "request", "name": "List repository secrets", "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-secrets", @@ -6162,8 +6420,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2531__", + "parentId": "__FLD_124__", + "_id": "__REQ_3052__", "_type": "request", "name": "Get a repository public key", "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key", @@ -6178,8 +6436,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2532__", + "parentId": "__FLD_124__", + "_id": "__REQ_3053__", "_type": "request", "name": "Get a repository secret", "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-secret", @@ -6194,11 +6452,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2533__", + "parentId": "__FLD_124__", + "_id": "__REQ_3054__", "_type": "request", "name": "Create or update a repository secret", - "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-a-repository-secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-or-update-a-repository-secret", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6210,8 +6468,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2534__", + "parentId": "__FLD_124__", + "_id": "__REQ_3055__", "_type": "request", "name": "Delete a repository secret", "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#delete-a-repository-secret", @@ -6226,8 +6484,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2535__", + "parentId": "__FLD_124__", + "_id": "__REQ_3056__", "_type": "request", "name": "List repository workflows", "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-repository-workflows", @@ -6253,8 +6511,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2536__", + "parentId": "__FLD_124__", + "_id": "__REQ_3057__", "_type": "request", "name": "Get a workflow", "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-workflow", @@ -6269,8 +6527,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2537__", + "parentId": "__FLD_124__", + "_id": "__REQ_3058__", "_type": "request", "name": "Disable a workflow", "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#disable-a-workflow", @@ -6285,11 +6543,11 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2538__", + "parentId": "__FLD_124__", + "_id": "__REQ_3059__", "_type": "request", "name": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-workflow-dispatch-event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#create-a-workflow-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6301,8 +6559,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2539__", + "parentId": "__FLD_124__", + "_id": "__REQ_3060__", "_type": "request", "name": "Enable a workflow", "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#enable-a-workflow", @@ -6317,8 +6575,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2540__", + "parentId": "__FLD_124__", + "_id": "__REQ_3061__", "_type": "request", "name": "List workflow runs", "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/actions#list-workflow-runs", @@ -6356,15 +6614,24 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false } ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2541__", + "parentId": "__FLD_135__", + "_id": "__REQ_3062__", "_type": "request", "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6387,8 +6654,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2542__", + "parentId": "__FLD_135__", + "_id": "__REQ_3063__", "_type": "request", "name": "Check if a user can be assigned", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#check-if-a-user-can-be-assigned", @@ -6403,8 +6670,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2543__", + "parentId": "__FLD_145__", + "_id": "__REQ_3064__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches", @@ -6434,8 +6701,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2544__", + "parentId": "__FLD_145__", + "_id": "__REQ_3065__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-branch", @@ -6450,11 +6717,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2545__", + "parentId": "__FLD_145__", + "_id": "__REQ_3066__", "_type": "request", "name": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-branch-protection", "headers": [ { "name": "Accept", @@ -6471,11 +6738,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2546__", + "parentId": "__FLD_145__", + "_id": "__REQ_3067__", "_type": "request", "name": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-branch-protection", "headers": [ { "name": "Accept", @@ -6492,11 +6759,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2547__", + "parentId": "__FLD_145__", + "_id": "__REQ_3068__", "_type": "request", "name": "Delete branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6508,11 +6775,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2548__", + "parentId": "__FLD_145__", + "_id": "__REQ_3069__", "_type": "request", "name": "Get admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6524,11 +6791,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2549__", + "parentId": "__FLD_145__", + "_id": "__REQ_3070__", "_type": "request", "name": "Set admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6540,11 +6807,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2550__", + "parentId": "__FLD_145__", + "_id": "__REQ_3071__", "_type": "request", "name": "Delete admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6556,11 +6823,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2551__", + "parentId": "__FLD_145__", + "_id": "__REQ_3072__", "_type": "request", "name": "Get pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-pull-request-review-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -6577,11 +6844,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2552__", + "parentId": "__FLD_145__", + "_id": "__REQ_3073__", "_type": "request", "name": "Update pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-pull-request-review-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-pull-request-review-protection", "headers": [ { "name": "Accept", @@ -6598,11 +6865,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2553__", + "parentId": "__FLD_145__", + "_id": "__REQ_3074__", "_type": "request", "name": "Delete pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-pull-request-review-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-pull-request-review-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6614,11 +6881,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2554__", + "parentId": "__FLD_145__", + "_id": "__REQ_3075__", "_type": "request", "name": "Get commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-commit-signature-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-commit-signature-protection", "headers": [ { "name": "Accept", @@ -6635,11 +6902,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2555__", + "parentId": "__FLD_145__", + "_id": "__REQ_3076__", "_type": "request", "name": "Create commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-commit-signature-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-commit-signature-protection", "headers": [ { "name": "Accept", @@ -6656,11 +6923,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2556__", + "parentId": "__FLD_145__", + "_id": "__REQ_3077__", "_type": "request", "name": "Delete commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-commit-signature-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-commit-signature-protection", "headers": [ { "name": "Accept", @@ -6677,11 +6944,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2557__", + "parentId": "__FLD_145__", + "_id": "__REQ_3078__", "_type": "request", "name": "Get status checks protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-status-checks-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6693,11 +6960,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2558__", + "parentId": "__FLD_145__", + "_id": "__REQ_3079__", "_type": "request", "name": "Update status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-potection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6709,11 +6976,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2559__", + "parentId": "__FLD_145__", + "_id": "__REQ_3080__", "_type": "request", "name": "Remove status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6725,11 +6992,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2560__", + "parentId": "__FLD_145__", + "_id": "__REQ_3081__", "_type": "request", "name": "Get all status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6741,11 +7008,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2561__", + "parentId": "__FLD_145__", + "_id": "__REQ_3082__", "_type": "request", "name": "Add status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6757,11 +7024,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2562__", + "parentId": "__FLD_145__", + "_id": "__REQ_3083__", "_type": "request", "name": "Set status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6773,11 +7040,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2563__", + "parentId": "__FLD_145__", + "_id": "__REQ_3084__", "_type": "request", "name": "Remove status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6789,11 +7056,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2564__", + "parentId": "__FLD_145__", + "_id": "__REQ_3085__", "_type": "request", "name": "Get access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6805,11 +7072,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2565__", + "parentId": "__FLD_145__", + "_id": "__REQ_3086__", "_type": "request", "name": "Delete access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6821,11 +7088,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2566__", + "parentId": "__FLD_145__", + "_id": "__REQ_3087__", "_type": "request", "name": "Get apps with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-apps-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6837,11 +7104,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2567__", + "parentId": "__FLD_145__", + "_id": "__REQ_3088__", "_type": "request", "name": "Add app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6853,11 +7120,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2568__", + "parentId": "__FLD_145__", + "_id": "__REQ_3089__", "_type": "request", "name": "Set app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6869,11 +7136,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2569__", + "parentId": "__FLD_145__", + "_id": "__REQ_3090__", "_type": "request", "name": "Remove app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6885,11 +7152,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2570__", + "parentId": "__FLD_145__", + "_id": "__REQ_3091__", "_type": "request", "name": "Get teams with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-teams-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6901,11 +7168,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2571__", + "parentId": "__FLD_145__", + "_id": "__REQ_3092__", "_type": "request", "name": "Add team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6917,11 +7184,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2572__", + "parentId": "__FLD_145__", + "_id": "__REQ_3093__", "_type": "request", "name": "Set team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6933,11 +7200,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2573__", + "parentId": "__FLD_145__", + "_id": "__REQ_3094__", "_type": "request", "name": "Remove team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6949,11 +7216,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2574__", + "parentId": "__FLD_145__", + "_id": "__REQ_3095__", "_type": "request", "name": "Get users with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-users-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6965,11 +7232,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2575__", + "parentId": "__FLD_145__", + "_id": "__REQ_3096__", "_type": "request", "name": "Add user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6981,11 +7248,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2576__", + "parentId": "__FLD_145__", + "_id": "__REQ_3097__", "_type": "request", "name": "Set user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#set-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6997,11 +7264,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2577__", + "parentId": "__FLD_145__", + "_id": "__REQ_3098__", "_type": "request", "name": "Remove user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7013,8 +7280,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2578__", + "parentId": "__FLD_127__", + "_id": "__REQ_3099__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-run", @@ -7029,8 +7296,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2579__", + "parentId": "__FLD_127__", + "_id": "__REQ_3100__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-run", @@ -7045,8 +7312,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2580__", + "parentId": "__FLD_127__", + "_id": "__REQ_3101__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-a-check-run", @@ -7061,8 +7328,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2581__", + "parentId": "__FLD_127__", + "_id": "__REQ_3102__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-run-annotations", @@ -7088,8 +7355,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2582__", + "parentId": "__FLD_127__", + "_id": "__REQ_3103__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite", @@ -7104,8 +7371,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2583__", + "parentId": "__FLD_127__", + "_id": "__REQ_3104__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.0/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -7120,8 +7387,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2584__", + "parentId": "__FLD_127__", + "_id": "__REQ_3105__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#get-a-check-suite", @@ -7136,8 +7403,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2585__", + "parentId": "__FLD_127__", + "_id": "__REQ_3106__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -7176,8 +7443,8 @@ ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2586__", + "parentId": "__FLD_127__", + "_id": "__REQ_3107__", "_type": "request", "name": "Rerequest a check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#rerequest-a-check-suite", @@ -7192,11 +7459,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2587__", + "parentId": "__FLD_128__", + "_id": "__REQ_3108__", "_type": "request", "name": "List code scanning alerts for a repository", - "description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7207,21 +7474,39 @@ "body": {}, "parameters": [ { - "name": "state", + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, "disabled": false }, { "name": "ref", "disabled": false + }, + { + "name": "state", + "disabled": false } ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2588__", + "parentId": "__FLD_128__", + "_id": "__REQ_3109__", "_type": "request", "name": "Get a code scanning alert", - "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe security `alert_number` is found at the end of the security alert's URL. For example, the security alert ID for `https://github.com/Octo-org/octo-repo/security/code-scanning/88` is `88`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#get-a-code-scanning-alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/code-scanning#get-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7233,11 +7518,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2589__", + "parentId": "__FLD_128__", + "_id": "__REQ_3110__", "_type": "request", "name": "Update a code scanning alert", - "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#upload-a-code-scanning-alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/code-scanning#update-a-code-scanning-alert", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7249,11 +7534,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2590__", + "parentId": "__FLD_128__", + "_id": "__REQ_3111__", "_type": "request", - "name": "List recent code scanning analyses for a repository", - "description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#list-recent-analyses", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7263,22 +7548,40 @@ "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", "body": {}, "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, { "name": "ref", "disabled": false }, { - "name": "tool_name", + "name": "sarif_id", "disabled": false } ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2591__", + "parentId": "__FLD_128__", + "_id": "__REQ_3112__", "_type": "request", - "name": "Upload a SARIF file", - "description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/code-scanning/#upload-a-sarif-analysis", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 1000 results per analysis run. Any results over this limit are ignored. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/code-scanning#upload-a-sarif-file", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7290,11 +7593,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2592__", + "parentId": "__FLD_145__", + "_id": "__REQ_3113__", "_type": "request", "name": "List repository collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-collaborators", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7322,11 +7625,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2593__", + "parentId": "__FLD_145__", + "_id": "__REQ_3114__", "_type": "request", "name": "Check if a user is a repository collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7338,11 +7641,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2594__", + "parentId": "__FLD_145__", + "_id": "__REQ_3115__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#invitations).\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7354,8 +7657,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2595__", + "parentId": "__FLD_145__", + "_id": "__REQ_3116__", "_type": "request", "name": "Remove a repository collaborator", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#remove-a-repository-collaborator", @@ -7370,8 +7673,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2596__", + "parentId": "__FLD_145__", + "_id": "__REQ_3117__", "_type": "request", "name": "Get repository permissions for a user", "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-permissions-for-a-user", @@ -7386,8 +7689,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2597__", + "parentId": "__FLD_145__", + "_id": "__REQ_3118__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-comments-for-a-repository", @@ -7418,8 +7721,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2598__", + "parentId": "__FLD_145__", + "_id": "__REQ_3119__", "_type": "request", "name": "Get a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-commit-comment", @@ -7439,8 +7742,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2599__", + "parentId": "__FLD_145__", + "_id": "__REQ_3120__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-commit-comment", @@ -7455,8 +7758,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2600__", + "parentId": "__FLD_145__", + "_id": "__REQ_3121__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-commit-comment", @@ -7471,11 +7774,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2601__", + "parentId": "__FLD_144__", + "_id": "__REQ_3122__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -7507,11 +7810,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2602__", + "parentId": "__FLD_144__", + "_id": "__REQ_3123__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -7528,11 +7831,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2603__", + "parentId": "__FLD_144__", + "_id": "__REQ_3124__", "_type": "request", "name": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-commit-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-a-commit-comment-reaction", "headers": [ { "name": "Accept", @@ -7549,8 +7852,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2604__", + "parentId": "__FLD_145__", + "_id": "__REQ_3125__", "_type": "request", "name": "List commits", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits", @@ -7596,11 +7899,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2605__", + "parentId": "__FLD_145__", + "_id": "__REQ_3126__", "_type": "request", "name": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches-for-head-commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-branches-for-head-commit", "headers": [ { "name": "Accept", @@ -7617,8 +7920,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2606__", + "parentId": "__FLD_145__", + "_id": "__REQ_3127__", "_type": "request", "name": "List commit comments", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-comments", @@ -7649,11 +7952,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2607__", + "parentId": "__FLD_145__", + "_id": "__REQ_3128__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7665,11 +7968,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2608__", + "parentId": "__FLD_145__", + "_id": "__REQ_3129__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-pull-requests-associated-with-a-commit", "headers": [ { "name": "Accept", @@ -7697,8 +8000,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2609__", + "parentId": "__FLD_145__", + "_id": "__REQ_3130__", "_type": "request", "name": "Get a commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-commit", @@ -7710,11 +8013,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2610__", + "parentId": "__FLD_127__", + "_id": "__REQ_3131__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -7749,12 +8063,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2611__", + "parentId": "__FLD_127__", + "_id": "__REQ_3132__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -7788,11 +8106,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2612__", + "parentId": "__FLD_145__", + "_id": "__REQ_3133__", "_type": "request", "name": "Get the combined status for a specific reference", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7801,11 +8119,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2613__", + "parentId": "__FLD_145__", + "_id": "__REQ_3134__", "_type": "request", "name": "List commit statuses for a reference", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commit-statuses-for-a-reference", @@ -7831,45 +8160,45 @@ ] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2614__", + "parentId": "__FLD_145__", + "_id": "__REQ_3135__", "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#compare-two-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, "parameters": [] }, { "parentId": "__FLD_126__", - "_id": "__REQ_2615__", + "_id": "__REQ_3136__", "_type": "request", - "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#compare-two-commits", - "headers": [], + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.0/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2616__", + "parentId": "__FLD_145__", + "_id": "__REQ_3137__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.0/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-content", @@ -7889,8 +8218,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2617__", + "parentId": "__FLD_145__", + "_id": "__REQ_3138__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-or-update-file-contents", @@ -7905,8 +8234,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2618__", + "parentId": "__FLD_145__", + "_id": "__REQ_3139__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-file", @@ -7921,11 +8250,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2619__", + "parentId": "__FLD_145__", + "_id": "__REQ_3140__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7952,8 +8281,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2620__", + "parentId": "__FLD_145__", + "_id": "__REQ_3141__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deployments", @@ -8004,11 +8333,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2621__", + "parentId": "__FLD_145__", + "_id": "__REQ_3142__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.0/rest/reference/commits#commit-statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment", "headers": [ { "name": "Accept", @@ -8025,15 +8354,15 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2622__", + "parentId": "__FLD_145__", + "_id": "__REQ_3143__", "_type": "request", "name": "Get a deployment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deployment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" } ], "authentication": { @@ -8046,11 +8375,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2623__", + "parentId": "__FLD_145__", + "_id": "__REQ_3144__", "_type": "request", "name": "Delete a deployment", - "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-deployment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8062,8 +8391,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2624__", + "parentId": "__FLD_145__", + "_id": "__REQ_3145__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deployment-statuses", @@ -8094,8 +8423,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2625__", + "parentId": "__FLD_145__", + "_id": "__REQ_3146__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deployment-status", @@ -8115,8 +8444,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2626__", + "parentId": "__FLD_145__", + "_id": "__REQ_3147__", "_type": "request", "name": "Get a deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deployment-status", @@ -8136,11 +8465,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2627__", + "parentId": "__FLD_145__", + "_id": "__REQ_3148__", "_type": "request", "name": "Create a repository dispatch event", - "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-dispatch-event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-dispatch-event", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8152,8 +8481,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2628__", + "parentId": "__FLD_125__", + "_id": "__REQ_3149__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-events", @@ -8179,8 +8508,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2629__", + "parentId": "__FLD_145__", + "_id": "__REQ_3150__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-forks", @@ -8211,11 +8540,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2630__", + "parentId": "__FLD_145__", + "_id": "__REQ_3151__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact) or [GitHub Enterprise Server Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8227,8 +8556,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2631__", + "parentId": "__FLD_133__", + "_id": "__REQ_3152__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-blob", @@ -8243,8 +8572,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2632__", + "parentId": "__FLD_133__", + "_id": "__REQ_3153__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-blob", @@ -8259,8 +8588,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2633__", + "parentId": "__FLD_133__", + "_id": "__REQ_3154__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-commit", @@ -8275,8 +8604,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2634__", + "parentId": "__FLD_133__", + "_id": "__REQ_3155__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-commit", @@ -8291,8 +8620,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2635__", + "parentId": "__FLD_133__", + "_id": "__REQ_3156__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#list-matching-references", @@ -8318,8 +8647,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2636__", + "parentId": "__FLD_133__", + "_id": "__REQ_3157__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-reference", @@ -8334,8 +8663,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2637__", + "parentId": "__FLD_133__", + "_id": "__REQ_3158__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference", @@ -8350,8 +8679,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2638__", + "parentId": "__FLD_133__", + "_id": "__REQ_3159__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#update-a-reference", @@ -8366,8 +8695,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2639__", + "parentId": "__FLD_133__", + "_id": "__REQ_3160__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#delete-a-reference", @@ -8382,8 +8711,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2640__", + "parentId": "__FLD_133__", + "_id": "__REQ_3161__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-tag-object", @@ -8398,8 +8727,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2641__", + "parentId": "__FLD_133__", + "_id": "__REQ_3162__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tag", @@ -8414,8 +8743,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2642__", + "parentId": "__FLD_133__", + "_id": "__REQ_3163__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.0/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#create-a-tree", @@ -8430,8 +8759,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2643__", + "parentId": "__FLD_133__", + "_id": "__REQ_3164__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/git#get-a-tree", @@ -8451,8 +8780,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2644__", + "parentId": "__FLD_145__", + "_id": "__REQ_3165__", "_type": "request", "name": "List repository webhooks", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-webhooks", @@ -8478,8 +8807,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2645__", + "parentId": "__FLD_145__", + "_id": "__REQ_3166__", "_type": "request", "name": "Create a repository webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-webhook", @@ -8494,8 +8823,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2646__", + "parentId": "__FLD_145__", + "_id": "__REQ_3167__", "_type": "request", "name": "Get a repository webhook", "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-webhook", @@ -8510,8 +8839,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2647__", + "parentId": "__FLD_145__", + "_id": "__REQ_3168__", "_type": "request", "name": "Update a repository webhook", "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-repository-webhook", @@ -8526,8 +8855,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2648__", + "parentId": "__FLD_145__", + "_id": "__REQ_3169__", "_type": "request", "name": "Delete a repository webhook", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-repository-webhook", @@ -8542,11 +8871,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2649__", + "parentId": "__FLD_145__", + "_id": "__REQ_3170__", "_type": "request", "name": "Get a webhook configuration for a repository", - "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos#get-a-webhook-configuration-for-a-repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8558,11 +8887,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2650__", + "parentId": "__FLD_145__", + "_id": "__REQ_3171__", "_type": "request", "name": "Update a webhook configuration for a repository", - "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos#update-a-webhook-configuration-for-a-repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8574,8 +8903,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2651__", + "parentId": "__FLD_145__", + "_id": "__REQ_3172__", "_type": "request", "name": "Ping a repository webhook", "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.0/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#ping-a-repository-webhook", @@ -8590,8 +8919,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2652__", + "parentId": "__FLD_145__", + "_id": "__REQ_3173__", "_type": "request", "name": "Test the push repository webhook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#test-the-push-repository-webhook", @@ -8606,11 +8935,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2653__", + "parentId": "__FLD_126__", + "_id": "__REQ_3174__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8622,8 +8951,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2654__", + "parentId": "__FLD_145__", + "_id": "__REQ_3175__", "_type": "request", "name": "List repository invitations", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-invitations", @@ -8649,8 +8978,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2655__", + "parentId": "__FLD_145__", + "_id": "__REQ_3176__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-repository-invitation", @@ -8665,8 +8994,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2656__", + "parentId": "__FLD_145__", + "_id": "__REQ_3177__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-repository-invitation", @@ -8681,15 +9010,15 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2657__", + "parentId": "__FLD_135__", + "_id": "__REQ_3178__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-repository-issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-repository-issues", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8752,11 +9081,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2658__", + "parentId": "__FLD_135__", + "_id": "__REQ_3179__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8768,8 +9097,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2659__", + "parentId": "__FLD_135__", + "_id": "__REQ_3180__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-comments-for-a-repository", @@ -8813,15 +9142,15 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2660__", + "parentId": "__FLD_135__", + "_id": "__REQ_3181__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-an-issue-comment", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -8834,8 +9163,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2661__", + "parentId": "__FLD_135__", + "_id": "__REQ_3182__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-an-issue-comment", @@ -8850,8 +9179,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2662__", + "parentId": "__FLD_135__", + "_id": "__REQ_3183__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-an-issue-comment", @@ -8866,11 +9195,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2663__", + "parentId": "__FLD_144__", + "_id": "__REQ_3184__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -8902,11 +9231,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2664__", + "parentId": "__FLD_144__", + "_id": "__REQ_3185__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -8923,11 +9252,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2665__", + "parentId": "__FLD_144__", + "_id": "__REQ_3186__", "_type": "request", "name": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-an-issue-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-an-issue-comment-reaction", "headers": [ { "name": "Accept", @@ -8944,8 +9273,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2666__", + "parentId": "__FLD_135__", + "_id": "__REQ_3187__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-events-for-a-repository", @@ -8976,8 +9305,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2667__", + "parentId": "__FLD_135__", + "_id": "__REQ_3188__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-an-issue-event", @@ -8997,11 +9326,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2668__", + "parentId": "__FLD_135__", + "_id": "__REQ_3189__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#get-an-issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.0/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-an-issue", "headers": [ { "name": "Accept", @@ -9018,11 +9347,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2669__", + "parentId": "__FLD_135__", + "_id": "__REQ_3190__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9034,8 +9363,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2670__", + "parentId": "__FLD_135__", + "_id": "__REQ_3191__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#add-assignees-to-an-issue", @@ -9050,8 +9379,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2671__", + "parentId": "__FLD_135__", + "_id": "__REQ_3192__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-assignees-from-an-issue", @@ -9066,8 +9395,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2672__", + "parentId": "__FLD_135__", + "_id": "__REQ_3193__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-comments", @@ -9102,11 +9431,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2673__", + "parentId": "__FLD_135__", + "_id": "__REQ_3194__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9118,8 +9447,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2674__", + "parentId": "__FLD_135__", + "_id": "__REQ_3195__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-issue-events", @@ -9150,8 +9479,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2675__", + "parentId": "__FLD_135__", + "_id": "__REQ_3196__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-an-issue", @@ -9177,8 +9506,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2676__", + "parentId": "__FLD_135__", + "_id": "__REQ_3197__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#add-labels-to-an-issue", @@ -9193,8 +9522,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2677__", + "parentId": "__FLD_135__", + "_id": "__REQ_3198__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#set-labels-for-an-issue", @@ -9209,8 +9538,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2678__", + "parentId": "__FLD_135__", + "_id": "__REQ_3199__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-all-labels-from-an-issue", @@ -9225,8 +9554,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2679__", + "parentId": "__FLD_135__", + "_id": "__REQ_3200__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#remove-a-label-from-an-issue", @@ -9241,11 +9570,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2680__", + "parentId": "__FLD_135__", + "_id": "__REQ_3201__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#lock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9257,11 +9586,11 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2681__", + "parentId": "__FLD_135__", + "_id": "__REQ_3202__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9273,11 +9602,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2682__", + "parentId": "__FLD_144__", + "_id": "__REQ_3203__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -9309,11 +9638,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2683__", + "parentId": "__FLD_144__", + "_id": "__REQ_3204__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -9330,11 +9659,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2684__", + "parentId": "__FLD_144__", + "_id": "__REQ_3205__", "_type": "request", "name": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-an-issue-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.0/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-an-issue-reaction", "headers": [ { "name": "Accept", @@ -9351,8 +9680,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2685__", + "parentId": "__FLD_135__", + "_id": "__REQ_3206__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-timeline-events-for-an-issue", @@ -9383,8 +9712,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2686__", + "parentId": "__FLD_145__", + "_id": "__REQ_3207__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-deploy-keys", @@ -9410,8 +9739,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2687__", + "parentId": "__FLD_145__", + "_id": "__REQ_3208__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-deploy-key", @@ -9426,8 +9755,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2688__", + "parentId": "__FLD_145__", + "_id": "__REQ_3209__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-deploy-key", @@ -9442,8 +9771,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2689__", + "parentId": "__FLD_145__", + "_id": "__REQ_3210__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-deploy-key", @@ -9458,8 +9787,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2690__", + "parentId": "__FLD_135__", + "_id": "__REQ_3211__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-a-repository", @@ -9485,8 +9814,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2691__", + "parentId": "__FLD_135__", + "_id": "__REQ_3212__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-a-label", @@ -9501,8 +9830,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2692__", + "parentId": "__FLD_135__", + "_id": "__REQ_3213__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-a-label", @@ -9517,8 +9846,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2693__", + "parentId": "__FLD_135__", + "_id": "__REQ_3214__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-a-label", @@ -9533,8 +9862,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2694__", + "parentId": "__FLD_135__", + "_id": "__REQ_3215__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-a-label", @@ -9549,11 +9878,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2695__", + "parentId": "__FLD_145__", + "_id": "__REQ_3216__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9565,11 +9894,11 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2696__", + "parentId": "__FLD_136__", + "_id": "__REQ_3217__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9581,8 +9910,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2697__", + "parentId": "__FLD_145__", + "_id": "__REQ_3218__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#merge-a-branch", @@ -9597,8 +9926,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2698__", + "parentId": "__FLD_135__", + "_id": "__REQ_3219__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-milestones", @@ -9639,8 +9968,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2699__", + "parentId": "__FLD_135__", + "_id": "__REQ_3220__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-a-milestone", @@ -9655,8 +9984,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2700__", + "parentId": "__FLD_135__", + "_id": "__REQ_3221__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#get-a-milestone", @@ -9671,8 +10000,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2701__", + "parentId": "__FLD_135__", + "_id": "__REQ_3222__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#update-a-milestone", @@ -9687,8 +10016,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2702__", + "parentId": "__FLD_135__", + "_id": "__REQ_3223__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#delete-a-milestone", @@ -9703,8 +10032,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2703__", + "parentId": "__FLD_135__", + "_id": "__REQ_3224__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -9730,8 +10059,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2704__", + "parentId": "__FLD_125__", + "_id": "__REQ_3225__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -9775,8 +10104,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2705__", + "parentId": "__FLD_125__", + "_id": "__REQ_3226__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#mark-repository-notifications-as-read", @@ -9791,8 +10120,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2706__", + "parentId": "__FLD_145__", + "_id": "__REQ_3227__", "_type": "request", "name": "Get a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-github-pages-site", @@ -9807,8 +10136,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2707__", + "parentId": "__FLD_145__", + "_id": "__REQ_3228__", "_type": "request", "name": "Create a GitHub Enterprise Server Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-github-pages-site", @@ -9828,8 +10157,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2708__", + "parentId": "__FLD_145__", + "_id": "__REQ_3229__", "_type": "request", "name": "Update information about a GitHub Enterprise Server Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-information-about-a-github-pages-site", @@ -9844,8 +10173,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2709__", + "parentId": "__FLD_145__", + "_id": "__REQ_3230__", "_type": "request", "name": "Delete a GitHub Enterprise Server Pages site", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-github-pages-site", @@ -9865,8 +10194,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2710__", + "parentId": "__FLD_145__", + "_id": "__REQ_3231__", "_type": "request", "name": "List GitHub Enterprise Server Pages builds", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-github-pages-builds", @@ -9892,8 +10221,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2711__", + "parentId": "__FLD_145__", + "_id": "__REQ_3232__", "_type": "request", "name": "Request a GitHub Enterprise Server Pages build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#request-a-github-pages-build", @@ -9908,8 +10237,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2712__", + "parentId": "__FLD_145__", + "_id": "__REQ_3233__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-latest-pages-build", @@ -9924,8 +10253,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2713__", + "parentId": "__FLD_145__", + "_id": "__REQ_3234__", "_type": "request", "name": "Get GitHub Enterprise Server Pages build", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-github-pages-build", @@ -9940,8 +10269,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2714__", + "parentId": "__FLD_131__", + "_id": "__REQ_3235__", "_type": "request", "name": "List pre-receive hooks for a repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", @@ -9968,12 +10297,22 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2715__", + "parentId": "__FLD_131__", + "_id": "__REQ_3236__", "_type": "request", "name": "Get a pre-receive hook for a repository", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", @@ -9993,8 +10332,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2716__", + "parentId": "__FLD_131__", + "_id": "__REQ_3237__", "_type": "request", "name": "Update pre-receive hook enforcement for a repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", @@ -10014,8 +10353,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2717__", + "parentId": "__FLD_131__", + "_id": "__REQ_3238__", "_type": "request", "name": "Remove pre-receive hook enforcement for a repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", @@ -10035,11 +10374,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2718__", + "parentId": "__FLD_141__", + "_id": "__REQ_3239__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-repository-projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-repository-projects", "headers": [ { "name": "Accept", @@ -10072,11 +10411,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2719__", + "parentId": "__FLD_141__", + "_id": "__REQ_3240__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-a-repository-project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-repository-project", "headers": [ { "name": "Accept", @@ -10093,11 +10432,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2720__", + "parentId": "__FLD_142__", + "_id": "__REQ_3241__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10142,11 +10481,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2721__", + "parentId": "__FLD_142__", + "_id": "__REQ_3242__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10158,15 +10497,15 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2722__", + "parentId": "__FLD_142__", + "_id": "__REQ_3243__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-review-comments-in-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -10179,7 +10518,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -10203,15 +10541,15 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2723__", + "parentId": "__FLD_142__", + "_id": "__REQ_3244__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -10224,8 +10562,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2724__", + "parentId": "__FLD_142__", + "_id": "__REQ_3245__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-review-comment-for-a-pull-request", @@ -10245,8 +10583,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2725__", + "parentId": "__FLD_142__", + "_id": "__REQ_3246__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -10261,11 +10599,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2726__", + "parentId": "__FLD_144__", + "_id": "__REQ_3247__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -10297,11 +10635,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2727__", + "parentId": "__FLD_144__", + "_id": "__REQ_3248__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -10318,11 +10656,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2728__", + "parentId": "__FLD_144__", + "_id": "__REQ_3249__", "_type": "request", "name": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#delete-a-pull-request-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions#delete-a-pull-request-comment-reaction", "headers": [ { "name": "Accept", @@ -10339,11 +10677,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2729__", + "parentId": "__FLD_142__", + "_id": "__REQ_3250__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.0/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10355,11 +10693,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2730__", + "parentId": "__FLD_142__", + "_id": "__REQ_3251__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls/#update-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10371,15 +10709,15 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2731__", + "parentId": "__FLD_142__", + "_id": "__REQ_3252__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-review-comments-on-a-pull-request", "headers": [ { "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" } ], "authentication": { @@ -10416,11 +10754,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2732__", + "parentId": "__FLD_142__", + "_id": "__REQ_3253__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.0/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "headers": [ { "name": "Accept", @@ -10437,11 +10775,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2733__", + "parentId": "__FLD_142__", + "_id": "__REQ_3254__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10453,11 +10791,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2734__", + "parentId": "__FLD_142__", + "_id": "__REQ_3255__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10480,11 +10818,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2735__", + "parentId": "__FLD_142__", + "_id": "__REQ_3256__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10507,11 +10845,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2736__", + "parentId": "__FLD_142__", + "_id": "__REQ_3257__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10523,11 +10861,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2737__", + "parentId": "__FLD_142__", + "_id": "__REQ_3258__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#merge-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10539,8 +10877,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2738__", + "parentId": "__FLD_142__", + "_id": "__REQ_3259__", "_type": "request", "name": "List requested reviewers for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", @@ -10566,11 +10904,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2739__", + "parentId": "__FLD_142__", + "_id": "__REQ_3260__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.0/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10582,8 +10920,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2740__", + "parentId": "__FLD_142__", + "_id": "__REQ_3261__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -10598,8 +10936,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2741__", + "parentId": "__FLD_142__", + "_id": "__REQ_3262__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -10625,11 +10963,11 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2742__", + "parentId": "__FLD_142__", + "_id": "__REQ_3263__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10641,8 +10979,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2743__", + "parentId": "__FLD_142__", + "_id": "__REQ_3264__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -10657,8 +10995,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2744__", + "parentId": "__FLD_142__", + "_id": "__REQ_3265__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -10673,8 +11011,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2745__", + "parentId": "__FLD_142__", + "_id": "__REQ_3266__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -10689,8 +11027,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2746__", + "parentId": "__FLD_142__", + "_id": "__REQ_3267__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -10716,8 +11054,8 @@ ] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2747__", + "parentId": "__FLD_142__", + "_id": "__REQ_3268__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -10732,8 +11070,8 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2748__", + "parentId": "__FLD_142__", + "_id": "__REQ_3269__", "_type": "request", "name": "Submit a review for a pull request", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#submit-a-review-for-a-pull-request", @@ -10748,11 +11086,11 @@ "parameters": [] }, { - "parentId": "__FLD_123__", - "_id": "__REQ_2749__", + "parentId": "__FLD_142__", + "_id": "__REQ_3270__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/pulls/#update-a-pull-request-branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/pulls#update-a-pull-request-branch", "headers": [ { "name": "Accept", @@ -10769,8 +11107,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2750__", + "parentId": "__FLD_145__", + "_id": "__REQ_3271__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-readme", @@ -10790,8 +11128,29 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2751__", + "parentId": "__FLD_145__", + "_id": "__REQ_3272__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_145__", + "_id": "__REQ_3273__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-releases", @@ -10817,11 +11176,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2752__", + "parentId": "__FLD_145__", + "_id": "__REQ_3274__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10833,8 +11192,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2753__", + "parentId": "__FLD_145__", + "_id": "__REQ_3275__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release-asset", @@ -10849,8 +11208,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2754__", + "parentId": "__FLD_145__", + "_id": "__REQ_3276__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-release-asset", @@ -10865,8 +11224,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2755__", + "parentId": "__FLD_145__", + "_id": "__REQ_3277__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-release-asset", @@ -10881,8 +11240,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2756__", + "parentId": "__FLD_145__", + "_id": "__REQ_3278__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-latest-release", @@ -10897,8 +11256,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2757__", + "parentId": "__FLD_145__", + "_id": "__REQ_3279__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release-by-tag-name", @@ -10913,8 +11272,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2758__", + "parentId": "__FLD_145__", + "_id": "__REQ_3280__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-release", @@ -10929,8 +11288,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2759__", + "parentId": "__FLD_145__", + "_id": "__REQ_3281__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-a-release", @@ -10945,8 +11304,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2760__", + "parentId": "__FLD_145__", + "_id": "__REQ_3282__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#delete-a-release", @@ -10961,8 +11320,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2761__", + "parentId": "__FLD_145__", + "_id": "__REQ_3283__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-release-assets", @@ -10988,11 +11347,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2762__", + "parentId": "__FLD_145__", + "_id": "__REQ_3284__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11013,8 +11372,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2763__", + "parentId": "__FLD_125__", + "_id": "__REQ_3285__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-stargazers", @@ -11040,8 +11399,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2764__", + "parentId": "__FLD_145__", + "_id": "__REQ_3286__", "_type": "request", "name": "Get the weekly commit activity", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-weekly-commit-activity", @@ -11056,8 +11415,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2765__", + "parentId": "__FLD_145__", + "_id": "__REQ_3287__", "_type": "request", "name": "Get the last year of commit activity", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-last-year-of-commit-activity", @@ -11072,8 +11431,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2766__", + "parentId": "__FLD_145__", + "_id": "__REQ_3288__", "_type": "request", "name": "Get all contributor commit activity", "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-contributor-commit-activity", @@ -11088,8 +11447,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2767__", + "parentId": "__FLD_145__", + "_id": "__REQ_3289__", "_type": "request", "name": "Get the weekly commit count", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-weekly-commit-count", @@ -11104,8 +11463,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2768__", + "parentId": "__FLD_145__", + "_id": "__REQ_3290__", "_type": "request", "name": "Get the hourly commit count for each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-the-hourly-commit-count-for-each-day", @@ -11120,8 +11479,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2769__", + "parentId": "__FLD_145__", + "_id": "__REQ_3291__", "_type": "request", "name": "Create a commit status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-commit-status", @@ -11136,8 +11495,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2770__", + "parentId": "__FLD_125__", + "_id": "__REQ_3292__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-watchers", @@ -11163,8 +11522,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2771__", + "parentId": "__FLD_125__", + "_id": "__REQ_3293__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#get-a-repository-subscription", @@ -11179,8 +11538,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2772__", + "parentId": "__FLD_125__", + "_id": "__REQ_3294__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-repository-subscription", @@ -11195,8 +11554,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2773__", + "parentId": "__FLD_125__", + "_id": "__REQ_3295__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.0/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#delete-a-repository-subscription", @@ -11211,11 +11570,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2774__", + "parentId": "__FLD_145__", + "_id": "__REQ_3296__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11238,8 +11597,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2775__", + "parentId": "__FLD_145__", + "_id": "__REQ_3297__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#download-a-repository-archive", @@ -11254,11 +11613,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2776__", + "parentId": "__FLD_145__", + "_id": "__REQ_3298__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11281,11 +11640,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2777__", + "parentId": "__FLD_145__", + "_id": "__REQ_3299__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#get-all-repository-topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -11299,55 +11658,29 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_126__", - "_id": "__REQ_2778__", - "_type": "request", - "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#replace-all-repository-topics", - "headers": [ + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_126__", - "_id": "__REQ_2779__", - "_type": "request", - "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#transfer-a-repository", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", - "body": {}, - "parameters": [] + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2780__", + "parentId": "__FLD_145__", + "_id": "__REQ_3300__", "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#enable-vulnerability-alerts", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#replace-all-repository-topics", "headers": [ { "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" + "value": "application/vnd.github.mercy-preview+json" } ], "authentication": { @@ -11355,34 +11688,29 @@ "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", "body": {}, "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2781__", + "parentId": "__FLD_145__", + "_id": "__REQ_3301__", "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#transfer-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", "body": {}, "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2782__", + "parentId": "__FLD_145__", + "_id": "__REQ_3302__", "_type": "request", "name": "Download a repository archive (zip)", "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#download-a-repository-archive", @@ -11397,11 +11725,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2783__", + "parentId": "__FLD_145__", + "_id": "__REQ_3303__", "_type": "request", "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-using-a-template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -11418,11 +11746,11 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2784__", + "parentId": "__FLD_145__", + "_id": "__REQ_3304__", "_type": "request", "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-public-repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11444,11 +11772,11 @@ ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2785__", + "parentId": "__FLD_146__", + "_id": "__REQ_3305__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11484,11 +11812,11 @@ ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2786__", + "parentId": "__FLD_146__", + "_id": "__REQ_3306__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-commits", "headers": [ { "name": "Accept", @@ -11529,11 +11857,11 @@ ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2787__", + "parentId": "__FLD_146__", + "_id": "__REQ_3307__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11569,11 +11897,11 @@ ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2788__", + "parentId": "__FLD_146__", + "_id": "__REQ_3308__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11599,15 +11927,25 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2789__", + "parentId": "__FLD_146__", + "_id": "__REQ_3309__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-repositories", "headers": [ { "name": "Accept", @@ -11648,11 +11986,11 @@ ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2790__", + "parentId": "__FLD_146__", + "_id": "__REQ_3310__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-topics", "headers": [ { "name": "Accept", @@ -11670,15 +12008,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_127__", - "_id": "__REQ_2791__", + "parentId": "__FLD_146__", + "_id": "__REQ_3311__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.0/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11714,8 +12062,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2792__", + "parentId": "__FLD_131__", + "_id": "__REQ_3312__", "_type": "request", "name": "Get the configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-configuration-status", @@ -11730,8 +12078,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2793__", + "parentId": "__FLD_131__", + "_id": "__REQ_3313__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-configuration-process", @@ -11746,8 +12094,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2794__", + "parentId": "__FLD_131__", + "_id": "__REQ_3314__", "_type": "request", "name": "Get the maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-the-maintenance-status", @@ -11762,11 +12110,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2795__", + "parentId": "__FLD_131__", + "_id": "__REQ_3315__", "_type": "request", "name": "Enable or disable maintenance mode", - "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11778,8 +12126,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2796__", + "parentId": "__FLD_131__", + "_id": "__REQ_3316__", "_type": "request", "name": "Get settings", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings", @@ -11794,11 +12142,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2797__", + "parentId": "__FLD_131__", + "_id": "__REQ_3317__", "_type": "request", "name": "Set settings", - "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-settings", + "description": "For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings).\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#set-settings", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11810,8 +12158,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2798__", + "parentId": "__FLD_131__", + "_id": "__REQ_3318__", "_type": "request", "name": "Get all authorized SSH keys", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", @@ -11826,11 +12174,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2799__", + "parentId": "__FLD_131__", + "_id": "__REQ_3319__", "_type": "request", "name": "Add an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#add-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11842,11 +12190,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2800__", + "parentId": "__FLD_131__", + "_id": "__REQ_3320__", "_type": "request", "name": "Remove an authorized SSH key", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11858,11 +12206,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2801__", + "parentId": "__FLD_131__", + "_id": "__REQ_3321__", "_type": "request", "name": "Create a GitHub license", - "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#get-settings).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11874,11 +12222,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2802__", + "parentId": "__FLD_131__", + "_id": "__REQ_3322__", "_type": "request", "name": "Upgrade a license", - "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#upgrade-a-license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#upgrade-a-license", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11890,11 +12238,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2803__", + "parentId": "__FLD_147__", + "_id": "__REQ_3323__", "_type": "request", "name": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#get-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#get-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11906,11 +12254,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2804__", + "parentId": "__FLD_147__", + "_id": "__REQ_3324__", "_type": "request", "name": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#update-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#update-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11922,11 +12270,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2805__", + "parentId": "__FLD_147__", + "_id": "__REQ_3325__", "_type": "request", "name": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#delete-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#delete-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11938,8 +12286,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2806__", + "parentId": "__FLD_147__", + "_id": "__REQ_3326__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussions-legacy", @@ -11975,11 +12323,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2807__", + "parentId": "__FLD_147__", + "_id": "__REQ_3327__", "_type": "request", "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-legacy", "headers": [ { "name": "Accept", @@ -11996,8 +12344,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2808__", + "parentId": "__FLD_147__", + "_id": "__REQ_3328__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-legacy", @@ -12017,8 +12365,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2809__", + "parentId": "__FLD_147__", + "_id": "__REQ_3329__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-legacy", @@ -12038,8 +12386,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2810__", + "parentId": "__FLD_147__", + "_id": "__REQ_3330__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-legacy", @@ -12054,8 +12402,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2811__", + "parentId": "__FLD_147__", + "_id": "__REQ_3331__", "_type": "request", "name": "List discussion comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-discussion-comments-legacy", @@ -12091,11 +12439,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2812__", + "parentId": "__FLD_147__", + "_id": "__REQ_3332__", "_type": "request", "name": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.0/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -12112,8 +12460,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2813__", + "parentId": "__FLD_147__", + "_id": "__REQ_3333__", "_type": "request", "name": "Get a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-a-discussion-comment-legacy", @@ -12133,8 +12481,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2814__", + "parentId": "__FLD_147__", + "_id": "__REQ_3334__", "_type": "request", "name": "Update a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#update-a-discussion-comment-legacy", @@ -12154,8 +12502,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2815__", + "parentId": "__FLD_147__", + "_id": "__REQ_3335__", "_type": "request", "name": "Delete a discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#delete-a-discussion-comment-legacy", @@ -12170,11 +12518,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2816__", + "parentId": "__FLD_144__", + "_id": "__REQ_3336__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -12206,11 +12554,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2817__", + "parentId": "__FLD_144__", + "_id": "__REQ_3337__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "headers": [ { "name": "Accept", @@ -12227,11 +12575,11 @@ "parameters": [] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2818__", + "parentId": "__FLD_144__", + "_id": "__REQ_3338__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -12263,11 +12611,11 @@ ] }, { - "parentId": "__FLD_125__", - "_id": "__REQ_2819__", + "parentId": "__FLD_144__", + "_id": "__REQ_3339__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", "headers": [ { "name": "Accept", @@ -12284,8 +12632,8 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2820__", + "parentId": "__FLD_147__", + "_id": "__REQ_3340__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-members-legacy", @@ -12316,8 +12664,8 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2821__", + "parentId": "__FLD_147__", + "_id": "__REQ_3341__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-member-legacy", @@ -12332,11 +12680,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2822__", + "parentId": "__FLD_147__", + "_id": "__REQ_3342__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12348,11 +12696,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2823__", + "parentId": "__FLD_147__", + "_id": "__REQ_3343__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12364,11 +12712,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2824__", + "parentId": "__FLD_147__", + "_id": "__REQ_3344__", "_type": "request", "name": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#get-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12380,11 +12728,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2825__", + "parentId": "__FLD_147__", + "_id": "__REQ_3345__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12396,11 +12744,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2826__", + "parentId": "__FLD_147__", + "_id": "__REQ_3346__", "_type": "request", "name": "Remove team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12412,11 +12760,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2827__", + "parentId": "__FLD_147__", + "_id": "__REQ_3347__", "_type": "request", "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-projects-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#list-team-projects-legacy", "headers": [ { "name": "Accept", @@ -12444,11 +12792,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2828__", + "parentId": "__FLD_147__", + "_id": "__REQ_3348__", "_type": "request", "name": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-project-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#check-team-permissions-for-a-project-legacy", "headers": [ { "name": "Accept", @@ -12465,11 +12813,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2829__", + "parentId": "__FLD_147__", + "_id": "__REQ_3349__", "_type": "request", "name": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-project-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#add-or-update-team-project-permissions-legacy", "headers": [ { "name": "Accept", @@ -12486,11 +12834,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2830__", + "parentId": "__FLD_147__", + "_id": "__REQ_3350__", "_type": "request", "name": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-project-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12502,11 +12850,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2831__", + "parentId": "__FLD_147__", + "_id": "__REQ_3351__", "_type": "request", "name": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-team-repositories-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#list-team-repositories-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12529,11 +12877,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2832__", + "parentId": "__FLD_147__", + "_id": "__REQ_3352__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#check-team-permissions-for-a-repository-legacy", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12545,11 +12893,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2833__", + "parentId": "__FLD_147__", + "_id": "__REQ_3353__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#add-or-update-team-repository-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12561,11 +12909,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2834__", + "parentId": "__FLD_147__", + "_id": "__REQ_3354__", "_type": "request", "name": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#remove-a-repository-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12577,11 +12925,11 @@ "parameters": [] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2835__", + "parentId": "__FLD_147__", + "_id": "__REQ_3355__", "_type": "request", "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-child-teams-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams/#list-child-teams-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12604,11 +12952,11 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2836__", + "parentId": "__FLD_148__", + "_id": "__REQ_3356__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12620,11 +12968,11 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2837__", + "parentId": "__FLD_148__", + "_id": "__REQ_3357__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12636,8 +12984,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2838__", + "parentId": "__FLD_148__", + "_id": "__REQ_3358__", "_type": "request", "name": "List email addresses for the authenticated user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-email-addresses-for-the-authenticated-user", @@ -12663,8 +13011,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2839__", + "parentId": "__FLD_148__", + "_id": "__REQ_3359__", "_type": "request", "name": "Add an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#add-an-email-address-for-the-authenticated-user", @@ -12679,8 +13027,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2840__", + "parentId": "__FLD_148__", + "_id": "__REQ_3360__", "_type": "request", "name": "Delete an email address for the authenticated user", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-an-email-address-for-the-authenticated-user", @@ -12695,8 +13043,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2841__", + "parentId": "__FLD_148__", + "_id": "__REQ_3361__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-followers-of-the-authenticated-user", @@ -12722,8 +13070,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2842__", + "parentId": "__FLD_148__", + "_id": "__REQ_3362__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -12749,8 +13097,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2843__", + "parentId": "__FLD_148__", + "_id": "__REQ_3363__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -12765,8 +13113,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2844__", + "parentId": "__FLD_148__", + "_id": "__REQ_3364__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#follow-a-user", @@ -12781,8 +13129,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2845__", + "parentId": "__FLD_148__", + "_id": "__REQ_3365__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#unfollow-a-user", @@ -12797,8 +13145,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2846__", + "parentId": "__FLD_148__", + "_id": "__REQ_3366__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -12824,8 +13172,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2847__", + "parentId": "__FLD_148__", + "_id": "__REQ_3367__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -12840,8 +13188,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2848__", + "parentId": "__FLD_148__", + "_id": "__REQ_3368__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -12856,8 +13204,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2849__", + "parentId": "__FLD_148__", + "_id": "__REQ_3369__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -12872,8 +13220,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2850__", + "parentId": "__FLD_126__", + "_id": "__REQ_3370__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -12899,8 +13247,8 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2851__", + "parentId": "__FLD_126__", + "_id": "__REQ_3371__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", @@ -12931,8 +13279,8 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2852__", + "parentId": "__FLD_126__", + "_id": "__REQ_3372__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.0/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -12947,8 +13295,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2853__", + "parentId": "__FLD_126__", + "_id": "__REQ_3373__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.0/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -12963,15 +13311,15 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2854__", + "parentId": "__FLD_135__", + "_id": "__REQ_3374__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.0/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" } ], "authentication": { @@ -13023,8 +13371,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2855__", + "parentId": "__FLD_148__", + "_id": "__REQ_3375__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -13050,8 +13398,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2856__", + "parentId": "__FLD_148__", + "_id": "__REQ_3376__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -13066,8 +13414,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2857__", + "parentId": "__FLD_148__", + "_id": "__REQ_3377__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -13082,8 +13430,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2858__", + "parentId": "__FLD_148__", + "_id": "__REQ_3378__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -13098,8 +13446,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2859__", + "parentId": "__FLD_140__", + "_id": "__REQ_3379__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -13129,8 +13477,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2860__", + "parentId": "__FLD_140__", + "_id": "__REQ_3380__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -13145,8 +13493,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2861__", + "parentId": "__FLD_140__", + "_id": "__REQ_3381__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -13161,11 +13509,11 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2862__", + "parentId": "__FLD_140__", + "_id": "__REQ_3382__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13188,11 +13536,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2863__", + "parentId": "__FLD_141__", + "_id": "__REQ_3383__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#create-a-user-project", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#create-a-user-project", "headers": [ { "name": "Accept", @@ -13209,8 +13557,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2864__", + "parentId": "__FLD_148__", + "_id": "__REQ_3384__", "_type": "request", "name": "List public email addresses for the authenticated user", "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", @@ -13236,11 +13584,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2865__", + "parentId": "__FLD_145__", + "_id": "__REQ_3385__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13295,11 +13643,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2866__", + "parentId": "__FLD_145__", + "_id": "__REQ_3386__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#create-a-repository-for-the-authenticated-user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -13316,8 +13664,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2867__", + "parentId": "__FLD_145__", + "_id": "__REQ_3387__", "_type": "request", "name": "List repository invitations for the authenticated user", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", @@ -13343,8 +13691,8 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2868__", + "parentId": "__FLD_145__", + "_id": "__REQ_3388__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#accept-a-repository-invitation", @@ -13359,8 +13707,8 @@ "parameters": [] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2869__", + "parentId": "__FLD_145__", + "_id": "__REQ_3389__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#decline-a-repository-invitation", @@ -13375,8 +13723,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2870__", + "parentId": "__FLD_125__", + "_id": "__REQ_3390__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -13412,8 +13760,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2871__", + "parentId": "__FLD_125__", + "_id": "__REQ_3391__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -13428,8 +13776,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2872__", + "parentId": "__FLD_125__", + "_id": "__REQ_3392__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -13444,8 +13792,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2873__", + "parentId": "__FLD_125__", + "_id": "__REQ_3393__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -13460,8 +13808,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2874__", + "parentId": "__FLD_125__", + "_id": "__REQ_3394__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -13487,11 +13835,11 @@ ] }, { - "parentId": "__FLD_128__", - "_id": "__REQ_2875__", + "parentId": "__FLD_147__", + "_id": "__REQ_3395__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.0/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13514,11 +13862,11 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2876__", + "parentId": "__FLD_148__", + "_id": "__REQ_3396__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13540,11 +13888,11 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2877__", + "parentId": "__FLD_148__", + "_id": "__REQ_3397__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.0/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.0/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13556,8 +13904,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2878__", + "parentId": "__FLD_125__", + "_id": "__REQ_3398__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-events-for-the-authenticated-user", @@ -13583,8 +13931,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2879__", + "parentId": "__FLD_125__", + "_id": "__REQ_3399__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -13610,8 +13958,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2880__", + "parentId": "__FLD_125__", + "_id": "__REQ_3400__", "_type": "request", "name": "List public events for a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-for-a-user", @@ -13637,8 +13985,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2881__", + "parentId": "__FLD_148__", + "_id": "__REQ_3401__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-followers-of-a-user", @@ -13664,8 +14012,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2882__", + "parentId": "__FLD_148__", + "_id": "__REQ_3402__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-the-people-a-user-follows", @@ -13691,8 +14039,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2883__", + "parentId": "__FLD_148__", + "_id": "__REQ_3403__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#check-if-a-user-follows-another-user", @@ -13707,11 +14055,11 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2884__", + "parentId": "__FLD_132__", + "_id": "__REQ_3404__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.0/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13738,8 +14086,8 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2885__", + "parentId": "__FLD_148__", + "_id": "__REQ_3405__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-gpg-keys-for-a-user", @@ -13765,11 +14113,11 @@ ] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2886__", + "parentId": "__FLD_148__", + "_id": "__REQ_3406__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.0/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13790,11 +14138,11 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2887__", + "parentId": "__FLD_126__", + "_id": "__REQ_3407__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.0/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13806,8 +14154,8 @@ "parameters": [] }, { - "parentId": "__FLD_129__", - "_id": "__REQ_2888__", + "parentId": "__FLD_148__", + "_id": "__REQ_3408__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/users#list-public-keys-for-a-user", @@ -13833,11 +14181,11 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2889__", + "parentId": "__FLD_140__", + "_id": "__REQ_3409__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -13860,11 +14208,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2890__", + "parentId": "__FLD_141__", + "_id": "__REQ_3410__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/v3/projects/#list-user-projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/projects#list-user-projects", "headers": [ { "name": "Accept", @@ -13897,8 +14245,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2891__", + "parentId": "__FLD_125__", + "_id": "__REQ_3411__", "_type": "request", "name": "List events received by the authenticated user", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-events-received-by-the-authenticated-user", @@ -13924,8 +14272,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2892__", + "parentId": "__FLD_125__", + "_id": "__REQ_3412__", "_type": "request", "name": "List public events received by a user", "description": "\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-public-events-received-by-a-user", @@ -13951,11 +14299,11 @@ ] }, { - "parentId": "__FLD_126__", - "_id": "__REQ_2893__", + "parentId": "__FLD_145__", + "_id": "__REQ_3413__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.0/v3/repos/#list-repositories-for-a-user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/repos#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -13997,8 +14345,8 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2894__", + "parentId": "__FLD_131__", + "_id": "__REQ_3414__", "_type": "request", "name": "Promote a user to be a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", @@ -14013,8 +14361,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2895__", + "parentId": "__FLD_131__", + "_id": "__REQ_3415__", "_type": "request", "name": "Demote a site administrator", "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#demote-a-site-administrator", @@ -14029,8 +14377,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2896__", + "parentId": "__FLD_125__", + "_id": "__REQ_3416__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-starred-by-a-user", @@ -14066,8 +14414,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2897__", + "parentId": "__FLD_125__", + "_id": "__REQ_3417__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/activity#list-repositories-watched-by-a-user", @@ -14093,11 +14441,11 @@ ] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2898__", + "parentId": "__FLD_131__", + "_id": "__REQ_3418__", "_type": "request", "name": "Suspend a user", - "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.0/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#suspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14109,11 +14457,11 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2899__", + "parentId": "__FLD_131__", + "_id": "__REQ_3419__", "_type": "request", "name": "Unsuspend a user", - "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#unsuspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#unsuspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -14125,8 +14473,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2900__", + "parentId": "__FLD_138__", + "_id": "__REQ_3420__", "_type": "request", "name": "Get the Zen of GitHub", "description": "", diff --git a/routes/ghes-3.1.json b/routes/ghes-3.1.json new file mode 100644 index 0000000..7685a0b --- /dev/null +++ b/routes/ghes-3.1.json @@ -0,0 +1,14671 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.782Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_149__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "access_token": "", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "basehead": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_150__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_151__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_152__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_153__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_154__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_155__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_156__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_157__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_158__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_159__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_160__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_161__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_162__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_163__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_164__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_165__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_166__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_167__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_168__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_169__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_170__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_171__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_172__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_173__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_174__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_149__", + "_id": "__FLD_175__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_164__", + "_id": "__REQ_3421__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3422__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3423__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3424__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3425__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3426__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3427__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.1/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3428__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3429__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3430__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.1/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.hellcat-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3431__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3432__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3433__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3434__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3435__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3436__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3437__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3438__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3439__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3440__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3441__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3442__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3443__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3444__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3445__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3446__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3447__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3448__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3449__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3450__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3451__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3452__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3453__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3454__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3455__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.1/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3456__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3457__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3458__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3459__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3460__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3461__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.1/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3462__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3463__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3464__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3465__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3466__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3467__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3468__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3469__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3470__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3471__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3472__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3473__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3474__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3475__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3476__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3477__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3478__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3479__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3480__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3481__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3482__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3483__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_165__", + "_id": "__REQ_3484__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.1/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3485__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_155__", + "_id": "__REQ_3486__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_156__", + "_id": "__REQ_3487__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3488__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3489__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3490__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3491__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3492__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3493__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3494__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3495__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3496__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3497__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3498__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3499__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3500__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3501__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3502__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3503__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3504__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3505__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3506__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3507__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3508__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3509__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3510__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3511__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3512__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3513__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3514__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3515__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3516__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3517__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3518__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3519__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3520__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3521__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3522__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3523__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3524__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3525__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3526__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3527__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3528__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3529__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3530__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3531__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3532__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3533__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3534__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3535__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3536__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3537__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3538__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3539__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3540__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3541__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3542__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3543__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3544__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3545__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3546__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3547__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3548__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3549__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_3550__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_160__", + "_id": "__REQ_3551__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_160__", + "_id": "__REQ_3552__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3553__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3554__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.1/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3555__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_3556__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_3557__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_163__", + "_id": "__REQ_3558__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_163__", + "_id": "__REQ_3559__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_164__", + "_id": "__REQ_3560__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3561__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3562__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3563__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3564__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3565__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3566__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3567__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3568__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_164__", + "_id": "__REQ_3569__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3570__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3571__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3572__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3573__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3574__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3575__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3576__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3577__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3578__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3579__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3580__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3581__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3582__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3583__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3584__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3585__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3586__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3587__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3588__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3589__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3590__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3591__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3592__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3593__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3594__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3595__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3596__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3597__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3598__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3599__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3600__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3601__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3602__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3603__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3604__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3605__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3606__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3607__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3608__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3609__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3610__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3611__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3612__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3613__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3614__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3615__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3616__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3617__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.1/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3618__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3619__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3620__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3621__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3622__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3623__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3624__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3625__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3626__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3627__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3628__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.1/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3629__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3630__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3631__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3632__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3633__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3634__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3635__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3636__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3637__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3638__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_3639__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3640__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3641__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3642__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3643__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3644__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3645__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3646__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3647__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3648__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3649__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3650__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3651__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3652__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3653__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3654__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3655__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3656__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3657__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3658__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3659__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3660__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3661__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3662__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3663__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3664__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3665__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3666__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3667__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3668__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3669__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3670__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3671__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3672__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3673__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3674__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_3675__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3676__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3677__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3678__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3679__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3680__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3681__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3682__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3683__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3684__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3685__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3686__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3687__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3688__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3689__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3690__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3691__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3692__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3693__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3694__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_169__", + "_id": "__REQ_3695__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3696__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions/#delete-a-reaction-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3697__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3698__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3699__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3700__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3701__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3702__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3703__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3704__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3705__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3706__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3707__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3708__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3709__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3710__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3711__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3712__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3713__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3714__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3715__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3716__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3717__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3718__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3719__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3720__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3721__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3722__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3723__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3724__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3725__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3726__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3727__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3728__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3729__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3730__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3731__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3732__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3733__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3734__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_150__", + "_id": "__REQ_3735__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3736__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3737__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3738__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3739__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3740__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3741__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3742__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3743__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3744__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3745__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3746__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3747__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3748__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3749__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3750__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3751__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3752__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3753__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3754__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3755__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3756__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3757__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3758__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3759__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3760__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3761__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3762__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3763__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3764__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3765__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3766__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3767__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3768__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3769__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3770__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3771__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3772__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3773__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.1/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3774__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3775__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3776__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3777__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3778__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.1/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.1/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3779__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.1/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3780__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3781__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3782__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.1/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3783__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3784__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3785__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3786__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3787__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3788__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3789__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\n**Note**: The ability to delete analyses was introduced in GitHub Enterprise Server 3.1.\nYou can delete analyses that were generated prior to installing this release,\nhowever, if you do so, you will lose information about fixed alerts for all such analyses,\nfor the relevant code scanning tool.\nWe recommend that you only delete analyses that were generated with earlier releases\nif you don't need the details of fixed alerts from pre-3.1 releases.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set\n(see the example default response below).\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin the set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find the deletable analysis for one of the sets,\nstep through deleting the analyses in that set,\nand then repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3790__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_154__", + "_id": "__REQ_3791__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3792__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3793__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3794__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.1/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.1/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3795__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3796__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3797__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3798__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3799__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3800__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3801__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3802__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3803__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3804__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3805__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3806__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3807__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3808__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3809__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3810__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_153__", + "_id": "__REQ_3811__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3812__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3813__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3814__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3815__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.1/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.1/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3816__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.1/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3817__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3818__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3819__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3820__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3821__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.1/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3822__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3823__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3824__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3825__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3826__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3827__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.1/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3828__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3829__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3830__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3831__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3832__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3833__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3834__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3835__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.1/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3836__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.1/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3837__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3838__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3839__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3840__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3841__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3842__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.1/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_159__", + "_id": "__REQ_3843__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3844__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3845__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3846__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3847__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3848__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3849__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3850__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3851__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.1/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3852__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_3853__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3854__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3855__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3856__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3857__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3858__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.1/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3859__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3860__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3861__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3862__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3863__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.1/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3864__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.1/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3865__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.1/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3866__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3867__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3868__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.1/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3869__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3870__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3871__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3872__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3873__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.1/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3874__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3875__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3876__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3877__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3878__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3879__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3880__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3881__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3882__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.1/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3883__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.1/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3884__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.1/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3885__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3886__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3887__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3888__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3889__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3890__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3891__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3892__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3893__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3894__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3895__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_162__", + "_id": "__REQ_3896__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3897__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3898__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3899__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3900__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3901__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3902__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_3903__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3904__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3905__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3906__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3907__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3908__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3909__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3910__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3911__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3912__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3913__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3914__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3915__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3916__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3917__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3918__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_3919__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3920__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3921__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3922__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3923__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3924__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3925__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3926__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3927__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_3928__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3929__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.1/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3930__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3931__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3932__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.1/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3933__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3934__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3935__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3936__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3937__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.1/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3938__", + "_type": "request", + "name": "List requested reviewers for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3939__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.1/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3940__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3941__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3942__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3943__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3944__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3945__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3946__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3947__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3948__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_168__", + "_id": "__REQ_3949__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/pulls#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3950__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3951__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3952__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3953__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3954__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3955__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3956__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3957__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3958__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3959__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3960__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3961__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3962__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3963__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_173__", + "_id": "__REQ_3964__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_173__", + "_id": "__REQ_3965__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_173__", + "_id": "__REQ_3966__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3967__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3968__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3969__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3970__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3971__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3972__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3973__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3974__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3975__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3976__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_3977__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.1/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3978__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3979__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3980__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3981__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3982__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3983__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3984__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3985__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_3986__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3987__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3988__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3989__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3990__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3991__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3992__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_172__", + "_id": "__REQ_3993__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.1/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3994__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3995__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3996__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3997__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3998__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_3999__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.1/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4000__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4001__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4002__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4003__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4004__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4005__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4006__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4007__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4008__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4009__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4010__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4011__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4012__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4013__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4014__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.1/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4015__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4016__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4017__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_4018__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_4019__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_4020__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_170__", + "_id": "__REQ_4021__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4022__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4023__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4024__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4025__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4026__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4027__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4028__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4029__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4030__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4031__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4032__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4033__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4034__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4035__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4036__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4037__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4038__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4039__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4040__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4041__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4042__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4043__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4044__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4045__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4046__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4047__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4048__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4049__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4050__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4051__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_4052__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_4053__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_4054__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.1/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_4055__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.1/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_161__", + "_id": "__REQ_4056__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.1/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4057__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4058__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4059__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4060__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_4061__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_4062__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_4063__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_4064__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_4065__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4066__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.1/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4067__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4068__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4069__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4070__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4071__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4072__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4073__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4074__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4075__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4076__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_174__", + "_id": "__REQ_4077__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4078__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4079__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.1/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4080__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4081__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4082__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4083__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4084__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4085__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_158__", + "_id": "__REQ_4086__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4087__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4088__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_152__", + "_id": "__REQ_4089__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.1/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_175__", + "_id": "__REQ_4090__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_166__", + "_id": "__REQ_4091__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_167__", + "_id": "__REQ_4092__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/projects#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4093__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4094__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_171__", + "_id": "__REQ_4095__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/repos#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4096__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4097__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4098__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_151__", + "_id": "__REQ_4099__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4100__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.1/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.1/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_157__", + "_id": "__REQ_4101__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.1/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_164__", + "_id": "__REQ_4102__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.2.json b/routes/ghes-3.2.json new file mode 100644 index 0000000..13a0866 --- /dev/null +++ b/routes/ghes-3.2.json @@ -0,0 +1,15215 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.821Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_203__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "access_token": "", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "basehead": "", + "branch": "", + "branch_policy_id": 0, + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "delivery_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "environment_name": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_204__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_205__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_206__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_207__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_208__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_209__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_210__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_211__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_212__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_213__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_214__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_215__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_216__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_217__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_218__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_219__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_220__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_221__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_222__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_223__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_224__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_225__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_226__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_227__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_228__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_203__", + "_id": "__FLD_229__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_218__", + "_id": "__REQ_4760__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4761__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4762__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4763__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4764__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4765__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4766__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.2/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4767__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4768__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4769__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.2/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.hellcat-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4770__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4771__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4772__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4773__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4774__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4775__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4776__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4777__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4778__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4779__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4780__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4781__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4782__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4783__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4784__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4785__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4786__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4787__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4788__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4789__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4790__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4791__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4792__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4793__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4794__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4795__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4796__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4797__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4798__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4799__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4800__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4801__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4802__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4803__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.2/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4804__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4805__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4806__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4807__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4808__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4809__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4810__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4811__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4812__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4813__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4814__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4815__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4816__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4817__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4818__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4819__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4820__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4821__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4822__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4823__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4824__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4825__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_219__", + "_id": "__REQ_4826__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.2/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_209__", + "_id": "__REQ_4827__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_209__", + "_id": "__REQ_4828__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_210__", + "_id": "__REQ_4829__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4830__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4831__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4832__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4833__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4834__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4835__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4836__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4837__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4838__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4839__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4840__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4841__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4842__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4843__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4844__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4845__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4846__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4847__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4848__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4849__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4850__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4851__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4852__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4853__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4854__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4855__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4856__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4857__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4858__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4859__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4860__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4861__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4862__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4863__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4864__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4865__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4866__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4867__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4868__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4869__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4870__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4871__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4872__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4873__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4874__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4875__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4876__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4877__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4878__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4879__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4880__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4881__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4882__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4883__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4884__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4885__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4886__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4887__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4888__", + "_type": "request", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4889__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4890__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4891__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_4892__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_214__", + "_id": "__REQ_4893__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_214__", + "_id": "__REQ_4894__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4895__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4896__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.2/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_4897__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_216__", + "_id": "__REQ_4898__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_216__", + "_id": "__REQ_4899__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_217__", + "_id": "__REQ_4900__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_217__", + "_id": "__REQ_4901__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_218__", + "_id": "__REQ_4902__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4903__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4904__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4905__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4906__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4907__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4908__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4909__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4910__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_218__", + "_id": "__REQ_4911__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4912__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4913__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4914__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs/#update-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4915__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4916__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4917__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4918__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4919__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4920__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4921__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4922__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4923__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4924__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4925__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4926__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4927__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4928__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4929__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4930__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4931__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4932__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4933__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4934__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4935__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4936__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4937__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4938__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4939__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4940__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4941__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4942__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4943__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4944__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4945__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4946__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4947__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4948__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4949__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_4950__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_4951__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4952__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4953__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4954__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4955__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4956__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4957__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4958__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4959__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4960__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4961__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4962__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.2/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_4963__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4964__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_4965__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4966__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4967__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4968__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4969__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4970__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4971__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4972__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4973__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.2/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4974__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4975__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4976__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4977__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_4978__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_4979__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_4980__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4981__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4982__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4983__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_4984__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_4985__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_4986__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4987__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4988__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4989__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4990__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4991__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4992__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4993__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4994__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4995__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4996__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4997__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussion-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4998__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_4999__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5000__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5001__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5002__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5003__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5004__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5005__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5006__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5007__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5008__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5009__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5010__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5011__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5012__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5013__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5014__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5015__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5016__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5017__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5018__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5019__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5020__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5021__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5022__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5023__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5024__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5025__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5026__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5027__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5028__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5029__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5030__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5031__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5032__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5033__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5034__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-project-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5035__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#add-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5036__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#remove-project-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5037__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#get-project-permission-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5038__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5039__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_223__", + "_id": "__REQ_5040__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5041__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#delete-a-reaction-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5042__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5043__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5044__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5045__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5046__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5047__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5048__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5049__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5050__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5051__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5052__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5053__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5054__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5055__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5056__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5057__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5058__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5059__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5060__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5061__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5062__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5063__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5064__", + "_type": "request", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-the-review-history-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5065__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5066__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5067__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5068__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5069__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5070__", + "_type": "request", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5071__", + "_type": "request", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#review-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5072__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5073__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5074__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5075__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5076__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5077__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5078__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5079__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5080__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5081__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5082__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5083__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5084__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5085__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5086__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5087__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5088__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5089__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5090__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5091__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5092__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5093__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5094__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5095__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-pull-request-review-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5096__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5097__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5098__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5099__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-commit-signature-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5100__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5101__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5102__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5103__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5104__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5105__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5106__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5107__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5108__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5109__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5110__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5111__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5112__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5113__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5114__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5115__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5116__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5117__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5118__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5119__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5120__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5121__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.2/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5122__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5123__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5124__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5125__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5126__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.2/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.2/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5127__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.2/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5128__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5129__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5130__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.2/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5131__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5132__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5133__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5134__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5135__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5136__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5137__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\n**Note**: The ability to delete analyses was introduced in GitHub Enterprise Server 3.1.\nYou can delete analyses that were generated prior to installing this release,\nhowever, if you do so, you will lose information about fixed alerts for all such analyses,\nfor the relevant code scanning tool.\nWe recommend that you only delete analyses that were generated with earlier releases\nif you don't need the details of fixed alerts from pre-3.1 releases.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set\n(see the example default response below).\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin the set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find the deletable analysis for one of the sets,\nstep through deleting the analyses in that set,\nand then repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5138__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_208__", + "_id": "__REQ_5139__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5140__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5141__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5142__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.2/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.2/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5143__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5144__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5145__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5146__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#get-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5147__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5148__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5149__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5150__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5151__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5152__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5153__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5154__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#list-commit-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5155__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5156__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5157__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5158__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_207__", + "_id": "__REQ_5159__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5160__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5161__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5162__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5163__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.2/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.2/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5164__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.2/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5165__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5166__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5167__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5168__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5169__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.2/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5170__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5171__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5172__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5173__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5174__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5175__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.2/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5176__", + "_type": "request", + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/environments#list-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5177__", + "_type": "request", + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5178__", + "_type": "request", + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-or-update-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5179__", + "_type": "request", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5180__", + "_type": "request", + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5181__", + "_type": "request", + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5182__", + "_type": "request", + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5183__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5184__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5185__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5186__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5187__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5188__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5189__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5190__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5191__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5192__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.2/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5193__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.2/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5194__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5195__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5196__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5197__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5198__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5199__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.2/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_213__", + "_id": "__REQ_5200__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5201__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5202__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5203__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5204__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5205__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5206__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5207__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5208__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5209__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5210__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5211__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.2/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5212__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5213__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5214__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5215__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5216__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5217__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-repository-issues", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5218__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.2/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5219__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5220__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#get-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5221__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5222__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5223__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.2/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5224__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.2/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5225__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.2/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5226__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5227__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#get-an-issue-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5228__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.2/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#get-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5229__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5230__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5231__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5232__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-issue-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5233__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.2/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5234__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-issue-events", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5235__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5236__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5237__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5238__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5239__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5240__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5241__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5242__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.2/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5243__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.2/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5244__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.2/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5245__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5246__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5247__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5248__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5249__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5250__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5251__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5252__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5253__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5254__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5255__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_216__", + "_id": "__REQ_5256__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5257__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5258__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5259__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5260__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5261__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5262__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5263__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5264__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5265__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5266__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5267__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#create-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5268__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5269__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#delete-a-github-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5270__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5271__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5272__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5273__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/pages#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5274__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5275__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5276__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5277__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.eye-scream-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5278__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5279__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5280__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5281__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5282__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5283__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5284__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5285__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5286__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5287__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5288__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5289__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.2/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5290__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5291__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json,application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5292__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.2/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.comfort-fade-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5293__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5294__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5295__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5296__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5297__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.2/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5298__", + "_type": "request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.2/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5299__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.2/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5300__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5301__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5302__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.2/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5303__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5304__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5305__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5306__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5307__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5308__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.2/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_222__", + "_id": "__REQ_5309__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/pulls#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5310__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5311__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5312__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5313__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5314__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5315__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5316__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5317__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5318__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5319__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5320__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5321__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5322__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5323__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5324__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5325__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5326__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#delete-a-release-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_227__", + "_id": "__REQ_5327__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_227__", + "_id": "__REQ_5328__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_227__", + "_id": "__REQ_5329__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5330__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5331__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5332__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5333__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5334__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5335__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5336__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/commits/statuses#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5337__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5338__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5339__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5340__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.2/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5341__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5342__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5343__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5344__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5345__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5346__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5347__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5348__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5349__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5350__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5351__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5352__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5353__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_204__", + "_id": "__REQ_5354__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5355__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5356__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5357__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5358__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5359__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5360__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_226__", + "_id": "__REQ_5361__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.2/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5362__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5363__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5364__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5365__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5366__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5367__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.2/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5368__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5369__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5370__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5371__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5372__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5373__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5374__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5375__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5376__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5377__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5378__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5379__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5380__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5381__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-discussion-comments-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5382__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.2/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5383__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5384__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5385__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5386__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5387__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5388__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_224__", + "_id": "__REQ_5389__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5390__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5391__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5392__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5393__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5394__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5395__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5396__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5397__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#list-team-projects-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5398__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5399__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5400__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5401__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5402__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5403__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5404__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5405__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5406__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5407__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5408__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5409__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5410__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5411__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5412__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5413__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5414__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5415__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5416__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5417__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5418__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5419__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5420__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5421__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5422__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.2/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5423__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.2/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_215__", + "_id": "__REQ_5424__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.2/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5425__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5426__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5427__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5428__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_5429__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_5430__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_5431__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_5432__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5433__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5434__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.2/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5435__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5436__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5437__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5438__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5439__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5440__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5441__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5442__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5443__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5444__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_228__", + "_id": "__REQ_5445__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.2/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5446__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5447__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.2/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5448__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5449__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5450__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5451__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5452__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5453__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_212__", + "_id": "__REQ_5454__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5455__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5456__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_206__", + "_id": "__REQ_5457__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.2/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_229__", + "_id": "__REQ_5458__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_220__", + "_id": "__REQ_5459__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_221__", + "_id": "__REQ_5460__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/projects#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5461__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5462__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_225__", + "_id": "__REQ_5463__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5464__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5465__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5466__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_205__", + "_id": "__REQ_5467__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5468__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.2/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_211__", + "_id": "__REQ_5469__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.2/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_218__", + "_id": "__REQ_5470__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.3.json b/routes/ghes-3.3.json new file mode 100644 index 0000000..b62b05f --- /dev/null +++ b/routes/ghes-3.3.json @@ -0,0 +1,14763 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.854Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_260__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "access_token": "", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "autolink_id": 0, + "basehead": "", + "branch": "", + "branch_policy_id": 0, + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "delivery_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "environment_name": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_261__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_262__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_263__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_264__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_265__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_266__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_267__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_268__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_269__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_270__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_271__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_272__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_273__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_274__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_275__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_276__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_277__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_278__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_279__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_280__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_281__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_282__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_283__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_284__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_285__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_260__", + "_id": "__FLD_286__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_275__", + "_id": "__REQ_6252__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6253__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6254__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6255__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6256__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6257__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6258__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.3/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6259__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6260__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6261__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.3/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6262__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6263__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6264__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6265__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6266__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6267__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6268__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6269__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6270__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6271__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6272__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6273__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6274__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6275__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6276__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6277__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6278__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6279__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6280__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6281__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6282__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6283__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6284__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6285__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6286__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6287__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6288__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6289__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6290__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6291__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6292__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6293__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6294__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6295__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.3/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6296__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6297__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6298__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6299__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6300__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6301__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6302__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6303__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub Enterprise Server](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6304__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6305__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6306__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6307__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6308__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6309__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6310__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6311__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6312__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6313__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6314__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6315__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6316__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6317__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_276__", + "_id": "__REQ_6318__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.3/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_266__", + "_id": "__REQ_6319__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_266__", + "_id": "__REQ_6320__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_267__", + "_id": "__REQ_6321__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6322__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6323__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6324__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6325__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6326__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6327__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6328__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6329__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6330__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6331__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6332__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6333__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6334__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6335__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6336__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6337__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6338__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6339__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6340__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6341__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6342__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6343__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6344__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6345__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6346__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6347__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6348__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6349__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6350__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6351__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6352__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6353__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6354__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6355__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6356__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6357__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6358__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6359__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6360__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6361__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6362__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6363__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6364__", + "_type": "request", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6365__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6366__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6367__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6368__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6369__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6370__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6371__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6372__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6373__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6374__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6375__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6376__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6377__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6378__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6379__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6380__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6381__", + "_type": "request", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6382__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6383__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6384__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6385__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_271__", + "_id": "__REQ_6386__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_271__", + "_id": "__REQ_6387__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6388__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6389__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.3/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6390__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_273__", + "_id": "__REQ_6391__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_273__", + "_id": "__REQ_6392__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_274__", + "_id": "__REQ_6393__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_274__", + "_id": "__REQ_6394__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_275__", + "_id": "__REQ_6395__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6396__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6397__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6398__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6399__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6400__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6401__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6402__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6403__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_275__", + "_id": "__REQ_6404__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6405__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6406__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6407__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs/#update-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6408__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6409__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6410__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6411__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6412__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6413__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6414__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6415__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6416__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6417__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6418__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6419__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6420__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6421__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6422__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6423__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6424__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6425__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6426__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6427__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6428__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6429__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6430__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6431__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6432__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6433__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6434__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6435__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6436__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6437__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6438__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6439__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6440__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6441__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6442__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6443__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6444__", + "_type": "request", + "name": "Get the audit log for an organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.3/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.3/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-audit-log", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6445__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6446__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6447__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6448__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6449__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6450__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6451__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6452__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6453__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6454__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6455__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6456__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.3/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6457__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6458__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6459__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6460__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6461__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6462__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6463__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6464__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6465__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6466__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6467__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.3/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6468__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6469__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6470__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6471__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6472__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6473__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-organization-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6474__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#create-an-organization-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6475__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6476__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6477__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6478__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6479__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-organization-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6480__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-an-organization-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_284__", + "_id": "__REQ_6481__", + "_type": "request", + "name": "List secret scanning alerts for an organization", + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6482__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6483__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6484__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6485__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6486__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6487__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6488__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6489__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6490__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6491__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6492__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussion-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6493__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6494__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6495__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6496__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6497__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6498__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6499__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6500__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6501__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6502__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6503__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6504__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6505__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6506__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6507__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6508__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6509__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6510__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6511__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6512__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6513__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6514__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6515__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6516__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#get-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6517__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#update-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6518__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#delete-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6519__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#move-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6520__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#get-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6521__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#update-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6522__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#delete-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6523__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-project-cards", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6524__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#create-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6525__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#move-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6526__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#get-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6527__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#update-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6528__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#delete-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6529__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-project-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6530__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#add-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6531__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#remove-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6532__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#get-project-permission-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6533__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-project-columns", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6534__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#create-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_280__", + "_id": "__REQ_6535__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6536__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#delete-a-reaction-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6537__", + "_type": "request", + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6538__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos/#update-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6539__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6540__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6541__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6542__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6543__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6544__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6545__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6546__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6547__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6548__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6549__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6550__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6551__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6552__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6553__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6554__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6555__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6556__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6557__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6558__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6559__", + "_type": "request", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-the-review-history-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6560__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6561__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6562__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6563__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6564__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6565__", + "_type": "request", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6566__", + "_type": "request", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#review-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6567__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6568__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6569__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6570__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6571__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6572__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6573__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6574__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6575__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6576__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6577__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6578__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6579__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6580__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6581__", + "_type": "request", + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.3/v3/repos#list-autolinks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6582__", + "_type": "request", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/enterprise-server@3.3/v3/repos#create-an-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6583__", + "_type": "request", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.3/v3/repos#get-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6584__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.3/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6585__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6586__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6587__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6588__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6589__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6590__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6591__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6592__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6593__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6594__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6595__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6596__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6597__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6598__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6599__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6600__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6601__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6602__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6603__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6604__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6605__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6606__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6607__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6608__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6609__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6610__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6611__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6612__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6613__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6614__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6615__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6616__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6617__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6618__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6619__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6620__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.3/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6621__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6622__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6623__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6624__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6625__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.3/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#rerequest-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6626__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.3/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.3/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6627__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.3/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6628__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6629__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6630__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.3/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6631__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6632__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6633__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6634__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6635__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6636__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6637__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\n**Note**: The ability to delete analyses was introduced in GitHub Enterprise Server 3.1.\nYou can delete analyses that were generated prior to installing this release,\nhowever, if you do so, you will lose information about fixed alerts for all such analyses,\nfor the relevant code scanning tool.\nWe recommend that you only delete analyses that were generated with earlier releases\nif you don't need the details of fixed alerts from pre-3.1 releases.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set\n(see the example default response below).\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin the set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find the deletable analysis for one of the sets,\nstep through deleting the analyses in that set,\nand then repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6638__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_265__", + "_id": "__REQ_6639__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6640__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6641__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6642__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.3/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.3/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6643__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6644__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6645__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6646__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#get-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6647__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6648__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6649__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6650__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6651__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6652__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6653__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-branches-for-head-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6654__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#list-commit-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6655__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6656__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6657__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6658__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_264__", + "_id": "__REQ_6659__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6660__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6661__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6662__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6663__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/enterprise-server@3.3/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/enterprise-server@3.3/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6664__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.3/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6665__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6666__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6667__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6668__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-deployments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6669__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.3/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6670__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6671__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.3/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6672__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-deployment-statuses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6673__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6674__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6675__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.3/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6676__", + "_type": "request", + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/environments#list-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6677__", + "_type": "request", + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6678__", + "_type": "request", + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-or-update-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6679__", + "_type": "request", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6680__", + "_type": "request", + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6681__", + "_type": "request", + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6682__", + "_type": "request", + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6683__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6684__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6685__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6686__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6687__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6688__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6689__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6690__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6691__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6692__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.3/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6693__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.3/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6694__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6695__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6696__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6697__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6698__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6699__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.3/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_270__", + "_id": "__REQ_6700__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6701__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6702__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6703__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6704__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6705__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6706__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6707__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6708__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6709__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6710__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6711__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.3/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6712__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6713__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6714__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6715__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6716__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6717__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-repository-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6718__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.3/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6719__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6720__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#get-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6721__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6722__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6723__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.3/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6724__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.3/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6725__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.3/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6726__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6727__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#get-an-issue-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6728__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.3/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#get-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6729__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6730__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6731__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6732__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-issue-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6733__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.3/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6734__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-issue-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6735__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6736__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6737__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6738__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6739__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6740__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6741__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6742__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.3/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6743__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.3/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6744__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.3/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-an-issue-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6745__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6746__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6747__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6748__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6749__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6750__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6751__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6752__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6753__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6754__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6755__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6756__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6757__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_273__", + "_id": "__REQ_6758__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6759__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6760__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6761__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6762__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6763__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6764__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6765__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6766__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6767__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6768__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6769__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6770__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#create-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6771__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6772__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#delete-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6773__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6774__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6775__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6776__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/pages#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6777__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6778__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6779__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6780__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6781__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-repository-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6782__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#create-a-repository-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6783__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6784__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6785__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6786__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6787__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6788__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6789__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6790__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6791__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6792__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.3/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6793__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6794__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6795__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.3/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6796__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6797__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6798__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6799__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6800__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.3/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6801__", + "_type": "request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.3/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6802__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.3/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6803__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6804__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6805__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.3/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6806__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6807__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6808__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6809__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6810__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6811__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.3/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_279__", + "_id": "__REQ_6812__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6813__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6814__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6815__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6816__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6817__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6818__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6819__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6820__", + "_type": "request", + "name": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#generate-release-notes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/generate-notes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6821__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6822__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6823__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6824__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6825__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6826__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6827__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6828__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6829__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6830__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#delete-a-release-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_284__", + "_id": "__REQ_6831__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_284__", + "_id": "__REQ_6832__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_284__", + "_id": "__REQ_6833__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_284__", + "_id": "__REQ_6834__", + "_type": "request", + "name": "List locations for a secret scanning alert", + "description": "Lists all locations for a given secret scanning alert for a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}/locations", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6835__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6836__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6837__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6838__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6839__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6840__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6841__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/commits/statuses#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6842__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6843__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6844__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6845__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.3/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6846__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6847__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6848__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6849__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6850__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#replace-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6851__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6852__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6853__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6854__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6855__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6856__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6857__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6858__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_261__", + "_id": "__REQ_6859__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6860__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6861__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6862__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6863__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6864__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6865__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_283__", + "_id": "__REQ_6866__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.3/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6867__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6868__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6869__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6870__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6871__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6872__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.3/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6873__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6874__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6875__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6876__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6877__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6878__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6879__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6880__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6881__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6882__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6883__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6884__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6885__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6886__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-discussion-comments-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6887__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.3/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6888__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6889__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6890__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6891__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6892__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6893__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.3/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_281__", + "_id": "__REQ_6894__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.3/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6895__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6896__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6897__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6898__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6899__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6900__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6901__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6902__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#list-team-projects-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6903__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6904__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6905__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6906__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6907__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6908__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6909__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6910__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6911__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6912__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6913__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6914__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6915__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6916__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6917__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6918__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6919__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6920__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6921__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6922__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6923__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6924__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6925__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6926__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6927__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.3/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6928__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.3/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_272__", + "_id": "__REQ_6929__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.3/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6930__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6931__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6932__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6933__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6934__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6935__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6936__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6937__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6938__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#create-a-user-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6939__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.3/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6940__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6941__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6942__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6943__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6944__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6945__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6946__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6947__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6948__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6949__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_285__", + "_id": "__REQ_6950__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.3/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6951__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6952__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.3/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6953__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6954__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6955__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6956__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6957__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6958__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_269__", + "_id": "__REQ_6959__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6960__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6961__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_263__", + "_id": "__REQ_6962__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.3/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_286__", + "_id": "__REQ_6963__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_277__", + "_id": "__REQ_6964__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_278__", + "_id": "__REQ_6965__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/projects#list-user-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6966__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6967__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_282__", + "_id": "__REQ_6968__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repositories-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6969__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6970__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6971__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_262__", + "_id": "__REQ_6972__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6973__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.3/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_268__", + "_id": "__REQ_6974__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.3/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.3/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_275__", + "_id": "__REQ_6975__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.4.json b/routes/ghes-3.4.json new file mode 100644 index 0000000..a5387f9 --- /dev/null +++ b/routes/ghes-3.4.json @@ -0,0 +1,15499 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.868Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_287__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "autolink_id": 0, + "basehead": "", + "branch": "", + "branch_policy_id": 0, + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "delivery_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "environment_name": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "migration_id": 0, + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "organization_id": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_288__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_289__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_290__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_291__", + "_type": "request_group", + "name": "billing" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_292__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_293__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_294__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_295__", + "_type": "request_group", + "name": "dependabot" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_296__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_297__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_298__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_299__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_300__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_301__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_302__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_303__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_304__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_305__", + "_type": "request_group", + "name": "migrations" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_306__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_307__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_308__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_309__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_310__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_311__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_312__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_313__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_314__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_315__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_287__", + "_id": "__FLD_316__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_304__", + "_id": "__REQ_6976__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6977__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6978__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6979__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6980__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6981__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6982__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.4/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6983__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6984__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6985__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.4/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6986__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6987__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6988__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6989__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6990__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6991__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6992__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6993__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6994__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6995__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6996__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6997__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6998__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_6999__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7000__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7001__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7002__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7003__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7004__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7005__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7006__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7007__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7008__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7009__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7010__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7011__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7012__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7013__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7014__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7015__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7016__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7017__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7018__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7019__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.4/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7020__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7021__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7022__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7023__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7024__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7025__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7026__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7027__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7028__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7029__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7030__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7031__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7032__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7033__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7034__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7035__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7036__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7037__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_306__", + "_id": "__REQ_7038__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.4/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_294__", + "_id": "__REQ_7039__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_294__", + "_id": "__REQ_7040__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_296__", + "_id": "__REQ_7041__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7042__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7043__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7044__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7045__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7046__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7047__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7048__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7049__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7050__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7051__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7052__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7053__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7054__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7055__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7056__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7057__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7058__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7059__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7060__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7061__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7062__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7063__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7064__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7065__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7066__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7067__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7068__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7069__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7070__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7071__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7072__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7073__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7074__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7075__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7076__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7077__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7078__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7079__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7080__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7081__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7082__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7083__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7084__", + "_type": "request", + "name": "List labels for a self-hosted runner for an enterprise", + "description": "Lists all labels for a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7085__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an enterprise", + "description": "Add custom labels to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7086__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an enterprise", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7087__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an enterprise", + "description": "Remove all custom labels from a self-hosted runner configured in an\nenterprise. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7088__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an enterprise", + "description": "Remove a custom label from a self-hosted runner configured\nin an enterprise. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7089__", + "_type": "request", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7090__", + "_type": "request", + "name": "List secret scanning alerts for an enterprise", + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.4/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_291__", + "_id": "__REQ_7091__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an enterprise", + "description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7092__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7093__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7094__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7095__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7096__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7097__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7098__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7099__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7100__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7101__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7102__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7103__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7104__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7105__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7106__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7107__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7108__", + "_type": "request", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7109__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7110__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7111__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7112__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_300__", + "_id": "__REQ_7113__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_300__", + "_id": "__REQ_7114__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7115__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7116__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.4/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7117__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_302__", + "_id": "__REQ_7118__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_302__", + "_id": "__REQ_7119__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_303__", + "_id": "__REQ_7120__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_303__", + "_id": "__REQ_7121__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_304__", + "_id": "__REQ_7122__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7123__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7124__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7125__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7126__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7127__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7128__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7129__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7130__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_304__", + "_id": "__REQ_7131__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7132__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7133__", + "_type": "request", + "name": "List custom repository roles in an organization", + "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.4/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-custom-repository-roles-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations/{{ organization_id }}/custom_roles", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7134__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7135__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs/#update-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7136__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7137__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7138__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7139__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7140__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7141__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7142__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7143__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7144__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7145__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7146__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7147__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7148__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7149__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7150__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7151__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7152__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7153__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7154__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7155__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7156__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7157__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7158__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7159__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7160__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7161__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7162__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7163__", + "_type": "request", + "name": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7164__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an organization", + "description": "Add custom labels to a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7165__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7166__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7167__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7168__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7169__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7170__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7171__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7172__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7173__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7174__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7175__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7176__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7177__", + "_type": "request", + "name": "Get the audit log for an organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.4/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.4/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-audit-log", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7178__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7179__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7180__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7181__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7182__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7183__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7184__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7185__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7186__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7187__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7188__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7189__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7190__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7191__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7192__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7193__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7194__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7195__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7196__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7197__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7198__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.4/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7199__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7200__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7201__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7202__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7203__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7204__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7205__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7206__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7207__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7208__", + "_type": "request", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#list-organization-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7209__", + "_type": "request", + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#start-an-organization-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7210__", + "_type": "request", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#get-an-organization-migration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7211__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7212__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.4/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7213__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7214__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7215__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7216__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7217__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7218__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-organization-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7219__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#create-an-organization-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7220__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7221__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7222__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7223__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7224__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-organization-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7225__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-an-organization-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7226__", + "_type": "request", + "name": "List secret scanning alerts for an organization", + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_291__", + "_id": "__REQ_7227__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an organization", + "description": "Gets the GitHub Advanced Security active committers for an organization per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.\n\nIf this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7228__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7229__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7230__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7231__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7232__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7233__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7234__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7235__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7236__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7237__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7238__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussion-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7239__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7240__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7241__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7242__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7243__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7244__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7245__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7246__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7247__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7248__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7249__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7250__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7251__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7252__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7253__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7254__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7255__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7256__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7257__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7258__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7259__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7260__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7261__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7262__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#get-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7263__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#update-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7264__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#delete-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7265__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#move-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7266__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#get-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7267__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#update-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7268__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#delete-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7269__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-project-cards", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7270__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#create-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7271__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#move-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7272__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#get-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7273__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#update-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7274__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#delete-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7275__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-project-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7276__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#add-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7277__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#remove-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7278__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#get-project-permission-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7279__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-project-columns", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7280__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#create-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_310__", + "_id": "__REQ_7281__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7282__", + "_type": "request", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#delete-a-reaction-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7283__", + "_type": "request", + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7284__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos/#update-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7285__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7286__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7287__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7288__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7289__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7290__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7291__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7292__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7293__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7294__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7295__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7296__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7297__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7298__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7299__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7300__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7301__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7302__", + "_type": "request", + "name": "List labels for a self-hosted runner for a repository", + "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7303__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for a repository", + "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7304__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for a repository", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7305__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for a repository", + "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7306__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for a repository", + "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7307__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7308__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7309__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7310__", + "_type": "request", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-the-review-history-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7311__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7312__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7313__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7314__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7315__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7316__", + "_type": "request", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7317__", + "_type": "request", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#review-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7318__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7319__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7320__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7321__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7322__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7323__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7324__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7325__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7326__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7327__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7328__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7329__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7330__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7331__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7332__", + "_type": "request", + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.4/v3/repos#list-autolinks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7333__", + "_type": "request", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/enterprise-server@3.4/v3/repos#create-an-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7334__", + "_type": "request", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.4/v3/repos#get-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7335__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.4/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7336__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7337__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7338__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7339__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7340__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7341__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7342__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7343__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7344__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7345__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7346__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7347__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7348__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7349__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7350__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7351__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7352__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7353__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7354__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7355__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7356__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7357__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7358__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7359__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7360__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7361__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7362__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7363__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7364__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7365__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7366__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7367__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7368__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7369__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7370__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7371__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.4/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7372__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7373__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7374__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7375__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7376__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.4/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#rerequest-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7377__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.4/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.4/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7378__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.4/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7379__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7380__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7381__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.4/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7382__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7383__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7384__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7385__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7386__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7387__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7388__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7389__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_293__", + "_id": "__REQ_7390__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7391__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7392__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7393__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.4/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.4/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7394__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7395__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7396__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7397__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#get-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7398__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7399__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7400__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7401__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7402__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7403__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7404__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-branches-for-head-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7405__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#list-commit-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7406__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7407__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7408__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7409__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_292__", + "_id": "__REQ_7410__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7411__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7412__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7413__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7414__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.4/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7415__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7416__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7417__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7418__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7419__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7420__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7421__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_295__", + "_id": "__REQ_7422__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7423__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-deployments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7424__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.4/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7425__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7426__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.4/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7427__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-deployment-statuses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7428__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7429__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7430__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.4/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7431__", + "_type": "request", + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/environments#list-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7432__", + "_type": "request", + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7433__", + "_type": "request", + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-or-update-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7434__", + "_type": "request", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7435__", + "_type": "request", + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7436__", + "_type": "request", + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7437__", + "_type": "request", + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7438__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7439__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7440__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7441__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7442__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7443__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7444__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7445__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7446__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7447__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.4/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7448__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.4/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7449__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7450__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7451__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7452__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7453__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7454__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.4/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_299__", + "_id": "__REQ_7455__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7456__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7457__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7458__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7459__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7460__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7461__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7462__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7463__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7464__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7465__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7466__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.4/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7467__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7468__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7469__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7470__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7471__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7472__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-repository-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7473__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.4/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7474__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7475__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#get-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7476__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7477__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7478__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.4/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7479__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.4/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7480__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.4/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7481__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7482__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#get-an-issue-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7483__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.4/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#get-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7484__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7485__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7486__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7487__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-issue-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7488__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.4/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7489__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-issue-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7490__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7491__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7492__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7493__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7494__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7495__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7496__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7497__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.4/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7498__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.4/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7499__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.4/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-an-issue-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7500__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7501__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7502__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7503__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7504__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7505__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7506__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7507__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7508__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7509__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7510__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7511__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7512__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_302__", + "_id": "__REQ_7513__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7514__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7515__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7516__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7517__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7518__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7519__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7520__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7521__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7522__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7523__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7524__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7525__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#create-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7526__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7527__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#delete-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7528__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7529__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7530__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7531__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/pages#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7532__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7533__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7534__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7535__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7536__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-repository-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7537__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#create-a-repository-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7538__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7539__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7540__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7541__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7542__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7543__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7544__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7545__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7546__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7547__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.4/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7548__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7549__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7550__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.4/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7551__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7552__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7553__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7554__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7555__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.4/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7556__", + "_type": "request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.4/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7557__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.4/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7558__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7559__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7560__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.4/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7561__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7562__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7563__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7564__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7565__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7566__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.4/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_309__", + "_id": "__REQ_7567__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7568__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7569__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7570__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7571__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7572__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7573__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7574__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7575__", + "_type": "request", + "name": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#generate-release-notes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/generate-notes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7576__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7577__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7578__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7579__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7580__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7581__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7582__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7583__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7584__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7585__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#delete-a-release-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7586__", + "_type": "request", + "name": "List repository cache replication status", + "description": "Lists the status of each repository cache replica.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-cache-replication-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/replicas/caches", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7587__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7588__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7589__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_314__", + "_id": "__REQ_7590__", + "_type": "request", + "name": "List locations for a secret scanning alert", + "description": "Lists all locations for a given secret scanning alert for a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}/locations", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7591__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7592__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7593__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7594__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7595__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7596__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7597__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/commits/statuses#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7598__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7599__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7600__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7601__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.4/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7602__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7603__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7604__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7605__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7606__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#replace-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7607__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7608__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7609__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7610__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7611__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7612__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7613__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7614__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_288__", + "_id": "__REQ_7615__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7616__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7617__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7618__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7619__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7620__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7621__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_313__", + "_id": "__REQ_7622__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.4/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7623__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7624__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7625__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7626__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7627__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7628__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.4/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7629__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7630__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7631__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7632__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7633__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7634__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7635__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7636__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7637__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7638__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7639__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7640__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7641__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7642__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-discussion-comments-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7643__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.4/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7644__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7645__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7646__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7647__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7648__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7649__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.4/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_311__", + "_id": "__REQ_7650__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.4/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7651__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7652__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7653__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7654__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7655__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7656__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7657__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7658__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#list-team-projects-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7659__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7660__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7661__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7662__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7663__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7664__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7665__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7666__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7667__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7668__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7669__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7670__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7671__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7672__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7673__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7674__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7675__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7676__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7677__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7678__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7679__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7680__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7681__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7682__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7683__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.4/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7684__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.4/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_301__", + "_id": "__REQ_7685__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.4/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7686__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7687__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7688__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7689__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7690__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7691__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7692__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7693__", + "_type": "request", + "name": "List user migrations", + "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#list-user-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7694__", + "_type": "request", + "name": "Start a user migration", + "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#start-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7695__", + "_type": "request", + "name": "Download a user migration archive", + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#download-a-user-migration-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_305__", + "_id": "__REQ_7696__", + "_type": "request", + "name": "List repositories for a user migration", + "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/migrations#list-repositories-for-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7697__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7698__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#create-a-user-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7699__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.4/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7700__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7701__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7702__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7703__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7704__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7705__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7706__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7707__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7708__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7709__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_315__", + "_id": "__REQ_7710__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.4/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7711__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7712__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.4/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7713__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7714__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7715__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7716__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7717__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7718__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_298__", + "_id": "__REQ_7719__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7720__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7721__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_290__", + "_id": "__REQ_7722__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.4/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_316__", + "_id": "__REQ_7723__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_307__", + "_id": "__REQ_7724__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_308__", + "_id": "__REQ_7725__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/projects#list-user-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7726__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7727__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_312__", + "_id": "__REQ_7728__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repositories-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7729__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7730__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7731__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.4/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_289__", + "_id": "__REQ_7732__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7733__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.4/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_297__", + "_id": "__REQ_7734__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.4/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.4/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_304__", + "_id": "__REQ_7735__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.5.json b/routes/ghes-3.5.json new file mode 100644 index 0000000..53be33a --- /dev/null +++ b/routes/ghes-3.5.json @@ -0,0 +1,15919 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.840Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_230__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "attempt_number": 0, + "authorization_id": 0, + "autolink_id": 0, + "basehead": "", + "branch": "", + "branch_policy_id": 0, + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "delivery_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "environment_name": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "migration_id": 0, + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "organization_id": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_protection_id": 0, + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_231__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_232__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_233__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_234__", + "_type": "request_group", + "name": "billing" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_235__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_236__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_237__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_238__", + "_type": "request_group", + "name": "dependabot" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_239__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_240__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_241__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_242__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_243__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_244__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_245__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_246__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_247__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_248__", + "_type": "request_group", + "name": "migrations" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_249__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_250__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_251__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_252__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_253__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_254__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_255__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_256__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_257__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_258__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_230__", + "_id": "__FLD_259__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_247__", + "_id": "__REQ_5471__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5472__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5473__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5474__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5475__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5476__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5477__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.5/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5478__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5479__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5480__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.5/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5481__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5482__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5483__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5484__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5485__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5486__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5487__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5488__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5489__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5490__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5491__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5492__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5493__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5494__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5495__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5496__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5497__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5498__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5499__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5500__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5501__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5502__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5503__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5504__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5505__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5506__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5507__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5508__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5509__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5510__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5511__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5512__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5513__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5514__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.5/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5515__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5516__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5517__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5518__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5519__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5520__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5521__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5522__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5523__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5524__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5525__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5526__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5527__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5528__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5529__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5530__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5531__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5532__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_249__", + "_id": "__REQ_5533__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.5/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_237__", + "_id": "__REQ_5534__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_237__", + "_id": "__REQ_5535__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_239__", + "_id": "__REQ_5536__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5537__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5538__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5539__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5540__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5541__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5542__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5543__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5544__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5545__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5546__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5547__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5548__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5549__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5550__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5551__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5552__", + "_type": "request", + "name": "Get GitHub Actions cache usage for an enterprise", + "description": "Gets the total GitHub Actions cache usage for an enterprise.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5553__", + "_type": "request", + "name": "Get GitHub Actions cache usage policy for an enterprise", + "description": "Gets the GitHub Actions cache usage policy for an enterprise.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-cache-usage-policy-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5554__", + "_type": "request", + "name": "Set GitHub Actions cache usage policy for an enterprise", + "description": "Sets the GitHub Actions cache usage policy for an enterprise.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-github-actions-cache-usage-policy-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5555__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5556__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5557__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5558__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5559__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5560__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5561__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5562__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5563__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5564__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5565__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5566__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5567__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5568__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5569__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5570__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5571__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5572__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5573__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5574__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5575__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5576__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5577__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5578__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5579__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5580__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5581__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5582__", + "_type": "request", + "name": "List labels for a self-hosted runner for an enterprise", + "description": "Lists all labels for a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5583__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an enterprise", + "description": "Add custom labels to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5584__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an enterprise", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5585__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an enterprise", + "description": "Remove all custom labels from a self-hosted runner configured in an\nenterprise. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5586__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an enterprise", + "description": "Remove a custom label from a self-hosted runner configured\nin an enterprise. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5587__", + "_type": "request", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_5588__", + "_type": "request", + "name": "List secret scanning alerts for an enterprise", + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_234__", + "_id": "__REQ_5589__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an enterprise", + "description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5590__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5591__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5592__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5593__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5594__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5595__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5596__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5597__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5598__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5599__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5600__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5601__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5602__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5603__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5604__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5605__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5606__", + "_type": "request", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5607__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5608__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5609__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_5610__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_243__", + "_id": "__REQ_5611__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_243__", + "_id": "__REQ_5612__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5613__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5614__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.5/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5615__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_245__", + "_id": "__REQ_5616__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_245__", + "_id": "__REQ_5617__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_246__", + "_id": "__REQ_5618__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_246__", + "_id": "__REQ_5619__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_247__", + "_id": "__REQ_5620__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5621__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5622__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5623__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5624__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5625__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5626__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5627__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5628__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_247__", + "_id": "__REQ_5629__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5630__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5631__", + "_type": "request", + "name": "List custom repository roles in an organization", + "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-custom-repository-roles-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations/{{ organization_id }}/custom_roles", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5632__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5633__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs/#update-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5634__", + "_type": "request", + "name": "Get GitHub Actions cache usage for an organization", + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5635__", + "_type": "request", + "name": "List repositories with GitHub Actions cache usage for an organization", + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage-by-repository", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5636__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5637__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5638__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5639__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5640__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5641__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5642__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5643__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5644__", + "_type": "request", + "name": "Get default workflow permissions for an organization", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5645__", + "_type": "request", + "name": "Set default workflow permissions for an organization", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5646__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5647__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5648__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5649__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5650__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5651__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5652__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5653__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5654__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5655__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5656__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5657__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5658__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5659__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5660__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5661__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5662__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5663__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5664__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5665__", + "_type": "request", + "name": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5666__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an organization", + "description": "Add custom labels to a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5667__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5668__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5669__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5670__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5671__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5672__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5673__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5674__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5675__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5676__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5677__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5678__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5679__", + "_type": "request", + "name": "Get the audit log for an organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.5/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.5/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-audit-log", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5680__", + "_type": "request", + "name": "List code scanning alerts for an organization", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-code-scanning-alerts-by-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "state", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5681__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5682__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5683__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5684__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5685__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5686__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5687__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5688__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5689__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5690__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5691__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5692__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5693__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5694__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5695__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5696__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5697__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5698__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5699__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5700__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5701__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.5/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5702__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5703__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5704__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5705__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5706__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5707__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5708__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5709__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5710__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_5711__", + "_type": "request", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#list-organization-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_5712__", + "_type": "request", + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#start-an-organization-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_5713__", + "_type": "request", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#get-an-organization-migration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5714__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5715__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.5/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5716__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5717__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5718__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5719__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_5720__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5721__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-organization-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5722__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#create-an-organization-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5723__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5724__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5725__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_5726__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5727__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-organization-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5728__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-an-organization-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_5729__", + "_type": "request", + "name": "List secret scanning alerts for an organization", + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_234__", + "_id": "__REQ_5730__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an organization", + "description": "Gets the GitHub Advanced Security active committers for an organization per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.\n\nIf this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5731__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5732__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5733__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5734__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5735__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5736__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5737__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5738__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5739__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5740__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5741__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussion-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5742__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5743__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5744__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5745__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5746__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5747__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5748__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5749__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5750__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5751__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5752__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5753__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5754__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5755__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5756__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5757__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5758__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5759__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5760__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5761__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5762__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5763__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_5764__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5765__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#get-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5766__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#update-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5767__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#delete-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5768__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#move-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5769__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#get-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5770__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#update-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5771__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#delete-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5772__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-project-cards", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5773__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#create-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5774__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#move-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5775__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#get-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5776__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#update-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5777__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#delete-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5778__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-project-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5779__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#add-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5780__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#remove-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5781__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#get-project-permission-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5782__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-project-columns", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_5783__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#create-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_253__", + "_id": "__REQ_5784__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5785__", + "_type": "request", + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5786__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos/#update-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5787__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5788__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5789__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5790__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5791__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5792__", + "_type": "request", + "name": "Get GitHub Actions cache usage for a repository", + "description": "Gets GitHub Actions cache usage for a repository.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-cache-usage-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5793__", + "_type": "request", + "name": "Get GitHub Actions cache usage policy for a repository", + "description": "Gets GitHub Actions cache usage policy for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-cache-usage-policy-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5794__", + "_type": "request", + "name": "Set GitHub Actions cache usage policy for a repository", + "description": "Sets GitHub Actions cache usage policy for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-github-actions-cache-usage-policy-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5795__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5796__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5797__", + "_type": "request", + "name": "Re-run a job from a workflow run", + "description": "Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#re-run-job-for-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5798__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5799__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5800__", + "_type": "request", + "name": "Get the level of access for workflows outside of the repository", + "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.5/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-workflow-access-level-to-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5801__", + "_type": "request", + "name": "Set the level of access for workflows outside of the repository", + "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.5/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-workflow-access-to-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5802__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5803__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5804__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5805__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5806__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5807__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5808__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5809__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5810__", + "_type": "request", + "name": "List labels for a self-hosted runner for a repository", + "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5811__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for a repository", + "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5812__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for a repository", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5813__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for a repository", + "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5814__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for a repository", + "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5815__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5816__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5817__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5818__", + "_type": "request", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-the-review-history-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5819__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5820__", + "_type": "request", + "name": "Get a workflow run attempt", + "description": "Gets a specific workflow run attempt. Anyone with read access to the repository\ncan use this endpoint. If the repository is private you must use an access token\nwith the `repo` scope. GitHub Apps must have the `actions:read` permission to\nuse this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-workflow-run-attempt", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5821__", + "_type": "request", + "name": "List jobs for a workflow run attempt", + "description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-jobs-for-a-workflow-run-attempt", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/jobs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5822__", + "_type": "request", + "name": "Download workflow run attempt logs", + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#download-workflow-run-attempt-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5823__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5824__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5825__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5826__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5827__", + "_type": "request", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5828__", + "_type": "request", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#review-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5829__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5830__", + "_type": "request", + "name": "Re-run failed jobs from a workflow run", + "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#re-run-workflow-failed-jobs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun-failed-jobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5831__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5832__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5833__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5834__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5835__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5836__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5837__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5838__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5839__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5840__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_5841__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5842__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5843__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5844__", + "_type": "request", + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/v3/repos#list-autolinks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5845__", + "_type": "request", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/enterprise-server@3.5/v3/repos#create-an-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5846__", + "_type": "request", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/v3/repos#get-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5847__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5848__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5849__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5850__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5851__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5852__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5853__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5854__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5855__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5856__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5857__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5858__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5859__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5860__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5861__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5862__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5863__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5864__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5865__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5866__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5867__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5868__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5869__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5870__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5871__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5872__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5873__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5874__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5875__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5876__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5877__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5878__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5879__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5880__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5881__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5882__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5883__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.5/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5884__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5885__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5886__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5887__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5888__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.5/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#rerequest-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5889__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.5/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.5/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5890__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.5/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5891__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5892__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5893__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.5/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5894__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5895__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5896__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5897__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5898__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5899__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5900__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5901__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_236__", + "_id": "__REQ_5902__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5903__", + "_type": "request", + "name": "List CODEOWNERS errors", + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/enterprise-server@3.5/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-codeowners-errors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codeowners/errors", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5904__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5905__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5906__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.5/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5907__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5908__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5909__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5910__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#get-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5911__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5912__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5913__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5914__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5915__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5916__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5917__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-branches-for-head-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5918__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#list-commit-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5919__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5920__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5921__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5922__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_235__", + "_id": "__REQ_5923__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5924__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5925__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5926__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5927__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.5/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5928__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5929__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5930__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5931__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5932__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5933__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5934__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_238__", + "_id": "__REQ_5935__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5936__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-deployments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5937__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.5/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5938__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5939__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.5/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5940__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-deployment-statuses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5941__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5942__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5943__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.5/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5944__", + "_type": "request", + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/environments#list-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5945__", + "_type": "request", + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5946__", + "_type": "request", + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-or-update-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5947__", + "_type": "request", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5948__", + "_type": "request", + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5949__", + "_type": "request", + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5950__", + "_type": "request", + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5951__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5952__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_5953__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5954__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5955__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5956__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5957__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5958__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5959__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5960__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.5/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5961__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.5/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5962__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5963__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5964__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5965__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5966__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5967__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.5/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_242__", + "_id": "__REQ_5968__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5969__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5970__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5971__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5972__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5973__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5974__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5975__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5976__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5977__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5978__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5979__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.5/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5980__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_5981__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5982__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5983__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_5984__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5985__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-repository-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5986__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5987__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5988__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#get-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5989__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5990__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5991__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.5/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5992__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.5/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_5993__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.5/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5994__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5995__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#get-an-issue-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5996__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.5/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#get-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5997__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5998__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_5999__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6000__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-issue-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6001__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6002__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-issue-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6003__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6004__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6005__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6006__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6007__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6008__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6009__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6010__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.5/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6011__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.5/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6012__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.5/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-an-issue-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6013__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6014__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6015__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6016__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6017__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6018__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6019__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6020__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6021__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6022__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6023__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6024__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6025__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_245__", + "_id": "__REQ_6026__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6027__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6028__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6029__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6030__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6031__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6032__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6033__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6034__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6035__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6036__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6037__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6038__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#create-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6039__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6040__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#delete-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6041__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6042__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6043__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6044__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/pages#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6045__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6046__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6047__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6048__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_6049__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-repository-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_6050__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#create-a-repository-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6051__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6052__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6053__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6054__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6055__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6056__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6057__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6058__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6059__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6060__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.5/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6061__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6062__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6063__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.5/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6064__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6065__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6066__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6067__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6068__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6069__", + "_type": "request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.5/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6070__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6071__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6072__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6073__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.5/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6074__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6075__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6076__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6077__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6078__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6079__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.5/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_252__", + "_id": "__REQ_6080__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6081__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6082__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6083__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6084__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6085__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6086__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6087__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6088__", + "_type": "request", + "name": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#generate-release-notes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/generate-notes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6089__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6090__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6091__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6092__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6093__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6094__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6095__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6096__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6097__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6098__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#delete-a-release-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6099__", + "_type": "request", + "name": "List repository cache replication status", + "description": "Lists the status of each repository cache replica.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-cache-replication-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/replicas/caches", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_6100__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for an eligible repository, from newest to oldest.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_6101__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_6102__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_257__", + "_id": "__REQ_6103__", + "_type": "request", + "name": "List locations for a secret scanning alert", + "description": "Lists all locations for a given secret scanning alert for an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}/locations", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6104__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6105__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6106__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6107__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6108__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6109__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6110__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/commits/statuses#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6111__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6112__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6113__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6114__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.5/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6115__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6116__", + "_type": "request", + "name": "List tag protection states for a repository", + "description": "This returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-tag-protection-state-of-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6117__", + "_type": "request", + "name": "Create a tag protection state for a repository", + "description": "This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6118__", + "_type": "request", + "name": "Delete a tag protection state for a repository", + "description": "This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection/{{ tag_protection_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6119__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6120__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6121__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6122__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#replace-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6123__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6124__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6125__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6126__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_6127__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_6128__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_6129__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_6130__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_231__", + "_id": "__REQ_6131__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6132__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6133__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6134__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6135__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6136__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6137__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_256__", + "_id": "__REQ_6138__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.5/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6139__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6140__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6141__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6142__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6143__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6144__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.5/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6145__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6146__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6147__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6148__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6149__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6150__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6151__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6152__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6153__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6154__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6155__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6156__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6157__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6158__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-discussion-comments-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6159__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6160__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6161__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6162__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6163__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6164__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6165__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.5/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_254__", + "_id": "__REQ_6166__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.5/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6167__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6168__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6169__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6170__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6171__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6172__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6173__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6174__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#list-team-projects-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6175__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6176__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6177__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6178__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6179__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6180__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6181__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6182__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6183__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6184__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6185__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6186__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6187__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6188__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6189__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6190__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6191__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6192__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6193__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6194__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6195__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6196__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_6197__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_6198__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_6199__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.5/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_6200__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.5/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_244__", + "_id": "__REQ_6201__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.5/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6202__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6203__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6204__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6205__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_6206__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_6207__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_6208__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_6209__", + "_type": "request", + "name": "List user migrations", + "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#list-user-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_6210__", + "_type": "request", + "name": "Start a user migration", + "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#start-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_6211__", + "_type": "request", + "name": "Download a user migration archive", + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#download-a-user-migration-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_248__", + "_id": "__REQ_6212__", + "_type": "request", + "name": "List repositories for a user migration", + "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/migrations#list-repositories-for-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_6213__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_6214__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#create-a-user-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6215__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.5/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6216__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6217__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6218__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6219__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6220__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6221__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6222__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6223__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6224__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6225__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_258__", + "_id": "__REQ_6226__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.5/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6227__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6228__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.5/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6229__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6230__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6231__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6232__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6233__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6234__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_241__", + "_id": "__REQ_6235__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6236__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6237__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_233__", + "_id": "__REQ_6238__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.5/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_259__", + "_id": "__REQ_6239__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_250__", + "_id": "__REQ_6240__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_251__", + "_id": "__REQ_6241__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/projects#list-user-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6242__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6243__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_255__", + "_id": "__REQ_6244__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repositories-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6245__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6246__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6247__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.5/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_232__", + "_id": "__REQ_6248__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6249__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.5/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_240__", + "_id": "__REQ_6250__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.5/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.5/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_247__", + "_id": "__REQ_6251__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/ghes-3.6.json b/routes/ghes-3.6.json new file mode 100644 index 0000000..274ad1f --- /dev/null +++ b/routes/ghes-3.6.json @@ -0,0 +1,16048 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2022-08-22T01:15:59.885Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_317__", + "_type": "request_group", + "name": "GitHub v3 REST API", + "environment": { + "github_api_root": "{protocol}://{hostname}/api/v3", + "alert_number": 0, + "analysis_id": 0, + "app_slug": "", + "archive_format": "", + "artifact_id": 0, + "asset_id": 0, + "assignee": "", + "attempt_number": 0, + "authorization_id": 0, + "autolink_id": 0, + "basehead": "", + "branch": "", + "branch_policy_id": 0, + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "delivery_id": 0, + "deployment_id": 0, + "dir": "", + "discussion_number": 0, + "enterprise": "", + "environment_name": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "job_id": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "license": "", + "migration_id": 0, + "milestone_number": 0, + "name": "", + "org": "", + "org_id": 0, + "organization_id": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository_id": 0, + "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "secret_name": "", + "sha": "", + "status_id": 0, + "tag": "", + "tag_protection_id": 0, + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "username": "", + "workflow_id": "workflow_id" + } + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_318__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_319__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_320__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_321__", + "_type": "request_group", + "name": "billing" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_322__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_323__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_324__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_325__", + "_type": "request_group", + "name": "dependabot" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_326__", + "_type": "request_group", + "name": "dependency-graph" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_327__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_328__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_329__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_330__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_331__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_332__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_333__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_334__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_335__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_336__", + "_type": "request_group", + "name": "migrations" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_337__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_338__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_339__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_340__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_341__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_342__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_343__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_344__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_345__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_346__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_317__", + "_id": "__FLD_347__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_335__", + "_id": "__REQ_7736__", + "_type": "request", + "name": "GitHub API Root", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#root-endpoint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7737__", + "_type": "request", + "name": "List global webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-global-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7738__", + "_type": "request", + "name": "Create a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7739__", + "_type": "request", + "name": "Get a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7740__", + "_type": "request", + "name": "Update a global webhook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7741__", + "_type": "request", + "name": "Delete a global webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7742__", + "_type": "request", + "name": "Ping a global webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.6/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#ping-a-global-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7743__", + "_type": "request", + "name": "List public keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7744__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7745__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.6/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7746__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7747__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7748__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7749__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7750__", + "_type": "request", + "name": "Update an organization name", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-an-organization-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7751__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-pre-receive-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7752__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7753__", + "_type": "request", + "name": "Get a pre-receive environment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7754__", + "_type": "request", + "name": "Update a pre-receive environment", + "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7755__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7756__", + "_type": "request", + "name": "Start a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7757__", + "_type": "request", + "name": "Get the download status for a pre-receive environment", + "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7758__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7759__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7760__", + "_type": "request", + "name": "Get a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7761__", + "_type": "request", + "name": "Update a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7762__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7763__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7764__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7765__", + "_type": "request", + "name": "Create a user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7766__", + "_type": "request", + "name": "Update the username for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-the-username-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7767__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7768__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7769__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7770__", + "_type": "request", + "name": "Get the authenticated app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7771__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#create-a-github-app-from-a-manifest", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7772__", + "_type": "request", + "name": "Get a webhook configuration for an app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7773__", + "_type": "request", + "name": "Update a webhook configuration for an app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#update-a-webhook-configuration-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/app/hook/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7774__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7775__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7776__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7777__", + "_type": "request", + "name": "List installations for the authenticated app", + "description": "You must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-installations-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "outdated", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7778__", + "_type": "request", + "name": "Get an installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7779__", + "_type": "request", + "name": "Delete an installation for the authenticated app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-server@3.6/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#delete-an-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7780__", + "_type": "request", + "name": "Create an installation access token for an app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps/#create-an-installation-access-token-for-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7781__", + "_type": "request", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7782__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#unsuspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7783__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7784__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7785__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7786__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#delete-an-app-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7787__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#check-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7788__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#reset-a-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7789__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#delete-an-app-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7790__", + "_type": "request", + "name": "Create a scoped access token", + "description": "Use a non-scoped user-to-server OAuth access token to create a repository scoped and/or permission scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#create-a-scoped-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token/scoped", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7791__", + "_type": "request", + "name": "Get an app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps/#get-an-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7792__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "client_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7793__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7794__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7795__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7796__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7797__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_337__", + "_id": "__REQ_7798__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.6/rest/reference/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/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/oauth-authorizations#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_324__", + "_id": "__REQ_7799__", + "_type": "request", + "name": "Get all codes of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_324__", + "_id": "__REQ_7800__", + "_type": "request", + "name": "Get a code of conduct", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_327__", + "_id": "__REQ_7801__", + "_type": "request", + "name": "Get emojis", + "description": "Lists all the emojis available to use on GitHub Enterprise Server.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/emojis#get-emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7802__", + "_type": "request", + "name": "Get the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7803__", + "_type": "request", + "name": "Set the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7804__", + "_type": "request", + "name": "Remove the global announcement banner", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprise/announcement", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7805__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7806__", + "_type": "request", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7807__", + "_type": "request", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-comment-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7808__", + "_type": "request", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-gist-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7809__", + "_type": "request", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-hooks-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7810__", + "_type": "request", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-issues-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7811__", + "_type": "request", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-milestone-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7812__", + "_type": "request", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-organization-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/orgs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7813__", + "_type": "request", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-pages-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7814__", + "_type": "request", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-pull-requests-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7815__", + "_type": "request", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-repository-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7816__", + "_type": "request", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-users-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7817__", + "_type": "request", + "name": "Get GitHub Actions cache usage for an enterprise", + "description": "Gets the total GitHub Actions cache usage for an enterprise.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7818__", + "_type": "request", + "name": "Get GitHub Actions cache usage policy for an enterprise", + "description": "Gets the GitHub Actions cache usage policy for an enterprise.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-cache-usage-policy-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7819__", + "_type": "request", + "name": "Set GitHub Actions cache usage policy for an enterprise", + "description": "Sets the GitHub Actions cache usage policy for an enterprise.\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-github-actions-cache-usage-policy-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7820__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7821__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7822__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7823__", + "_type": "request", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7824__", + "_type": "request", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7825__", + "_type": "request", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7826__", + "_type": "request", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7827__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7828__", + "_type": "request", + "name": "Get default workflow permissions for an enterprise", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.6/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint. GitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7829__", + "_type": "request", + "name": "Set default workflow permissions for an enterprise", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and sets\nwhether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.6/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\nGitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7830__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "visible_to_organization", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7831__", + "_type": "request", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7832__", + "_type": "request", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7833__", + "_type": "request", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7834__", + "_type": "request", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7835__", + "_type": "request", + "name": "List organization access to a self-hosted runner group in an enterprise", + "description": "Lists the organizations with access to a self-hosted runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7836__", + "_type": "request", + "name": "Set organization access for a self-hosted runner group in an enterprise", + "description": "Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7837__", + "_type": "request", + "name": "Add organization access to a self-hosted runner group in an enterprise", + "description": "Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7838__", + "_type": "request", + "name": "Remove organization access to a self-hosted runner group in an enterprise", + "description": "Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/organizations/{{ org_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7839__", + "_type": "request", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7840__", + "_type": "request", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7841__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7842__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7843__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7844__", + "_type": "request", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-runner-applications-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7845__", + "_type": "request", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7846__", + "_type": "request", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7847__", + "_type": "request", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7848__", + "_type": "request", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7849__", + "_type": "request", + "name": "List labels for a self-hosted runner for an enterprise", + "description": "Lists all labels for a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7850__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an enterprise", + "description": "Add custom labels to a self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7851__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an enterprise", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7852__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an enterprise", + "description": "Remove all custom labels from a self-hosted runner configured in an\nenterprise. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7853__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an enterprise", + "description": "Remove a custom label from a self-hosted runner configured\nin an enterprise. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7854__", + "_type": "request", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_7855__", + "_type": "request", + "name": "List secret scanning alerts for an enterprise", + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_321__", + "_id": "__REQ_7856__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an enterprise", + "description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7857__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7858__", + "_type": "request", + "name": "Get feeds", + "description": "GitHub Enterprise Server provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise Server global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#get-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7859__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7860__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7861__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7862__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7863__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7864__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7865__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7866__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7867__", + "_type": "request", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#create-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7868__", + "_type": "request", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#get-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7869__", + "_type": "request", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#update-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7870__", + "_type": "request", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#delete-a-gist-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7871__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7872__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7873__", + "_type": "request", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7874__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7875__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7876__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_7877__", + "_type": "request", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#get-a-gist-revision", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_331__", + "_id": "__REQ_7878__", + "_type": "request", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gitignore#get-all-gitignore-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_331__", + "_id": "__REQ_7879__", + "_type": "request", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gitignore#get-a-gitignore-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7880__", + "_type": "request", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7881__", + "_type": "request", + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.6/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_7882__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_333__", + "_id": "__REQ_7883__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_333__", + "_id": "__REQ_7884__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_334__", + "_id": "__REQ_7885__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_334__", + "_id": "__REQ_7886__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_335__", + "_id": "__REQ_7887__", + "_type": "request", + "name": "Get GitHub Enterprise Server meta information", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7888__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7889__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7890__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7891__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7892__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7893__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7894__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7895__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_335__", + "_id": "__REQ_7896__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7897__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise Server.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7898__", + "_type": "request", + "name": "List custom repository roles in an organization", + "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-custom-repository-roles-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations/{{ organization_id }}/custom_roles", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7899__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7900__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs/#update-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7901__", + "_type": "request", + "name": "Get GitHub Actions cache usage for an organization", + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7902__", + "_type": "request", + "name": "List repositories with GitHub Actions cache usage for an organization", + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/cache/usage-by-repository", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7903__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7904__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7905__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7906__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7907__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7908__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7909__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7910__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7911__", + "_type": "request", + "name": "Get default workflow permissions for an organization", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7912__", + "_type": "request", + "name": "Set default workflow permissions for an organization", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-default-workflow-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7913__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "visible_to_repository", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7914__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7915__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7916__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7917__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7918__", + "_type": "request", + "name": "List repository access to a self-hosted runner group in an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists the repositories with access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7919__", + "_type": "request", + "name": "Set repository access for a self-hosted runner group in an organization", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7920__", + "_type": "request", + "name": "Add repository access to a self-hosted runner group in an organization", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7921__", + "_type": "request", + "name": "Remove repository access to a self-hosted runner group in an organization", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7922__", + "_type": "request", + "name": "List self-hosted runners in a group for an organization", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7923__", + "_type": "request", + "name": "Set self-hosted runners in a group for an organization", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7924__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7925__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an organization", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7926__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7927__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7928__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7929__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7930__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7931__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7932__", + "_type": "request", + "name": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7933__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for an organization", + "description": "Add custom labels to a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7934__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7935__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7936__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7937__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7938__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7939__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7940__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7941__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7942__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7943__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7944__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_7945__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7946__", + "_type": "request", + "name": "Get the audit log for an organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.6/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.6/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-audit-log", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "include", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_7947__", + "_type": "request", + "name": "List code scanning alerts for an organization", + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#list-code-scanning-alerts-by-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "state", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7948__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7949__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7950__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7951__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7952__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7953__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7954__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7955__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_7956__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/dependabot/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_7957__", + "_type": "request", + "name": "List public organization events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-public-organization-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7958__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7959__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7960__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7961__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7962__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7963__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7964__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7965__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7966__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7967__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7968__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.6/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_7969__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7970__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_7971__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7972__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7973__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7974__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7975__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7976__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7977__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_7978__", + "_type": "request", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#list-organization-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_7979__", + "_type": "request", + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#start-an-organization-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_7980__", + "_type": "request", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#get-an-organization-migration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7981__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7982__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.6/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.6/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7983__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7984__", + "_type": "request", + "name": "List pre-receive hooks for an organization", + "description": "List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-pre-receive-hooks-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7985__", + "_type": "request", + "name": "Get a pre-receive hook for an organization", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7986__", + "_type": "request", + "name": "Update pre-receive hook enforcement for an organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_7987__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for an organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_7988__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-organization-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_7989__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#create-an-organization-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7990__", + "_type": "request", + "name": "List public organization members", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-public-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7991__", + "_type": "request", + "name": "Check public organization membership for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#check-public-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7992__", + "_type": "request", + "name": "Set public organization membership for the authenticated user", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_7993__", + "_type": "request", + "name": "Remove public organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_7994__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-organization-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_7995__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-an-organization-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_7996__", + "_type": "request", + "name": "List secret scanning alerts for an organization", + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_321__", + "_id": "__REQ_7997__", + "_type": "request", + "name": "Get GitHub Advanced Security active committers for an organization", + "description": "Gets the GitHub Advanced Security active committers for an organization per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.\n\nIf this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/settings/billing/advanced-security", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_7998__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_7999__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8000__", + "_type": "request", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub Enterprise Server generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8001__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8002__", + "_type": "request", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8003__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8004__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8005__", + "_type": "request", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8006__", + "_type": "request", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8007__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8008__", + "_type": "request", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussion-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8009__", + "_type": "request", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8010__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8011__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8012__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8013__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8014__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8015__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8016__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8017__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8018__", + "_type": "request", + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8019__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8020__", + "_type": "request", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8021__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8022__", + "_type": "request", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8023__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8024__", + "_type": "request", + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8025__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8026__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8027__", + "_type": "request", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8028__", + "_type": "request", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#check-team-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8029__", + "_type": "request", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#add-or-update-team-repository-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8030__", + "_type": "request", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#remove-a-repository-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8031__", + "_type": "request", + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8032__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#get-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8033__", + "_type": "request", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#update-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8034__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#delete-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8035__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#move-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8036__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#get-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8037__", + "_type": "request", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#update-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8038__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#delete-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8039__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-project-cards", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8040__", + "_type": "request", + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#create-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8041__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#move-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8042__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#get-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8043__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#update-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8044__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#delete-a-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8045__", + "_type": "request", + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-project-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8046__", + "_type": "request", + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#add-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8047__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#remove-project-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8048__", + "_type": "request", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#get-project-permission-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8049__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-project-columns", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8050__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#create-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_341__", + "_id": "__REQ_8051__", + "_type": "request", + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8052__", + "_type": "request", + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8053__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos/#update-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8054__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8055__", + "_type": "request", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-artifacts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8056__", + "_type": "request", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8057__", + "_type": "request", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8058__", + "_type": "request", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#download-an-artifact", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8059__", + "_type": "request", + "name": "Get GitHub Actions cache usage for a repository", + "description": "Gets GitHub Actions cache usage for a repository.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-cache-usage-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8060__", + "_type": "request", + "name": "Get GitHub Actions cache usage policy for a repository", + "description": "Gets GitHub Actions cache usage policy for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-cache-usage-policy-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8061__", + "_type": "request", + "name": "Set GitHub Actions cache usage policy for a repository", + "description": "Sets GitHub Actions cache usage policy for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-github-actions-cache-usage-policy-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/cache/usage-policy", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8062__", + "_type": "request", + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8063__", + "_type": "request", + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8064__", + "_type": "request", + "name": "Re-run a job from a workflow run", + "description": "Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#re-run-job-for-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8065__", + "_type": "request", + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8066__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8067__", + "_type": "request", + "name": "Get the level of access for workflows outside of the repository", + "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-workflow-access-level-to-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8068__", + "_type": "request", + "name": "Set the level of access for workflows outside of the repository", + "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories. For more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-workflow-access-to-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/access", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8069__", + "_type": "request", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8070__", + "_type": "request", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8071__", + "_type": "request", + "name": "Get default workflow permissions for a repository", + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,\nas well as if GitHub Actions can submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-default-workflow-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8072__", + "_type": "request", + "name": "Set default workflow permissions for a repository", + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions\ncan submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-default-workflow-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/workflow", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8073__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8074__", + "_type": "request", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-runner-applications-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8075__", + "_type": "request", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-registration-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8076__", + "_type": "request", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8077__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8078__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8079__", + "_type": "request", + "name": "List labels for a self-hosted runner for a repository", + "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8080__", + "_type": "request", + "name": "Add custom labels to a self-hosted runner for a repository", + "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8081__", + "_type": "request", + "name": "Set custom labels for a self-hosted runner for a repository", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8082__", + "_type": "request", + "name": "Remove all custom labels from a self-hosted runner for a repository", + "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8083__", + "_type": "request", + "name": "Remove a custom label from a self-hosted runner for a repository", + "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8084__", + "_type": "request", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-workflow-runs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8085__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8086__", + "_type": "request", + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8087__", + "_type": "request", + "name": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-the-review-history-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/approvals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8088__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8089__", + "_type": "request", + "name": "Get a workflow run attempt", + "description": "Gets a specific workflow run attempt. Anyone with read access to the repository\ncan use this endpoint. If the repository is private you must use an access token\nwith the `repo` scope. GitHub Apps must have the `actions:read` permission to\nuse this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-workflow-run-attempt", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}", + "body": {}, + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8090__", + "_type": "request", + "name": "List jobs for a workflow run attempt", + "description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-jobs-for-a-workflow-run-attempt", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/jobs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8091__", + "_type": "request", + "name": "Download workflow run attempt logs", + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#download-workflow-run-attempt-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8092__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8093__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8094__", + "_type": "request", + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#download-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8095__", + "_type": "request", + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8096__", + "_type": "request", + "name": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8097__", + "_type": "request", + "name": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#review-pending-deployments-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/pending_deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8098__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8099__", + "_type": "request", + "name": "Re-run failed jobs from a workflow run", + "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#re-run-workflow-failed-jobs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun-failed-jobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8100__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8101__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8102__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8103__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8104__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8105__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8106__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8107__", + "_type": "request", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#disable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8108__", + "_type": "request", + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8109__", + "_type": "request", + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#enable-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8110__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + }, + { + "name": "check_suite_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8111__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8112__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8113__", + "_type": "request", + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/v3/repos#list-autolinks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8114__", + "_type": "request", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/enterprise-server@3.6/v3/repos#create-an-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8115__", + "_type": "request", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/v3/repos#get-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8116__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8117__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8118__", + "_type": "request", + "name": "Get a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8119__", + "_type": "request", + "name": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8120__", + "_type": "request", + "name": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8121__", + "_type": "request", + "name": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8122__", + "_type": "request", + "name": "Get admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8123__", + "_type": "request", + "name": "Set admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#set-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8124__", + "_type": "request", + "name": "Delete admin branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-admin-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8125__", + "_type": "request", + "name": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8126__", + "_type": "request", + "name": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8127__", + "_type": "request", + "name": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-pull-request-review-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8128__", + "_type": "request", + "name": "Get commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8129__", + "_type": "request", + "name": "Create commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8130__", + "_type": "request", + "name": "Delete commit signature protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-commit-signature-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8131__", + "_type": "request", + "name": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-status-checks-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8132__", + "_type": "request", + "name": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8133__", + "_type": "request", + "name": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-status-check-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8134__", + "_type": "request", + "name": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-all-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8135__", + "_type": "request", + "name": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#add-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8136__", + "_type": "request", + "name": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#set-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8137__", + "_type": "request", + "name": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-status-check-contexts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8138__", + "_type": "request", + "name": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8139__", + "_type": "request", + "name": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8140__", + "_type": "request", + "name": "Get apps with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8141__", + "_type": "request", + "name": "Add app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#add-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8142__", + "_type": "request", + "name": "Set app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#set-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8143__", + "_type": "request", + "name": "Remove app access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-app-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8144__", + "_type": "request", + "name": "Get teams with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8145__", + "_type": "request", + "name": "Add team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#add-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8146__", + "_type": "request", + "name": "Set team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#set-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8147__", + "_type": "request", + "name": "Remove team access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-team-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8148__", + "_type": "request", + "name": "Get users with access to the protected branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8149__", + "_type": "request", + "name": "Add user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#add-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8150__", + "_type": "request", + "name": "Set user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#set-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8151__", + "_type": "request", + "name": "Remove user access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-user-access-restrictions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8152__", + "_type": "request", + "name": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.6/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#rename-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8153__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#create-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8154__", + "_type": "request", + "name": "Get a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#get-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8155__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#update-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8156__", + "_type": "request", + "name": "List check run annotations", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#list-check-run-annotations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8157__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#rerequest-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8158__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.6/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.6/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#create-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8159__", + "_type": "request", + "name": "Update repository preferences for check suites", + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.6/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#update-repository-preferences-for-check-suites", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8160__", + "_type": "request", + "name": "Get a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#get-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8161__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#list-check-runs-in-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8162__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8163__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8164__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8165__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8166__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8167__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8168__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8169__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8170__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_323__", + "_id": "__REQ_8171__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8172__", + "_type": "request", + "name": "List CODEOWNERS errors", + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-codeowners-errors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codeowners/errors", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8173__", + "_type": "request", + "name": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#list-repository-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8174__", + "_type": "request", + "name": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8175__", + "_type": "request", + "name": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.6/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.6/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#add-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8176__", + "_type": "request", + "name": "Remove a repository collaborator", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#remove-a-repository-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8177__", + "_type": "request", + "name": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8178__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8179__", + "_type": "request", + "name": "Get a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#get-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8180__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8181__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8182__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8183__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8184__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-a-commit-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8185__", + "_type": "request", + "name": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8186__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-branches-for-head-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8187__", + "_type": "request", + "name": "List commit comments", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#list-commit-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8188__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/comments#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8189__", + "_type": "request", + "name": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8190__", + "_type": "request", + "name": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/commits#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8191__", + "_type": "request", + "name": "List check runs for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#list-check-runs-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "app_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_322__", + "_id": "__REQ_8192__", + "_type": "request", + "name": "List check suites for a Git reference", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/checks#list-check-suites-for-a-git-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8193__", + "_type": "request", + "name": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8194__", + "_type": "request", + "name": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/statuses#list-commit-statuses-for-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8195__", + "_type": "request", + "name": "Compare two commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/commits#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8196__", + "_type": "request", + "name": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.6/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-tree).\n\n#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/enterprise-server@3.6/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-repository-content", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8197__", + "_type": "request", + "name": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-or-update-file-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8198__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8199__", + "_type": "request", + "name": "List repository contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_8200__", + "_type": "request", + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#list-repository-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_8201__", + "_type": "request", + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#get-a-repository-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_8202__", + "_type": "request", + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#get-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_8203__", + "_type": "request", + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#create-or-update-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_325__", + "_id": "__REQ_8204__", + "_type": "request", + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependabot#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependabot/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_326__", + "_id": "__REQ_8205__", + "_type": "request", + "name": "Get a diff of the dependencies between commits", + "description": "Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/dependency-graph#get-a-diff-of-the-dependencies-between-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dependency-graph/compare/{{ basehead }}", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8206__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-deployments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8207__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.6/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8208__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8209__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.6/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8210__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-deployment-statuses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8211__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8212__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8213__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8214__", + "_type": "request", + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/environments#list-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8215__", + "_type": "request", + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8216__", + "_type": "request", + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-or-update-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8217__", + "_type": "request", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-an-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8218__", + "_type": "request", + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8219__", + "_type": "request", + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8220__", + "_type": "request", + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8221__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8222__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8223__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8224__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8225__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8226__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8227__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8228__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8229__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8230__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.6/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8231__", + "_type": "request", + "name": "Get a reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.6/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8232__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8233__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8234__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8235__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8236__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8237__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/enterprise-server@3.6/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_330__", + "_id": "__REQ_8238__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8239__", + "_type": "request", + "name": "List repository webhooks", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#list-repository-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8240__", + "_type": "request", + "name": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#create-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8241__", + "_type": "request", + "name": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#get-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8242__", + "_type": "request", + "name": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#update-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8243__", + "_type": "request", + "name": "Delete a repository webhook", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#delete-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8244__", + "_type": "request", + "name": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8245__", + "_type": "request", + "name": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8246__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8247__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8248__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8249__", + "_type": "request", + "name": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.6/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#ping-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8250__", + "_type": "request", + "name": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#test-the-push-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8251__", + "_type": "request", + "name": "Get a repository installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8252__", + "_type": "request", + "name": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#list-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8253__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8254__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8255__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-repository-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8256__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8257__", + "_type": "request", + "name": "List issue comments for a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-issue-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8258__", + "_type": "request", + "name": "Get an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#get-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8259__", + "_type": "request", + "name": "Update an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#update-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8260__", + "_type": "request", + "name": "Delete an issue comment", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#delete-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8261__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.6/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8262__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.6/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8263__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.6/rest/reference/issues#comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-an-issue-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8264__", + "_type": "request", + "name": "List issue events for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-issue-events-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8265__", + "_type": "request", + "name": "Get an issue event", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#get-an-issue-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8266__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#get-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8267__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8268__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8269__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8270__", + "_type": "request", + "name": "List issue comments", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-issue-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8271__", + "_type": "request", + "name": "Create an issue comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#create-an-issue-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8272__", + "_type": "request", + "name": "List issue events", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-issue-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8273__", + "_type": "request", + "name": "List labels for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8274__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8275__", + "_type": "request", + "name": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#set-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8276__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8277__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8278__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#lock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8279__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8280__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.6/rest/reference/issues).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8281__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.6/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8282__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.6/rest/reference/issues/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-an-issue-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8283__", + "_type": "request", + "name": "List timeline events for an issue", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-timeline-events-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8284__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8285__", + "_type": "request", + "name": "Create a deploy key", + "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8286__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8287__", + "_type": "request", + "name": "Delete a deploy key", + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8288__", + "_type": "request", + "name": "List labels for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-labels-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8289__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8290__", + "_type": "request", + "name": "Get a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#get-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8291__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8292__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8293__", + "_type": "request", + "name": "List repository languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8294__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8295__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_333__", + "_id": "__REQ_8296__", + "_type": "request", + "name": "Get the license for a repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/licenses/#get-the-license-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8297__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8298__", + "_type": "request", + "name": "Merge a branch", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#merge-a-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8299__", + "_type": "request", + "name": "List milestones", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-milestones", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8300__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8301__", + "_type": "request", + "name": "Get a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#get-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8302__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8303__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8304__", + "_type": "request", + "name": "List labels for issues in a milestone", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-labels-for-issues-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8305__", + "_type": "request", + "name": "List repository notifications for the authenticated user", + "description": "List all notifications for the current user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8306__", + "_type": "request", + "name": "Mark repository notifications as read", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise Server](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#mark-repository-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8307__", + "_type": "request", + "name": "Get a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#get-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8308__", + "_type": "request", + "name": "Create a GitHub Enterprise Server Pages site", + "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#create-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8309__", + "_type": "request", + "name": "Update information about a GitHub Enterprise Server Pages site", + "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#update-information-about-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8310__", + "_type": "request", + "name": "Delete a GitHub Enterprise Server Pages site", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#delete-a-github-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8311__", + "_type": "request", + "name": "List GitHub Enterprise Server Pages builds", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#list-github-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8312__", + "_type": "request", + "name": "Request a GitHub Enterprise Server Pages build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#request-a-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8313__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8314__", + "_type": "request", + "name": "Get GitHub Enterprise Server Pages build", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/pages#get-github-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8315__", + "_type": "request", + "name": "List pre-receive hooks for a repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#list-pre-receive-hooks-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8316__", + "_type": "request", + "name": "Get a pre-receive hook for a repository", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-a-pre-receive-hook-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8317__", + "_type": "request", + "name": "Update pre-receive hook enforcement for a repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#update-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8318__", + "_type": "request", + "name": "Remove pre-receive hook enforcement for a repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8319__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-repository-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8320__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#create-a-repository-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8321__", + "_type": "request", + "name": "List pull requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8322__", + "_type": "request", + "name": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#create-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8323__", + "_type": "request", + "name": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-review-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8324__", + "_type": "request", + "name": "Get a review comment for a pull request", + "description": "Provides details for a review comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8325__", + "_type": "request", + "name": "Update a review comment for a pull request", + "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8326__", + "_type": "request", + "name": "Delete a review comment for a pull request", + "description": "Deletes a review comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8327__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8328__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8329__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions#delete-a-pull-request-comment-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8330__", + "_type": "request", + "name": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.6/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8331__", + "_type": "request", + "name": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls/#update-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8332__", + "_type": "request", + "name": "List review comments on a pull request", + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-review-comments-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8333__", + "_type": "request", + "name": "Create a review comment for a pull request", + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.6/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8334__", + "_type": "request", + "name": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#create-a-reply-for-a-review-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8335__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8336__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8337__", + "_type": "request", + "name": "Check if a pull request has been merged", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#check-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8338__", + "_type": "request", + "name": "Merge a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#merge-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8339__", + "_type": "request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.6/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8340__", + "_type": "request", + "name": "Request reviewers for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.6/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#request-reviewers-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8341__", + "_type": "request", + "name": "Remove requested reviewers from a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8342__", + "_type": "request", + "name": "List reviews for a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-reviews-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8343__", + "_type": "request", + "name": "Create a review for a pull request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.6/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#create-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8344__", + "_type": "request", + "name": "Get a review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#get-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8345__", + "_type": "request", + "name": "Update a review for a pull request", + "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#update-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8346__", + "_type": "request", + "name": "Delete a pending review for a pull request", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8347__", + "_type": "request", + "name": "List comments for a pull request review", + "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-comments-for-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8348__", + "_type": "request", + "name": "Dismiss a review for a pull request", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#dismiss-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8349__", + "_type": "request", + "name": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.6/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#submit-a-review-for-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_340__", + "_id": "__REQ_8350__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8351__", + "_type": "request", + "name": "Get a repository README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8352__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8353__", + "_type": "request", + "name": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-releases", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8354__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8355__", + "_type": "request", + "name": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8356__", + "_type": "request", + "name": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8357__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8358__", + "_type": "request", + "name": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#generate-release-notes", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/generate-notes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8359__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8360__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8361__", + "_type": "request", + "name": "Get a release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8362__", + "_type": "request", + "name": "Update a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8363__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8364__", + "_type": "request", + "name": "List release assets", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-release-assets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8365__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8366__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8367__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8368__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#releases).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#delete-a-release-reaction", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8369__", + "_type": "request", + "name": "List repository cache replication status", + "description": "Lists the status of each repository cache replica.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-cache-replication-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/replicas/caches", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_8370__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for an eligible repository, from newest to oldest.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_8371__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_8372__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_345__", + "_id": "__REQ_8373__", + "_type": "request", + "name": "List locations for a secret scanning alert", + "description": "Lists all locations for a given secret scanning alert for an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}/locations", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8374__", + "_type": "request", + "name": "List stargazers", + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8375__", + "_type": "request", + "name": "Get the weekly commit activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-weekly-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8376__", + "_type": "request", + "name": "Get the last year of commit activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8377__", + "_type": "request", + "name": "Get all contributor commit activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-all-contributor-commit-activity", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8378__", + "_type": "request", + "name": "Get the weekly commit count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-weekly-commit-count", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8379__", + "_type": "request", + "name": "Get the hourly commit count for each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8380__", + "_type": "request", + "name": "Create a commit status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/commits/statuses#create-a-commit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8381__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8382__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8383__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8384__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.6/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8385__", + "_type": "request", + "name": "List repository tags", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8386__", + "_type": "request", + "name": "List tag protection states for a repository", + "description": "This returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-tag-protection-state-of-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8387__", + "_type": "request", + "name": "Create a tag protection state for a repository", + "description": "This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8388__", + "_type": "request", + "name": "Delete a tag protection state for a repository", + "description": "This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-tag-protection-state-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags/protection/{{ tag_protection_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8389__", + "_type": "request", + "name": "Download a repository archive (tar)", + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tarball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8390__", + "_type": "request", + "name": "List repository teams", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8391__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8392__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#replace-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8393__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8394__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#download-a-repository-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8395__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8396__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8397__", + "_type": "request", + "name": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#list-environment-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8398__", + "_type": "request", + "name": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-an-environment-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8399__", + "_type": "request", + "name": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8400__", + "_type": "request", + "name": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#create-or-update-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_318__", + "_id": "__REQ_8401__", + "_type": "request", + "name": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/actions#delete-an-environment-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repositories/{{ repository_id }}/environments/{{ environment_name }}/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8402__", + "_type": "request", + "name": "Search code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8403__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8404__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8405__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8406__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8407__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_344__", + "_id": "__REQ_8408__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/enterprise-server@3.6/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/search#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8409__", + "_type": "request", + "name": "Get the configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-the-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8410__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8411__", + "_type": "request", + "name": "Get the maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-the-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8412__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8413__", + "_type": "request", + "name": "Get settings", + "description": "Gets the settings for your instance. To change settings, see the [Set settings endpoint](https://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#set-settings).\n\n**Note:** You cannot retrieve the management console password with the Enterprise administration API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8414__", + "_type": "request", + "name": "Set settings", + "description": "Applies settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-settings).\n\n**Notes:**\n\n- The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n- You cannot set the management console password with the Enterprise administration API. Use the `ghe-set-password` utility to change the management console password. For more information, see \"[Command-line utilities](https://docs.github.com/enterprise-server@3.6/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#set-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8415__", + "_type": "request", + "name": "Get all authorized SSH keys", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#get-all-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8416__", + "_type": "request", + "name": "Add an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#add-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8417__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8418__", + "_type": "request", + "name": "Create a GitHub license", + "description": "When you boot a GitHub instance for the first time, you can use the following endpoint to upload a license.\n\nNote that you need to `POST` to [`/setup/api/configure`](https://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#create-a-github-enterprise-server-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8419__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process.\n\n**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8420__", + "_type": "request", + "name": "Get a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#get-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8421__", + "_type": "request", + "name": "Update a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#update-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8422__", + "_type": "request", + "name": "Delete a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#delete-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8423__", + "_type": "request", + "name": "List discussions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8424__", + "_type": "request", + "name": "Create a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8425__", + "_type": "request", + "name": "Get a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8426__", + "_type": "request", + "name": "Update a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8427__", + "_type": "request", + "name": "Delete a discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8428__", + "_type": "request", + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-discussion-comments-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8429__", + "_type": "request", + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.6/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8430__", + "_type": "request", + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8431__", + "_type": "request", + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8432__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8433__", + "_type": "request", + "name": "List reactions for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8434__", + "_type": "request", + "name": "Create reaction for a team discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8435__", + "_type": "request", + "name": "List reactions for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.6/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_342__", + "_id": "__REQ_8436__", + "_type": "request", + "name": "Create reaction for a team discussion (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.6/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8437__", + "_type": "request", + "name": "List team members (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-members-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8438__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8439__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8440__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8441__", + "_type": "request", + "name": "Get team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#get-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8442__", + "_type": "request", + "name": "Add or update team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8443__", + "_type": "request", + "name": "Remove team membership for a user (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8444__", + "_type": "request", + "name": "List team projects (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#list-team-projects-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8445__", + "_type": "request", + "name": "Check team permissions for a project (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8446__", + "_type": "request", + "name": "Add or update team project permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8447__", + "_type": "request", + "name": "Remove a project from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#remove-a-project-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8448__", + "_type": "request", + "name": "List team repositories (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#list-team-repositories-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8449__", + "_type": "request", + "name": "Check team permissions for a repository (Legacy)", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8450__", + "_type": "request", + "name": "Add or update team repository permissions (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8451__", + "_type": "request", + "name": "Remove a repository from a team (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#remove-a-repository-from-a-team-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8452__", + "_type": "request", + "name": "List child teams (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams/#list-child-teams-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8453__", + "_type": "request", + "name": "Get the authenticated user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8454__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8455__", + "_type": "request", + "name": "List email addresses for the authenticated user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8456__", + "_type": "request", + "name": "Add an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#add-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8457__", + "_type": "request", + "name": "Delete an email address for the authenticated user", + "description": "This endpoint is accessible with the `user` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#delete-an-email-address-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8458__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8459__", + "_type": "request", + "name": "List the people the authenticated user follows", + "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-the-people-the-authenticated-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8460__", + "_type": "request", + "name": "Check if a person is followed by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8461__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8462__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8463__", + "_type": "request", + "name": "List GPG keys for the authenticated user", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-gpg-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8464__", + "_type": "request", + "name": "Create a GPG key for the authenticated user", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8465__", + "_type": "request", + "name": "Get a GPG key for the authenticated user", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8466__", + "_type": "request", + "name": "Delete a GPG key for the authenticated user", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8467__", + "_type": "request", + "name": "List app installations accessible to the user access token", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8468__", + "_type": "request", + "name": "List repositories accessible to the user access token", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8469__", + "_type": "request", + "name": "Add a repository to an app installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.6/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#add-a-repository-to-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8470__", + "_type": "request", + "name": "Remove a repository from an app installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.6/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#remove-a-repository-from-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_332__", + "_id": "__REQ_8471__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.6/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8472__", + "_type": "request", + "name": "List public SSH keys for the authenticated user", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8473__", + "_type": "request", + "name": "Create a public SSH key for the authenticated user", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8474__", + "_type": "request", + "name": "Get a public SSH key for the authenticated user", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8475__", + "_type": "request", + "name": "Delete a public SSH key for the authenticated user", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_8476__", + "_type": "request", + "name": "List organization memberships for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_8477__", + "_type": "request", + "name": "Get an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_8478__", + "_type": "request", + "name": "Update an organization membership for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_8479__", + "_type": "request", + "name": "List user migrations", + "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#list-user-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_8480__", + "_type": "request", + "name": "Start a user migration", + "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#start-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_8481__", + "_type": "request", + "name": "Download a user migration archive", + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#download-a-user-migration-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_336__", + "_id": "__REQ_8482__", + "_type": "request", + "name": "List repositories for a user migration", + "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/migrations#list-repositories-for-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_8483__", + "_type": "request", + "name": "List organizations for the authenticated user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organizations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8484__", + "_type": "request", + "name": "Create a user project", + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#create-a-user-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8485__", + "_type": "request", + "name": "List public email addresses for the authenticated user", + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.6/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8486__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8487__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8488__", + "_type": "request", + "name": "List repository invitations for the authenticated user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8489__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8490__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8491__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8492__", + "_type": "request", + "name": "Check if a repository is starred by the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8493__", + "_type": "request", + "name": "Star a repository for the authenticated user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8494__", + "_type": "request", + "name": "Unstar a repository for the authenticated user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8495__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_346__", + "_id": "__REQ_8496__", + "_type": "request", + "name": "List teams for the authenticated user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/).\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-teams-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8497__", + "_type": "request", + "name": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8498__", + "_type": "request", + "name": "Get a user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/enterprise-server@3.6/rest/reference/users#emails)\".\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#get-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8499__", + "_type": "request", + "name": "List events for the authenticated user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8500__", + "_type": "request", + "name": "List organization events for the authenticated user", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8501__", + "_type": "request", + "name": "List public events for a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-public-events-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8502__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8503__", + "_type": "request", + "name": "List the people a user follows", + "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-the-people-a-user-follows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8504__", + "_type": "request", + "name": "Check if a user follows another user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#check-if-a-user-follows-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_329__", + "_id": "__REQ_8505__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/gists#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8506__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8507__", + "_type": "request", + "name": "Get contextual information for a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#get-contextual-information-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_320__", + "_id": "__REQ_8508__", + "_type": "request", + "name": "Get a user installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_347__", + "_id": "__REQ_8509__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/users#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_338__", + "_id": "__REQ_8510__", + "_type": "request", + "name": "List organizations for a user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-organizations-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_339__", + "_id": "__REQ_8511__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/projects#list-user-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8512__", + "_type": "request", + "name": "List events received by the authenticated user", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-events-received-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8513__", + "_type": "request", + "name": "List public events received by a user", + "description": "\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-public-events-received-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_343__", + "_id": "__REQ_8514__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repositories-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8515__", + "_type": "request", + "name": "Promote a user to be a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#promote-a-user-to-be-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8516__", + "_type": "request", + "name": "Demote a site administrator", + "description": "You can demote any user account except your own.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#demote-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8517__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.6/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_319__", + "_id": "__REQ_8518__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/activity#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8519__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.6/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_328__", + "_id": "__REQ_8520__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.6/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/enterprise-server@3.6/rest/reference/enterprise-admin#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_335__", + "_id": "__REQ_8521__", + "_type": "request", + "name": "Get the Zen of GitHub", + "description": "", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/zen", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file diff --git a/routes/github.ae.json b/routes/github.ae.json index e3309c7..caf8304 100644 --- a/routes/github.ae.json +++ b/routes/github.ae.json @@ -1,22 +1,29 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2021-02-18T17:02:26.943Z", + "__export_date": "2022-08-22T01:15:59.801Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_49__", + "_id": "__FLD_176__", "_type": "request_group", "name": "GitHub v3 REST API", "environment": { - "github_api_root": "{protocol}://{hostname}", + "github_api_root": "https://{hostname}/api/v3", "access_token": "", + "alert_number": 0, + "analysis_id": 0, "app_slug": "", + "archive_format": "", + "artifact_id": 0, "asset_id": 0, "assignee": "", - "base": "", + "attempt_number": 0, + "autolink_id": 0, + "basehead": "", "branch": "", + "branch_policy_id": 0, "build_id": 0, "card_id": 0, "check_run_id": 0, @@ -27,25 +34,31 @@ "comment_id": 0, "comment_number": 0, "commit_sha": "", - "content_reference_id": 0, + "delivery_id": 0, "deployment_id": 0, + "dir": "", "discussion_number": 0, + "enterprise": "", + "environment_name": "", "event_id": 0, "file_sha": "", "gist_id": "", "gpg_key_id": 0, - "head": "", + "group_id": 0, "hook_id": 0, "installation_id": 0, "invitation_id": 0, "issue_number": 0, + "job_id": 0, "key": "", "key_id": 0, "key_ids": "", "license": "", + "migration_id": 0, "milestone_number": 0, "name": "", "org": "", + "org_id": 0, "owner": "", "path": "", "pre_receive_environment_id": 0, @@ -56,8 +69,13 @@ "release_id": 0, "repo": "", "repository_id": 0, - "request_id": "", "review_id": 0, + "run_id": 0, + "runner_group_id": 0, + "runner_id": 0, + "sarif_id": "", + "scim_group_id": "", + "secret_name": "", "sha": "", "status_id": 0, "tag": "", @@ -70,148 +88,172 @@ "thread_id": 0, "token_id": 0, "tree_sha": "", - "type": "", - "username": "" + "username": "", + "workflow_id": "workflow_id" } }, { - "parentId": "__FLD_49__", - "_id": "__FLD_50__", + "parentId": "__FLD_176__", + "_id": "__FLD_177__", + "_type": "request_group", + "name": "actions" + }, + { + "parentId": "__FLD_176__", + "_id": "__FLD_178__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_51__", + "parentId": "__FLD_176__", + "_id": "__FLD_179__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_52__", + "parentId": "__FLD_176__", + "_id": "__FLD_180__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_53__", + "parentId": "__FLD_176__", + "_id": "__FLD_181__", + "_type": "request_group", + "name": "code-scanning" + }, + { + "parentId": "__FLD_176__", + "_id": "__FLD_182__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_54__", + "parentId": "__FLD_176__", + "_id": "__FLD_183__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_55__", + "parentId": "__FLD_176__", + "_id": "__FLD_184__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_56__", + "parentId": "__FLD_176__", + "_id": "__FLD_185__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_57__", + "parentId": "__FLD_176__", + "_id": "__FLD_186__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_58__", + "parentId": "__FLD_176__", + "_id": "__FLD_187__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_59__", + "parentId": "__FLD_176__", + "_id": "__FLD_188__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_60__", + "parentId": "__FLD_176__", + "_id": "__FLD_189__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_61__", + "parentId": "__FLD_176__", + "_id": "__FLD_190__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_62__", + "parentId": "__FLD_176__", + "_id": "__FLD_191__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_63__", + "parentId": "__FLD_176__", + "_id": "__FLD_192__", + "_type": "request_group", + "name": "migrations" + }, + { + "parentId": "__FLD_176__", + "_id": "__FLD_193__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_64__", + "parentId": "__FLD_176__", + "_id": "__FLD_194__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_65__", + "parentId": "__FLD_176__", + "_id": "__FLD_195__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_66__", + "parentId": "__FLD_176__", + "_id": "__FLD_196__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_67__", + "parentId": "__FLD_176__", + "_id": "__FLD_197__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_68__", + "parentId": "__FLD_176__", + "_id": "__FLD_198__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_69__", + "parentId": "__FLD_176__", + "_id": "__FLD_199__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_70__", + "parentId": "__FLD_176__", + "_id": "__FLD_200__", + "_type": "request_group", + "name": "secret-scanning" + }, + { + "parentId": "__FLD_176__", + "_id": "__FLD_201__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_49__", - "_id": "__FLD_71__", + "parentId": "__FLD_176__", + "_id": "__FLD_202__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1010__", + "parentId": "__FLD_191__", + "_id": "__REQ_4103__", "_type": "request", "name": "GitHub API Root", - "description": "", + "description": "Get Hypermedia links to resources accessible in GitHub's REST API\n\nhttps://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#root-endpoint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -223,17 +265,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1011__", + "parentId": "__FLD_184__", + "_id": "__REQ_4104__", "_type": "request", "name": "List global webhooks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-global-webhooks", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -255,17 +292,12 @@ ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1012__", + "parentId": "__FLD_184__", + "_id": "__REQ_4105__", "_type": "request", "name": "Create a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-global-webhook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -276,17 +308,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1013__", + "parentId": "__FLD_184__", + "_id": "__REQ_4106__", "_type": "request", "name": "Get a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-global-webhook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -297,17 +324,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1014__", + "parentId": "__FLD_184__", + "_id": "__REQ_4107__", "_type": "request", "name": "Update a global webhook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-global-webhook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -318,17 +340,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1015__", + "parentId": "__FLD_184__", + "_id": "__REQ_4108__", "_type": "request", "name": "Delete a global webhook", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-global-webhook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -339,17 +356,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1016__", + "parentId": "__FLD_184__", + "_id": "__REQ_4109__", "_type": "request", "name": "Ping a global webhook", "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the webhook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#ping-a-global-webhook", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.superpro-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -360,8 +372,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1017__", + "parentId": "__FLD_184__", + "_id": "__REQ_4110__", "_type": "request", "name": "List public keys", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-public-keys", @@ -383,12 +395,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "since", + "disabled": false } ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1018__", + "parentId": "__FLD_184__", + "_id": "__REQ_4111__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-public-key", @@ -403,8 +429,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1019__", + "parentId": "__FLD_184__", + "_id": "__REQ_4112__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-organization", @@ -419,8 +445,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1020__", + "parentId": "__FLD_184__", + "_id": "__REQ_4113__", "_type": "request", "name": "Update an organization name", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-organization-name", @@ -435,17 +461,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1021__", + "parentId": "__FLD_184__", + "_id": "__REQ_4114__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-pre-receive-environments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -463,21 +484,26 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false } ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1022__", + "parentId": "__FLD_184__", + "_id": "__REQ_4115__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-a-pre-receive-environment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -488,17 +514,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1023__", + "parentId": "__FLD_184__", + "_id": "__REQ_4116__", "_type": "request", "name": "Get a pre-receive environment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-a-pre-receive-environment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -509,17 +530,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1024__", + "parentId": "__FLD_184__", + "_id": "__REQ_4117__", "_type": "request", "name": "Update a pre-receive environment", "description": "You cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-a-pre-receive-environment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -530,17 +546,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1025__", + "parentId": "__FLD_184__", + "_id": "__REQ_4118__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-pre-receive-environment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -551,17 +562,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1026__", + "parentId": "__FLD_184__", + "_id": "__REQ_4119__", "_type": "request", "name": "Start a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#start-a-pre-receive-environment-download", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -572,17 +578,12 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1027__", + "parentId": "__FLD_184__", + "_id": "__REQ_4120__", "_type": "request", "name": "Get the download status for a pre-receive environment", "description": "In addition to seeing the download status at the \"[Get a pre-receive environment](#get-a-pre-receive-environment)\" endpoint, there is also this separate endpoint for just the download status.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-the-download-status-for-a-pre-receive-environment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.eye-scream-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -593,8 +594,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1028__", + "parentId": "__FLD_184__", + "_id": "__REQ_4121__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-personal-access-tokens", @@ -620,8 +621,8 @@ ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1029__", + "parentId": "__FLD_184__", + "_id": "__REQ_4122__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-personal-access-token", @@ -636,8 +637,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1030__", + "parentId": "__FLD_184__", + "_id": "__REQ_4123__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-user", @@ -652,8 +653,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1031__", + "parentId": "__FLD_184__", + "_id": "__REQ_4124__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#create-an-impersonation-oauth-token", @@ -668,8 +669,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1032__", + "parentId": "__FLD_184__", + "_id": "__REQ_4125__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-an-impersonation-oauth-token", @@ -684,11 +685,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1033__", + "parentId": "__FLD_179__", + "_id": "__REQ_4126__", "_type": "request", "name": "Get the authenticated app", - "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-the-authenticated-app", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -700,11 +701,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1034__", + "parentId": "__FLD_179__", + "_id": "__REQ_4127__", "_type": "request", "name": "Create a GitHub App from a manifest", - "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/github-ae@latest/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-a-github-app-from-a-manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/github-ae@latest/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#create-a-github-app-from-a-manifest", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -716,11 +717,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1035__", + "parentId": "__FLD_179__", + "_id": "__REQ_4128__", "_type": "request", "name": "Get a webhook configuration for an app", - "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#get-a-webhook-configuration-for-an-app", + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -732,11 +733,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1036__", + "parentId": "__FLD_179__", + "_id": "__REQ_4129__", "_type": "request", "name": "Update a webhook configuration for an app", - "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps#update-a-webhook-configuration-for-an-app", + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#update-a-webhook-configuration-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -748,11 +749,69 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1037__", + "parentId": "__FLD_179__", + "_id": "__REQ_4130__", + "_type": "request", + "name": "List deliveries for an app webhook", + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-deliveries-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4131__", + "_type": "request", + "name": "Get a delivery for an app webhook", + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4132__", + "_type": "request", + "name": "Redeliver a delivery for an app webhook", + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/hook/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4133__", "_type": "request", "name": "List installations for the authenticated app", - "description": "You must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#list-installations-for-the-authenticated-app", + "description": "You must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -783,11 +842,11 @@ ] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1038__", + "parentId": "__FLD_179__", + "_id": "__REQ_4134__", "_type": "request", "name": "Get an installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -799,11 +858,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1039__", + "parentId": "__FLD_179__", + "_id": "__REQ_4135__", "_type": "request", "name": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/github-ae@latest/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#delete-an-installation-for-the-authenticated-app", + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/github-ae@latest/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -815,11 +874,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1040__", + "parentId": "__FLD_179__", + "_id": "__REQ_4136__", "_type": "request", "name": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#create-an-installation-access-token-for-an-app", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps/#create-an-installation-access-token-for-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -831,40 +890,56 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1041__", + "parentId": "__FLD_179__", + "_id": "__REQ_4137__", "_type": "request", - "name": "Delete an app authorization", - "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-authorization", + "name": "Suspend an app installation", + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub AE API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#suspend-an-app-installation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4138__", + "_type": "request", + "name": "Unsuspend an app installation", + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#unsuspend-an-app-installation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/suspended", "body": {}, "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1042__", + "parentId": "__FLD_179__", + "_id": "__REQ_4139__", "_type": "request", - "name": "Revoke a grant for an application", - "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub AE](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-a-grant-for-an-application", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", "body": {}, "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1043__", + "parentId": "__FLD_179__", + "_id": "__REQ_4140__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-a-token", @@ -879,8 +954,8 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1044__", + "parentId": "__FLD_179__", + "_id": "__REQ_4141__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-a-token", @@ -895,8 +970,8 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1045__", + "parentId": "__FLD_179__", + "_id": "__REQ_4142__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#delete-an-app-token", @@ -911,24 +986,8 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1046__", - "_type": "request", - "name": "Check an authorization", - "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#check-an-authorization", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_51__", - "_id": "__REQ_1047__", + "parentId": "__FLD_179__", + "_id": "__REQ_4143__", "_type": "request", "name": "Reset an authorization", "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#reset-an-authorization", @@ -943,27 +1002,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1048__", - "_type": "request", - "name": "Revoke an authorization for an application", - "description": "**Deprecation Notice:** GitHub AE will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-authorization-for-an-application", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_51__", - "_id": "__REQ_1049__", + "parentId": "__FLD_179__", + "_id": "__REQ_4144__", "_type": "request", "name": "Get an app", - "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-app", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps/#get-an-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -975,17 +1018,12 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1050__", + "parentId": "__FLD_182__", + "_id": "__REQ_4145__", "_type": "request", "name": "Get all codes of conduct", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-all-codes-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/codes-of-conduct#get-all-codes-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -996,17 +1034,12 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1051__", + "parentId": "__FLD_182__", + "_id": "__REQ_4146__", "_type": "request", "name": "Get a code of conduct", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-a-code-of-conduct", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/codes-of-conduct#get-a-code-of-conduct", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -1017,32 +1050,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1052__", - "_type": "request", - "name": "Create a content attachment", - "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#content_reference) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://docs.github.com/github-ae@latest/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#create-a-content-attachment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.corsair-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_54__", - "_id": "__REQ_1053__", + "parentId": "__FLD_183__", + "_id": "__REQ_4147__", "_type": "request", "name": "Get emojis", - "description": "Lists all the emojis available to use on GitHub AE.\n\nhttps://docs.github.com/github-ae@latest/v3/emojis/#get-emojis", + "description": "Lists all the emojis available to use on GitHub AE.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/emojis#get-emojis", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1054,11 +1066,11 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1054__", + "parentId": "__FLD_184__", + "_id": "__REQ_4148__", "_type": "request", "name": "Get the global announcement banner", - "description": "Gets the current message and expiration date of the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#get-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1070,11 +1082,11 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1055__", + "parentId": "__FLD_184__", + "_id": "__REQ_4149__", "_type": "request", "name": "Set the global announcement banner", - "description": "Sets the message and expiration time for the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#set-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1086,11 +1098,11 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1056__", + "parentId": "__FLD_184__", + "_id": "__REQ_4150__", "_type": "request", "name": "Remove the global announcement banner", - "description": "Removes the global announcement banner in your enterprise.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin#clear-the-current-announcement", + "description": "", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1102,241 +1114,244 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1057__", + "parentId": "__FLD_184__", + "_id": "__REQ_4151__", "_type": "request", - "name": "Get an encryption key", - "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nGets information about the current key used for encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/#encryption-at-rest#get-encryption-key", + "name": "Get license information", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-license-information", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/encryption", + "url": "{{ github_api_root }}/enterprise/settings/license", "body": {}, "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1058__", + "parentId": "__FLD_184__", + "_id": "__REQ_4152__", "_type": "request", - "name": "Update an encryption key", - "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nUpdates the current encryption at rest key with a new private key.\n\nYou can add a new encryption key as often as you need. When you add a new key, the old key is discarded.\n\nYour enterprise won't experience downtime when you update the key, because the key vault that GitHub manages uses the \"envelope\" technique. For more information, see [Encryption and decryption via the envelope technique](https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side-encryption#encryption-and-decryption-via-the-envelope-technique) in the Azure documentation.\n\nYour 2048 bit RSA private key should be in PEM format. For more information, see \"[Configuring data encryption for your enterprise](/admin/configuration/configuring-data-encryption-for-your-enterprise#adding-or-updating-an-encryption-key).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#update-encryption-key", + "name": "Get all statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/enterprise/encryption", + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/all", "body": {}, "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1059__", + "parentId": "__FLD_184__", + "_id": "__REQ_4153__", "_type": "request", - "name": "Disable encryption at rest", - "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nMarks your encryption key as disabled and disables encryption at rest. This will freeze your enterprise. For example, you can use this operation to freeze your enterprise in case of a breach. Note: This operation does not delete the key permanently.\n\nIt takes approximately ten minutes to disable encryption at rest. To check the status, use the \"[Get an encryption status](https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-an-encryption-status)\" REST API.\n\nTo unfreeze your enterprise after you've disabled encryption at rest, you must contact Support. For more information, see \"[Receiving enterprise support](/admin/enterprise-support/receiving-help-from-github-support).\"\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-rest/#delete-encryption-key", + "name": "Get comment statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-comment-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/enterprise/encryption", + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1060__", + "parentId": "__FLD_184__", + "_id": "__REQ_4154__", "_type": "request", - "name": "Get an encryption status", - "description": "**Warning:** The encryption at rest endpoints are currently in beta and are subject to change.\n\nChecks the status of updating an encryption key or disabling encryption at rest.\n\nhttps://docs.github.com/github-ae@latest/v3/enterprise-admin/encryption-at-#get-encryption-status", + "name": "Get gist statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-gist-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/encryption/status/{{ request_id }}", + "url": "{{ github_api_root }}/enterprise/stats/gists", "body": {}, "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1061__", + "parentId": "__FLD_184__", + "_id": "__REQ_4155__", "_type": "request", - "name": "Get license information", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-license-information", + "name": "Get hooks statistics", + "description": "undefined\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-hooks-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/settings/license", + "url": "{{ github_api_root }}/enterprise/stats/hooks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1062__", + "parentId": "__FLD_184__", + "_id": "__REQ_4156__", "_type": "request", - "name": "Get statistics", - "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-statistics", + "name": "Get issue statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-issues-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "url": "{{ github_api_root }}/enterprise/stats/issues", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1063__", + "parentId": "__FLD_184__", + "_id": "__REQ_4157__", "_type": "request", - "name": "List public events", - "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events", + "name": "Get milestone statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-milestone-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/events", + "url": "{{ github_api_root }}/enterprise/stats/milestones", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1064__", + "parentId": "__FLD_184__", + "_id": "__REQ_4158__", "_type": "request", - "name": "Get feeds", - "description": "GitHub AE provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub AE global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub AE.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-feeds", + "name": "Get organization statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-organization-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/feeds", + "url": "{{ github_api_root }}/enterprise/stats/orgs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1065__", + "parentId": "__FLD_184__", + "_id": "__REQ_4159__", "_type": "request", - "name": "List gists for the authenticated user", - "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-the-authenticated-user", + "name": "Get pages statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-pages-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists", + "url": "{{ github_api_root }}/enterprise/stats/pages", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1066__", + "parentId": "__FLD_184__", + "_id": "__REQ_4160__", "_type": "request", - "name": "Create a gist", - "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#create-a-gist", + "name": "Get pull request statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-pull-requests-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/gists", + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/pulls", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1067__", + "parentId": "__FLD_184__", + "_id": "__REQ_4161__", "_type": "request", - "name": "List public gists", - "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-public-gists", + "name": "Get repository statistics", + "description": "undefined\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-repository-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/public", + "url": "{{ github_api_root }}/enterprise/stats/repos", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1068__", + "parentId": "__FLD_184__", + "_id": "__REQ_4162__", "_type": "request", - "name": "List starred gists", - "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-starred-gists", + "name": "Get users statistics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-users-statistics", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/starred", + "url": "{{ github_api_root }}/enterprise/stats/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4163__", + "_type": "request", + "name": "Get GitHub Actions permissions for an enterprise", + "description": "Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4164__", + "_type": "request", + "name": "Set GitHub Actions permissions for an enterprise", + "description": "Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4165__", + "_type": "request", + "name": "List selected organizations enabled for GitHub Actions in an enterprise", + "description": "Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", "body": {}, "parameters": [ - { - "name": "since", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -1350,66 +1365,98 @@ ] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1069__", + "parentId": "__FLD_184__", + "_id": "__REQ_4166__", "_type": "request", - "name": "Get a gist", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist", + "name": "Set selected organizations enabled for GitHub Actions in an enterprise", + "description": "Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1070__", + "parentId": "__FLD_184__", + "_id": "__REQ_4167__", "_type": "request", - "name": "Update a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#update-a-gist", + "name": "Enable a selected organization for GitHub Actions in an enterprise", + "description": "Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1071__", + "parentId": "__FLD_184__", + "_id": "__REQ_4168__", "_type": "request", - "name": "Delete a gist", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#delete-a-gist", + "name": "Disable a selected organization for GitHub Actions in an enterprise", + "description": "Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/organizations/{{ org_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1072__", + "parentId": "__FLD_184__", + "_id": "__REQ_4169__", "_type": "request", - "name": "List gist comments", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-comments", + "name": "Get allowed actions for an enterprise", + "description": "Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-allowed-actions-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4170__", + "_type": "request", + "name": "Set allowed actions for an enterprise", + "description": "Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise).\"\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4171__", + "_type": "request", + "name": "List self-hosted runner groups for an enterprise", + "description": "Lists all self-hosted runner groups for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", "body": {}, "parameters": [ { @@ -1425,82 +1472,82 @@ ] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1073__", + "parentId": "__FLD_184__", + "_id": "__REQ_4172__", "_type": "request", - "name": "Create a gist comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#create-a-gist-comment", + "name": "Create a self-hosted runner group for an enterprise", + "description": "Creates a new self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1074__", + "parentId": "__FLD_184__", + "_id": "__REQ_4173__", "_type": "request", - "name": "Get a gist comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist-comment", + "name": "Get a self-hosted runner group for an enterprise", + "description": "Gets a specific self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1075__", + "parentId": "__FLD_184__", + "_id": "__REQ_4174__", "_type": "request", - "name": "Update a gist comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#update-a-gist-comment", + "name": "Update a self-hosted runner group for an enterprise", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1076__", + "parentId": "__FLD_184__", + "_id": "__REQ_4175__", "_type": "request", - "name": "Delete a gist comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#delete-a-gist-comment", + "name": "Delete a self-hosted runner group from an enterprise", + "description": "Deletes a self-hosted runner group for an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1077__", + "parentId": "__FLD_184__", + "_id": "__REQ_4176__", "_type": "request", - "name": "List gist commits", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-commits", + "name": "List self-hosted runners in a group for an enterprise", + "description": "Lists the self-hosted runners that are in a specific enterprise group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", "body": {}, "parameters": [ { @@ -1516,18 +1563,66 @@ ] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1078__", + "parentId": "__FLD_184__", + "_id": "__REQ_4177__", "_type": "request", - "name": "List gist forks", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gist-forks", + "name": "Set self-hosted runners in a group for an enterprise", + "description": "Replaces the list of self-hosted runners that are part of an enterprise runner group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4178__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an enterprise", + "description": "Adds a self-hosted runner to a runner group configured in an enterprise.\n\nYou must authenticate using an access token with the `manage_runners:enterprise`\nscope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4179__", + "_type": "request", + "name": "Remove a self-hosted runner from a group for an enterprise", + "description": "Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_184__", + "_id": "__REQ_4180__", + "_type": "request", + "name": "List self-hosted runners for an enterprise", + "description": "Lists all self-hosted runners configured for an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners", "body": {}, "parameters": [ { @@ -1543,137 +1638,163 @@ ] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1079__", + "parentId": "__FLD_184__", + "_id": "__REQ_4181__", "_type": "request", - "name": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#fork-a-gist", + "name": "List runner applications for an enterprise", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-runner-applications-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/downloads", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1080__", + "parentId": "__FLD_184__", + "_id": "__REQ_4182__", "_type": "request", - "name": "Check if a gist is starred", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#check-if-a-gist-is-starred", + "name": "Create a registration token for an enterprise", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/enterprises/octo-enterprise --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-registration-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/registration-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1081__", + "parentId": "__FLD_184__", + "_id": "__REQ_4183__", "_type": "request", - "name": "Star a gist", - "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#star-a-gist", + "name": "Create a remove token for an enterprise", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-remove-token-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "method": "POST", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/remove-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1082__", + "parentId": "__FLD_184__", + "_id": "__REQ_4184__", "_type": "request", - "name": "Unstar a gist", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#unstar-a-gist", + "name": "Get a self-hosted runner for an enterprise", + "description": "Gets a specific self-hosted runner configured in an enterprise.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "method": "GET", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1083__", + "parentId": "__FLD_184__", + "_id": "__REQ_4185__", "_type": "request", - "name": "Get a gist revision", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#get-a-gist-revision", + "name": "Delete a self-hosted runner from an enterprise", + "description": "Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "method": "DELETE", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1084__", + "parentId": "__FLD_184__", + "_id": "__REQ_4186__", "_type": "request", - "name": "Get all gitignore templates", - "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-all-gitignore-templates", + "name": "Get the audit log for an enterprise", + "description": "Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates", + "url": "{{ github_api_root }}/enterprises/{{ enterprise }}/audit-log", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1085__", + "parentId": "__FLD_178__", + "_id": "__REQ_4187__", "_type": "request", - "name": "Get a gitignore template", - "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/github-ae@latest/v3/gitignore/#get-a-gitignore-template", + "name": "Get feeds", + "description": "GitHub AE provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub AE global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub AE.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-feeds", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "url": "{{ github_api_root }}/feeds", "body": {}, "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1086__", + "parentId": "__FLD_185__", + "_id": "__REQ_4188__", "_type": "request", - "name": "List repositories accessible to the app installation", - "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-app-installation", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gists-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/installation/repositories", + "url": "{{ github_api_root }}/gists", "body": {}, "parameters": [ + { + "name": "since", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -1687,85 +1808,71 @@ ] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1087__", + "parentId": "__FLD_185__", + "_id": "__REQ_4189__", "_type": "request", - "name": "Revoke an installation access token", - "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/github-ae@latest/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-installation-access-token", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#create-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/installation/token", + "method": "POST", + "url": "{{ github_api_root }}/gists", "body": {}, "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1088__", + "parentId": "__FLD_185__", + "_id": "__REQ_4190__", "_type": "request", - "name": "List issues assigned to the authenticated user", - "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-issues-assigned-to-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-public-gists", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/issues", + "url": "{{ github_api_root }}/gists/public", "body": {}, "parameters": [ { - "name": "filter", - "value": "assigned", + "name": "since", "disabled": false }, { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "direction", - "value": "desc", + "name": "page", + "value": 1, "disabled": false - }, + } + ] + }, + { + "parentId": "__FLD_185__", + "_id": "__REQ_4191__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ { "name": "since", "disabled": false }, - { - "name": "collab", - "disabled": false - }, - { - "name": "orgs", - "disabled": false - }, - { - "name": "owned", - "disabled": false - }, - { - "name": "pulls", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -1779,108 +1886,157 @@ ] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1089__", + "parentId": "__FLD_185__", + "_id": "__REQ_4192__", "_type": "request", - "name": "Get all commonly used licenses", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-all-commonly-used-licenses", + "name": "Get a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/licenses", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_185__", + "_id": "__REQ_4193__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_185__", + "_id": "__REQ_4194__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_185__", + "_id": "__REQ_4195__", + "_type": "request", + "name": "List gist comments", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-comments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", "body": {}, "parameters": [ { - "name": "featured", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1090__", + "parentId": "__FLD_185__", + "_id": "__REQ_4196__", "_type": "request", - "name": "Get a license", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-a-license", + "name": "Create a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#create-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/licenses/{{ license }}", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1091__", + "parentId": "__FLD_185__", + "_id": "__REQ_4197__", "_type": "request", - "name": "Render a Markdown document", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document", + "name": "Get a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/markdown", + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1092__", + "parentId": "__FLD_185__", + "_id": "__REQ_4198__", "_type": "request", - "name": "Render a Markdown document in raw mode", - "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/github-ae@latest/v3/markdown/#render-a-markdown-document-in-raw-mode", + "name": "Update a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#update-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/markdown/raw", + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1093__", + "parentId": "__FLD_185__", + "_id": "__REQ_4199__", "_type": "request", - "name": "Get GitHub AE meta information", - "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/github-ae@latest/v3/meta/#get-github-meta-information", + "name": "Delete a gist comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#delete-a-gist-comment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/meta", + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1094__", + "parentId": "__FLD_185__", + "_id": "__REQ_4200__", "_type": "request", - "name": "List public events for a network of repositories", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "name": "List gist commits", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", "body": {}, "parameters": [ { @@ -1896,38 +2052,20 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1095__", + "parentId": "__FLD_185__", + "_id": "__REQ_4201__", "_type": "request", - "name": "List notifications for the authenticated user", - "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user", + "name": "List gist forks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gist-forks", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/notifications", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", "body": {}, "parameters": [ - { - "name": "all", - "value": false, - "disabled": false - }, - { - "name": "participating", - "value": false, - "disabled": false - }, - { - "name": "since", - "disabled": false - }, - { - "name": "before", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -1941,232 +2079,1774 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1096__", + "parentId": "__FLD_185__", + "_id": "__REQ_4202__", "_type": "request", - "name": "Mark notifications as read", - "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-notifications-as-read", + "name": "Fork a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#fork-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications", + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1097__", + "parentId": "__FLD_185__", + "_id": "__REQ_4203__", "_type": "request", - "name": "Get a thread", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread", + "name": "Check if a gist is starred", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#check-if-a-gist-is-starred", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1098__", + "parentId": "__FLD_185__", + "_id": "__REQ_4204__", "_type": "request", - "name": "Mark a thread as read", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-a-thread-as-read", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#star-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1099__", + "parentId": "__FLD_185__", + "_id": "__REQ_4205__", "_type": "request", - "name": "Get a thread subscription for the authenticated user", - "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "name": "Unstar a gist", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#unstar-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1100__", + "parentId": "__FLD_185__", + "_id": "__REQ_4206__", "_type": "request", - "name": "Set a thread subscription", - "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription", + "name": "Get a gist revision", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#get-a-gist-revision", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1101__", + "parentId": "__FLD_187__", + "_id": "__REQ_4207__", "_type": "request", - "name": "Delete a thread subscription", - "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription", + "name": "Get all gitignore templates", + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gitignore#get-all-gitignore-templates", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", "body": {}, "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1102__", + "parentId": "__FLD_187__", + "_id": "__REQ_4208__", "_type": "request", - "name": "Get Octocat", - "description": "", + "name": "Get a gitignore template", + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) to get the raw contents.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gitignore#get-a-gitignore-template", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/octocat", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", "body": {}, - "parameters": [ - { - "name": "s", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1103__", + "parentId": "__FLD_179__", + "_id": "__REQ_4209__", "_type": "request", - "name": "List organizations", - "description": "Lists all organizations, in the order that they were created on GitHub AE.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations", + "name": "List repositories accessible to the app installation", + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-app-installation", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/organizations", + "url": "{{ github_api_root }}/installation/repositories", "body": {}, "parameters": [ { - "name": "since", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "per_page", - "value": 30, + "name": "page", + "value": 1, "disabled": false } ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1104__", - "_type": "request", - "name": "Get an organization", - "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub AE plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub AE plan information' below.\"\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#get-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_63__", - "_id": "__REQ_1105__", + "parentId": "__FLD_179__", + "_id": "__REQ_4210__", "_type": "request", - "name": "Update an organization", - "description": "**Parameter Deprecation Notice:** GitHub AE will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#update-an-organization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.surtur-preview+json" - } - ], + "name": "Revoke an installation access token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/github-ae@latest/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#revoke-an-installation-access-token", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}", + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1106__", + "parentId": "__FLD_188__", + "_id": "__REQ_4211__", "_type": "request", - "name": "List public organization events", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-organization-events", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "url": "{{ github_api_root }}/issues", "body": {}, "parameters": [ { - "name": "per_page", - "value": 30, + "name": "filter", + "value": "assigned", "disabled": false }, { - "name": "page", - "value": 1, + "name": "state", + "value": "open", "disabled": false - } - ] + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "collab", + "disabled": false + }, + { + "name": "orgs", + "disabled": false + }, + { + "name": "owned", + "disabled": false + }, + { + "name": "pulls", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_189__", + "_id": "__REQ_4212__", + "_type": "request", + "name": "Get all commonly used licenses", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/licenses#get-all-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [ + { + "name": "featured", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_189__", + "_id": "__REQ_4213__", + "_type": "request", + "name": "Get a license", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/licenses#get-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4214__", + "_type": "request", + "name": "Render a Markdown document", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/markdown#render-a-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_190__", + "_id": "__REQ_4215__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/markdown#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_191__", + "_id": "__REQ_4216__", + "_type": "request", + "name": "Get GitHub AE meta information", + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/meta#get-github-meta-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4217__", + "_type": "request", + "name": "List notifications for the authenticated user", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 50, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4218__", + "_type": "request", + "name": "Mark notifications as read", + "description": "Marks all notifications as \"read\" removes it from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-notifications-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4219__", + "_type": "request", + "name": "Get a thread", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4220__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4221__", + "_type": "request", + "name": "Get a thread subscription for the authenticated user", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4222__", + "_type": "request", + "name": "Set a thread subscription", + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4223__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_191__", + "_id": "__REQ_4224__", + "_type": "request", + "name": "Get Octocat", + "description": "Get the octocat as ASCII art\n\nhttps://docs.github.com/github-ae@latest/rest/reference/meta#get-octocat", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/octocat", + "body": {}, + "parameters": [ + { + "name": "s", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4225__", + "_type": "request", + "name": "List organizations", + "description": "Lists all organizations, in the order that they were created on GitHub AE.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4226__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub AE plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub AE plan information' below.\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4227__", + "_type": "request", + "name": "Update an organization", + "description": "**Parameter Deprecation Notice:** GitHub AE will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs/#update-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4228__", + "_type": "request", + "name": "Get GitHub Actions permissions for an organization", + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4229__", + "_type": "request", + "name": "Set GitHub Actions permissions for an organization", + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.\n\nIf the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-github-actions-permissions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4230__", + "_type": "request", + "name": "List selected repositories enabled for GitHub Actions in an organization", + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4231__", + "_type": "request", + "name": "Set selected repositories enabled for GitHub Actions in an organization", + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4232__", + "_type": "request", + "name": "Enable a selected repository for GitHub Actions in an organization", + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4233__", + "_type": "request", + "name": "Disable a selected repository for GitHub Actions in an organization", + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4234__", + "_type": "request", + "name": "Get allowed actions for an organization", + "description": "Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4235__", + "_type": "request", + "name": "Set allowed actions for an organization", + "description": "Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nIf the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-allowed-actions-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4236__", + "_type": "request", + "name": "List self-hosted runner groups for an organization", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4237__", + "_type": "request", + "name": "Create a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nCreates a new self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4238__", + "_type": "request", + "name": "Get a self-hosted runner group for an organization", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4239__", + "_type": "request", + "name": "Update a self-hosted runner group for an organization", + "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4240__", + "_type": "request", + "name": "Delete a self-hosted runner group from an organization", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4241__", + "_type": "request", + "name": "Add a self-hosted runner to a group for an organization", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runner-groups/{{ runner_group_id }}/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4242__", + "_type": "request", + "name": "List self-hosted runners for an organization", + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4243__", + "_type": "request", + "name": "List runner applications for an organization", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-runner-applications-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4244__", + "_type": "request", + "name": "Create a registration token for an organization", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-registration-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4245__", + "_type": "request", + "name": "Create a remove token for an organization", + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-remove-token-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4246__", + "_type": "request", + "name": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4247__", + "_type": "request", + "name": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4248__", + "_type": "request", + "name": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-organization-secrets", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4249__", + "_type": "request", + "name": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4250__", + "_type": "request", + "name": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4251__", + "_type": "request", + "name": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4252__", + "_type": "request", + "name": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4253__", + "_type": "request", + "name": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4254__", + "_type": "request", + "name": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4255__", + "_type": "request", + "name": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#add-selected-repository-to-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4256__", + "_type": "request", + "name": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/actions/secrets/{{ secret_name }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4257__", + "_type": "request", + "name": "Get the audit log for an organization", + "description": "Gets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github-ae@latest/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nThis endpoint is available for organizations on GitHub Enterprise Cloud. To use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.\n\nBy default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github-ae@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).\"\n\nUse pagination to retrieve fewer or more than 30 events. For more information, see \"[Resources in the REST API](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-audit-log", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/audit-log", + "body": {}, + "parameters": [ + { + "name": "phrase", + "disabled": false + }, + { + "name": "after", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "order", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4258__", + "_type": "request", + "name": "Get an external group", + "description": "Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github-ae@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#external-idp-group-info-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/external-group/{{ group_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4259__", + "_type": "request", + "name": "List external groups in an organization", + "description": "Lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub AE generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github-ae@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-external-idp-groups-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/external-groups", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "disabled": false + }, + { + "name": "display_name", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4260__", + "_type": "request", + "name": "List organization webhooks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-webhooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4261__", + "_type": "request", + "name": "Create an organization webhook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#create-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4262__", + "_type": "request", + "name": "Get an organization webhook", + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4263__", + "_type": "request", + "name": "Update an organization webhook", + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4264__", + "_type": "request", + "name": "Delete an organization webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#delete-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4265__", + "_type": "request", + "name": "Get a webhook configuration for an organization", + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4266__", + "_type": "request", + "name": "Update a webhook configuration for an organization", + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-a-webhook-configuration-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4267__", + "_type": "request", + "name": "List deliveries for an organization webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4268__", + "_type": "request", + "name": "Get a webhook delivery for an organization webhook", + "description": "Returns a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4269__", + "_type": "request", + "name": "Redeliver a delivery for an organization webhook", + "description": "Redeliver a delivery for a webhook configured in an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4270__", + "_type": "request", + "name": "Ping an organization webhook", + "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#ping-an-organization-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_179__", + "_id": "__REQ_4271__", + "_type": "request", + "name": "Get an organization installation for the authenticated app", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4272__", + "_type": "request", + "name": "List app installations for an organization", + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-app-installations-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_188__", + "_id": "__REQ_4273__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4274__", + "_type": "request", + "name": "List organization members", + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4275__", + "_type": "request", + "name": "Check organization membership for a user", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4276__", + "_type": "request", + "name": "Remove an organization member", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-an-organization-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4277__", + "_type": "request", + "name": "Get organization membership for a user", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4278__", + "_type": "request", + "name": "Set organization membership for a user", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4279__", + "_type": "request", + "name": "Remove organization membership for a user", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-organization-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4280__", + "_type": "request", + "name": "List organization migrations", + "description": "Lists the most recent migrations.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#list-organization-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4281__", + "_type": "request", + "name": "Start an organization migration", + "description": "Initiates the generation of a migration archive.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#start-an-organization-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4282__", + "_type": "request", + "name": "Get an organization migration status", + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#get-an-organization-migration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/migrations/{{ migration_id }}", + "body": {}, + "parameters": [ + { + "name": "exclude", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4283__", + "_type": "request", + "name": "List outside collaborators for an organization", + "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4284__", + "_type": "request", + "name": "Convert an organization member to outside collaborator", + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/github-ae@latest/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/github-ae@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4285__", + "_type": "request", + "name": "Remove outside collaborator from an organization", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4286__", + "_type": "request", + "name": "List organization projects", + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-organization-projects", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4287__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-an-organization-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1107__", + "parentId": "__FLD_198__", + "_id": "__REQ_4288__", "_type": "request", - "name": "List organization webhooks", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-webhooks", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-organization-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -2180,148 +3860,232 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1108__", + "parentId": "__FLD_198__", + "_id": "__REQ_4289__", "_type": "request", - "name": "Create an organization webhook", - "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#create-an-organization-webhook", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-an-organization-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1109__", + "parentId": "__FLD_201__", + "_id": "__REQ_4290__", "_type": "request", - "name": "Get an organization webhook", - "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-webhook", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-teams", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4291__", + "_type": "request", + "name": "Create a team", + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1110__", + "parentId": "__FLD_201__", + "_id": "__REQ_4292__", "_type": "request", - "name": "Update an organization webhook", - "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-webhook", + "name": "Get a team by name", + "description": "Gets a team using the team's `slug`. GitHub AE generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4293__", + "_type": "request", + "name": "Update a team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1111__", + "parentId": "__FLD_201__", + "_id": "__REQ_4294__", "_type": "request", - "name": "Delete an organization webhook", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#delete-an-organization-webhook", + "name": "Delete a team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1112__", + "parentId": "__FLD_201__", + "_id": "__REQ_4295__", "_type": "request", - "name": "Get a webhook configuration for an organization", - "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#get-a-webhook-configuration-for-an-organization", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "pinned", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4296__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1113__", + "parentId": "__FLD_201__", + "_id": "__REQ_4297__", "_type": "request", - "name": "Update a webhook configuration for an organization", - "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs#update-a-webhook-configuration-for-an-organization", + "name": "Get a discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/config", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1114__", + "parentId": "__FLD_201__", + "_id": "__REQ_4298__", "_type": "request", - "name": "Ping an organization webhook", - "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#ping-an-organization-webhook", + "name": "Update a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1115__", + "parentId": "__FLD_201__", + "_id": "__REQ_4299__", "_type": "request", - "name": "Get an organization installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1116__", + "parentId": "__FLD_201__", + "_id": "__REQ_4300__", "_type": "request", - "name": "List app installations for an organization", - "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-app-installations-for-an-organization", + "name": "List discussion comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -2335,11 +4099,75 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1117__", + "parentId": "__FLD_201__", + "_id": "__REQ_4301__", "_type": "request", - "name": "List organization issues assigned to the authenticated user", - "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "name": "Create a discussion comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4302__", + "_type": "request", + "name": "Get a discussion comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4303__", + "_type": "request", + "name": "Update a discussion comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4304__", + "_type": "request", + "name": "Delete a discussion comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4305__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", "headers": [ { "name": "Accept", @@ -2351,72 +4179,89 @@ "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", "body": {}, "parameters": [ { - "name": "filter", - "value": "assigned", - "disabled": false - }, - { - "name": "state", - "value": "open", - "disabled": false - }, - { - "name": "labels", - "disabled": false - }, - { - "name": "sort", - "value": "created", + "name": "content", "disabled": false }, { - "name": "direction", - "value": "desc", + "name": "per_page", + "value": 30, "disabled": false }, { - "name": "since", + "name": "page", + "value": 1, "disabled": false - }, + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4306__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", + "headers": [ { - "name": "per_page", - "value": 30, - "disabled": false - }, + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4307__", + "_type": "request", + "name": "Delete team discussion comment reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-team-discussion-comment-reaction", + "headers": [ { - "name": "page", - "value": 1, - "disabled": false + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" } - ] + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1118__", + "parentId": "__FLD_197__", + "_id": "__REQ_4308__", "_type": "request", - "name": "List organization members", - "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-members", - "headers": [], + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, "parameters": [ { - "name": "filter", - "value": "all", - "disabled": false - }, - { - "name": "role", - "value": "all", + "name": "content", "disabled": false }, { @@ -2432,102 +4277,96 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1119__", + "parentId": "__FLD_197__", + "_id": "__REQ_4309__", "_type": "request", - "name": "Check organization membership for a user", - "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-organization-membership-for-a-user", - "headers": [], + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1120__", + "parentId": "__FLD_197__", + "_id": "__REQ_4310__", "_type": "request", - "name": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-an-organization-member", - "headers": [], + "name": "Delete team discussion reaction", + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_63__", - "_id": "__REQ_1121__", - "_type": "request", - "name": "Get organization membership for a user", - "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1122__", + "parentId": "__FLD_201__", + "_id": "__REQ_4311__", "_type": "request", - "name": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/github-ae@latest/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-organization-membership-for-a-user", + "name": "Update the connection between an external group and a team", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github-ae@latest/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#link-external-idp-group-team-connection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/external-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1123__", + "parentId": "__FLD_201__", + "_id": "__REQ_4312__", "_type": "request", - "name": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-organization-membership-for-a-user", + "name": "Remove the connection between an external group and a team", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github-ae@latest/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#unlink-external-idp-group-team-connection", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/external-groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1124__", + "parentId": "__FLD_201__", + "_id": "__REQ_4313__", "_type": "request", - "name": "List outside collaborators for an organization", - "description": "List all users who are outside collaborators of an organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-outside-collaborators-for-an-organization", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", "body": {}, "parameters": [ { - "name": "filter", + "name": "role", "value": "all", "disabled": false }, @@ -2544,62 +4383,68 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1125__", + "parentId": "__FLD_201__", + "_id": "__REQ_4314__", "_type": "request", - "name": "Convert an organization member to outside collaborator", - "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "name": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4315__", + "_type": "request", + "name": "Add or update team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1126__", + "parentId": "__FLD_201__", + "_id": "__REQ_4316__", "_type": "request", - "name": "Remove outside collaborator from an organization", - "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-outside-collaborator-from-an-organization", + "name": "Remove team membership for a user", + "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1127__", + "parentId": "__FLD_201__", + "_id": "__REQ_4317__", "_type": "request", - "name": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-organization-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", "body": {}, "parameters": [ - { - "name": "state", - "value": "open", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -2613,39 +4458,66 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1128__", + "parentId": "__FLD_201__", + "_id": "__REQ_4318__", "_type": "request", - "name": "Create an organization project", - "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-an-organization-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4319__", + "_type": "request", + "name": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-project-permissions", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4320__", + "_type": "request", + "name": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-project-from-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1129__", + "parentId": "__FLD_201__", + "_id": "__REQ_4321__", "_type": "request", - "name": "List public organization members", - "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-public-organization-members", + "name": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", "body": {}, "parameters": [ { @@ -2661,86 +4533,68 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1130__", + "parentId": "__FLD_201__", + "_id": "__REQ_4322__", "_type": "request", - "name": "Check public organization membership for a user", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#check-public-organization-membership-for-a-user", + "name": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#check-team-permissions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1131__", + "parentId": "__FLD_201__", + "_id": "__REQ_4323__", "_type": "request", - "name": "Set public organization membership for the authenticated user", - "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", + "name": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#add-or-update-team-repository-permissions", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1132__", + "parentId": "__FLD_201__", + "_id": "__REQ_4324__", "_type": "request", - "name": "Remove public organization membership for the authenticated user", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", + "name": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#remove-a-repository-from-a-team", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1133__", + "parentId": "__FLD_201__", + "_id": "__REQ_4325__", "_type": "request", - "name": "List organization repositories", - "description": "Lists repositories for the specified organization.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-organization-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-child-teams", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", "body": {}, "parameters": [ - { - "name": "type", - "disabled": false - }, - { - "name": "sort", - "value": "created", - "disabled": false - }, - { - "name": "direction", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -2754,140 +4608,135 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1134__", + "parentId": "__FLD_194__", + "_id": "__REQ_4326__", "_type": "request", - "name": "Create an organization repository", - "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-an-organization-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "Get a project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-card", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1135__", + "parentId": "__FLD_194__", + "_id": "__REQ_4327__", "_type": "request", - "name": "List teams", - "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams", + "name": "Update an existing project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1136__", + "parentId": "__FLD_194__", + "_id": "__REQ_4328__", "_type": "request", - "name": "Create a team", - "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#create-a-team", + "name": "Delete a project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-card", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4329__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-card", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1137__", + "parentId": "__FLD_194__", + "_id": "__REQ_4330__", "_type": "request", - "name": "Get a team by name", - "description": "Gets a team using the team's `slug`. GitHub AE generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-by-name", + "name": "Get a project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1138__", + "parentId": "__FLD_194__", + "_id": "__REQ_4331__", "_type": "request", - "name": "Update a team", - "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team", + "name": "Update an existing project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1139__", + "parentId": "__FLD_194__", + "_id": "__REQ_4332__", "_type": "request", - "name": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team", + "name": "Delete a project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-column", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1140__", + "parentId": "__FLD_194__", + "_id": "__REQ_4333__", "_type": "request", - "name": "List discussions", - "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List project cards", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-cards", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [ { - "name": "direction", - "value": "desc", + "name": "archived_state", + "value": "not_archived", "disabled": false }, { @@ -2903,107 +4752,103 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1141__", + "parentId": "__FLD_194__", + "_id": "__REQ_4334__", "_type": "request", - "name": "Create a discussion", - "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a project card", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-card", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1142__", + "parentId": "__FLD_194__", + "_id": "__REQ_4335__", "_type": "request", - "name": "Get a discussion", - "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Move a project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-column", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_194__", + "_id": "__REQ_4336__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1143__", + "parentId": "__FLD_194__", + "_id": "__REQ_4337__", "_type": "request", - "name": "Update a discussion", - "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1144__", + "parentId": "__FLD_194__", + "_id": "__REQ_4338__", "_type": "request", - "name": "Delete a discussion", - "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}", + "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1145__", + "parentId": "__FLD_194__", + "_id": "__REQ_4339__", "_type": "request", - "name": "List discussion comments", - "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List project collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-collaborators", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", "body": {}, "parameters": [ { - "name": "direction", - "value": "desc", + "name": "affiliation", + "value": "all", "disabled": false }, { @@ -3019,108 +4864,68 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1146__", - "_type": "request", - "name": "Create a discussion comment", - "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_70__", - "_id": "__REQ_1147__", + "parentId": "__FLD_194__", + "_id": "__REQ_4340__", "_type": "request", - "name": "Get a discussion comment", - "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Add project collaborator", + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#add-project-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1148__", + "parentId": "__FLD_194__", + "_id": "__REQ_4341__", "_type": "request", - "name": "Update a discussion comment", - "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#remove-project-collaborator", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1149__", + "parentId": "__FLD_194__", + "_id": "__REQ_4342__", "_type": "request", - "name": "Delete a discussion comment", - "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment", + "name": "Get project permission for a user", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-project-permission-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1150__", + "parentId": "__FLD_194__", + "_id": "__REQ_4343__", "_type": "request", - "name": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List project columns", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-columns", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [ - { - "name": "content", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3134,145 +4939,100 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1151__", + "parentId": "__FLD_194__", + "_id": "__REQ_4344__", "_type": "request", - "name": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a project column", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-column", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1152__", + "parentId": "__FLD_196__", + "_id": "__REQ_4345__", "_type": "request", - "name": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-comment-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get rate limit status for the authenticated user", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1153__", + "parentId": "__FLD_198__", + "_id": "__REQ_4346__", "_type": "request", - "name": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1154__", + "parentId": "__FLD_198__", + "_id": "__REQ_4347__", "_type": "request", - "name": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos/#update-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions", + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1155__", + "parentId": "__FLD_198__", + "_id": "__REQ_4348__", "_type": "request", - "name": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-team-discussion-reaction", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1156__", + "parentId": "__FLD_177__", + "_id": "__REQ_4349__", "_type": "request", - "name": "List team members", - "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-artifacts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/members", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", "body": {}, "parameters": [ - { - "name": "role", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3286,156 +5046,162 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1157__", + "parentId": "__FLD_177__", + "_id": "__REQ_4350__", "_type": "request", - "name": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1158__", + "parentId": "__FLD_177__", + "_id": "__REQ_4351__", "_type": "request", - "name": "Add or update team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user", + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1159__", + "parentId": "__FLD_177__", + "_id": "__REQ_4352__", "_type": "request", - "name": "Remove team membership for a user", - "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user", + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#download-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/memberships/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1160__", + "parentId": "__FLD_177__", + "_id": "__REQ_4353__", "_type": "request", - "name": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-job-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1161__", + "parentId": "__FLD_177__", + "_id": "__REQ_4354__", "_type": "request", - "name": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#download-job-logs-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1162__", + "parentId": "__FLD_177__", + "_id": "__REQ_4355__", "_type": "request", - "name": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get GitHub Actions permissions for a repository", + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4356__", + "_type": "request", + "name": "Set GitHub Actions permissions for a repository", + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.\n\nIf the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1163__", + "parentId": "__FLD_177__", + "_id": "__REQ_4357__", "_type": "request", - "name": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team", + "name": "Get allowed actions for a repository", + "description": "Gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-allowed-actions-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/projects/{{ project_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1164__", + "parentId": "__FLD_177__", + "_id": "__REQ_4358__", "_type": "request", - "name": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories", + "name": "Set allowed actions for a repository", + "description": "Sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nIf the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.\n\nTo use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#set-allowed-actions-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/permissions/selected-actions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4359__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-self-hosted-runners-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", "body": {}, "parameters": [ { @@ -3451,68 +5217,116 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1165__", + "parentId": "__FLD_177__", + "_id": "__REQ_4360__", "_type": "request", - "name": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository", + "name": "List runner applications for a repository", + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-runner-applications-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1166__", + "parentId": "__FLD_177__", + "_id": "__REQ_4361__", "_type": "request", - "name": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions", + "name": "Create a registration token for a repository", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-registration-token-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1167__", + "parentId": "__FLD_177__", + "_id": "__REQ_4362__", "_type": "request", - "name": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team", + "name": "Create a remove token for a repository", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-remove-token-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4363__", + "_type": "request", + "name": "Get a self-hosted runner for a repository", + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4364__", + "_type": "request", + "name": "Delete a self-hosted runner from a repository", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/repos/{{ owner }}/{{ repo }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1168__", + "parentId": "__FLD_177__", + "_id": "__REQ_4365__", "_type": "request", - "name": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams", + "name": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-workflow-runs-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/teams", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", "body": {}, "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, { "name": "per_page", "value": 30, @@ -3522,179 +5336,182 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false } ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1169__", + "parentId": "__FLD_177__", + "_id": "__REQ_4366__", "_type": "request", - "name": "Get a project card", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1170__", + "parentId": "__FLD_177__", + "_id": "__REQ_4367__", "_type": "request", - "name": "Update an existing project card", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete a workflow run", + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1171__", + "parentId": "__FLD_177__", + "_id": "__REQ_4368__", "_type": "request", - "name": "Delete a project card", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-workflow-run-artifacts", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1172__", + "parentId": "__FLD_177__", + "_id": "__REQ_4369__", "_type": "request", - "name": "Move a project card", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a workflow run attempt", + "description": "Gets a specific workflow run attempt. Anyone with read access to the repository\ncan use this endpoint. If the repository is private you must use an access token\nwith the `repo` scope. GitHub Apps must have the `actions:read` permission to\nuse this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-workflow-run-attempt", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1173__", + "parentId": "__FLD_177__", + "_id": "__REQ_4370__", "_type": "request", - "name": "Get a project column", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List jobs for a workflow run attempt", + "description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-jobs-for-a-workflow-run-attempt", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/jobs", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1174__", + "parentId": "__FLD_177__", + "_id": "__REQ_4371__", "_type": "request", - "name": "Update an existing project column", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#update-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Download workflow run attempt logs", + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#download-workflow-run-attempt-logs", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/attempts/{{ attempt_number }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1175__", + "parentId": "__FLD_177__", + "_id": "__REQ_4372__", "_type": "request", - "name": "Delete a project column", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#delete-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#cancel-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_64__", - "_id": "__REQ_1176__", - "_type": "request", - "name": "List project cards", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-cards", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4373__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#parameters).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-jobs-for-a-workflow-run", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", "body": {}, "parameters": [ { - "name": "archived_state", - "value": "not_archived", + "name": "filter", + "value": "latest", "disabled": false }, { @@ -3710,135 +5527,84 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1177__", - "_type": "request", - "name": "Create a project card", - "description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-card", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_64__", - "_id": "__REQ_1178__", + "parentId": "__FLD_177__", + "_id": "__REQ_4374__", "_type": "request", - "name": "Move a project column", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#move-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#download-workflow-run-logs", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1179__", + "parentId": "__FLD_177__", + "_id": "__REQ_4375__", "_type": "request", - "name": "Get a project", - "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#get-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-workflow-run-logs", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1180__", + "parentId": "__FLD_177__", + "_id": "__REQ_4376__", "_type": "request", - "name": "Update a project", - "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#update-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#re-run-a-workflow", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1181__", + "parentId": "__FLD_177__", + "_id": "__REQ_4377__", "_type": "request", - "name": "Delete a project", - "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#delete-a-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get workflow run usage", + "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub AE-hosted runners. Usage is listed for each GitHub AE-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-workflow-run-usage", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/timing", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1182__", + "parentId": "__FLD_177__", + "_id": "__REQ_4378__", "_type": "request", - "name": "List project collaborators", - "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-collaborators", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-repository-secrets", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", "body": {}, "parameters": [ - { - "name": "affiliation", - "value": "all", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -3852,86 +5618,82 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1183__", + "parentId": "__FLD_177__", + "_id": "__REQ_4379__", "_type": "request", - "name": "Add project collaborator", - "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#add-project-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1184__", + "parentId": "__FLD_177__", + "_id": "__REQ_4380__", "_type": "request", - "name": "Remove user as a collaborator", - "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#remove-project-collaborator", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1185__", + "parentId": "__FLD_177__", + "_id": "__REQ_4381__", "_type": "request", - "name": "Get project permission for a user", - "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#get-project-permission-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [tweetsodium](https://github.com/github/tweetsodium) library.\n\n```\nconst sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n```\n\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-or-update-a-repository-secret", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1186__", + "parentId": "__FLD_177__", + "_id": "__REQ_4382__", "_type": "request", - "name": "List project columns", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-project-columns", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#delete-a-repository-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ secret_name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_177__", + "_id": "__REQ_4383__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-repository-workflows", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", "body": {}, "parameters": [ { @@ -3947,127 +5709,143 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1187__", + "parentId": "__FLD_177__", + "_id": "__REQ_4384__", "_type": "request", - "name": "Create a project column", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-project-column", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "name": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-a-workflow", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1188__", + "parentId": "__FLD_177__", + "_id": "__REQ_4385__", "_type": "request", - "name": "Get rate limit status for the authenticated user", - "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://docs.github.com/github-ae@latest/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "name": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#disable-a-workflow", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/rate_limit", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/disable", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1189__", + "parentId": "__FLD_177__", + "_id": "__REQ_4386__", "_type": "request", - "name": "Delete a reaction (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-reaction-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#create-a-workflow-dispatch-event", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/dispatches", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1190__", + "parentId": "__FLD_177__", + "_id": "__REQ_4387__", "_type": "request", - "name": "Get a repository", - "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" - } - ], + "name": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#enable-a-workflow", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/enable", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1191__", + "parentId": "__FLD_177__", + "_id": "__REQ_4388__", "_type": "request", - "name": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#update-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#list-workflow-runs", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PATCH", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "created", + "disabled": false + }, + { + "name": "exclude_pull_requests", + "value": false, + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1192__", + "parentId": "__FLD_177__", + "_id": "__REQ_4389__", "_type": "request", - "name": "Delete a repository", - "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#delete-a-repository", + "name": "Get workflow usage", + "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub AE-hosted runners. Usage is listed for each GitHub AE-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/actions#get-workflow-usage", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/timing", "body": {}, "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1193__", + "parentId": "__FLD_188__", + "_id": "__REQ_4390__", "_type": "request", "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-assignees", + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-assignees", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4090,24 +5868,94 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1194__", + "parentId": "__FLD_188__", + "_id": "__REQ_4391__", + "_type": "request", + "name": "Check if a user can be assigned", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#check-if-a-user-can-be-assigned", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4392__", + "_type": "request", + "name": "List all autolinks of a repository", + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#list-autolinks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4393__", + "_type": "request", + "name": "Create an autolink reference for a repository", + "description": "Users with admin access to the repository can create an autolink.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#create-an-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4394__", "_type": "request", - "name": "Check if a user can be assigned", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#check-if-a-user-can-be-assigned", + "name": "Get an autolink reference of a repository", + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#get-autolink", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4395__", + "_type": "request", + "name": "Delete an autolink reference from a repository", + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#delete-autolink", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/autolinks/{{ autolink_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1195__", + "parentId": "__FLD_198__", + "_id": "__REQ_4396__", "_type": "request", "name": "List branches", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches", @@ -4137,8 +5985,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1196__", + "parentId": "__FLD_198__", + "_id": "__REQ_4397__", "_type": "request", "name": "Get a branch", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-branch", @@ -4153,17 +6001,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1197__", + "parentId": "__FLD_198__", + "_id": "__REQ_4398__", "_type": "request", "name": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-branch-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4174,17 +6017,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1198__", + "parentId": "__FLD_198__", + "_id": "__REQ_4399__", "_type": "request", "name": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-branch-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-branch-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4195,11 +6033,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1199__", + "parentId": "__FLD_198__", + "_id": "__REQ_4400__", "_type": "request", "name": "Delete branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4211,11 +6049,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1200__", + "parentId": "__FLD_198__", + "_id": "__REQ_4401__", "_type": "request", "name": "Get admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4227,11 +6065,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1201__", + "parentId": "__FLD_198__", + "_id": "__REQ_4402__", "_type": "request", "name": "Set admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4243,11 +6081,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1202__", + "parentId": "__FLD_198__", + "_id": "__REQ_4403__", "_type": "request", "name": "Delete admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-admin-branch-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-admin-branch-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4259,17 +6097,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1203__", + "parentId": "__FLD_198__", + "_id": "__REQ_4404__", "_type": "request", "name": "Get pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-pull-request-review-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-pull-request-review-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4280,17 +6113,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1204__", + "parentId": "__FLD_198__", + "_id": "__REQ_4405__", "_type": "request", "name": "Update pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-pull-request-review-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.luke-cage-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-pull-request-review-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4301,11 +6129,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1205__", + "parentId": "__FLD_198__", + "_id": "__REQ_4406__", "_type": "request", "name": "Delete pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-pull-request-review-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-pull-request-review-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4317,17 +6145,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1206__", + "parentId": "__FLD_198__", + "_id": "__REQ_4407__", "_type": "request", "name": "Get commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-commit-signature-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4338,17 +6161,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1207__", + "parentId": "__FLD_198__", + "_id": "__REQ_4408__", "_type": "request", "name": "Create commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-commit-signature-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4359,17 +6177,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1208__", + "parentId": "__FLD_198__", + "_id": "__REQ_4409__", "_type": "request", "name": "Delete commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-commit-signature-protection", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.zzzax-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-commit-signature-protection", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -4380,11 +6193,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1209__", + "parentId": "__FLD_198__", + "_id": "__REQ_4410__", "_type": "request", "name": "Get status checks protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-status-checks-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-status-checks-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4396,11 +6209,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1210__", + "parentId": "__FLD_198__", + "_id": "__REQ_4411__", "_type": "request", "name": "Update status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-potection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4412,11 +6225,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1211__", + "parentId": "__FLD_198__", + "_id": "__REQ_4412__", "_type": "request", "name": "Remove status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-protection", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4428,11 +6241,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1212__", + "parentId": "__FLD_198__", + "_id": "__REQ_4413__", "_type": "request", "name": "Get all status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4444,11 +6257,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1213__", + "parentId": "__FLD_198__", + "_id": "__REQ_4414__", "_type": "request", "name": "Add status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4460,11 +6273,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1214__", + "parentId": "__FLD_198__", + "_id": "__REQ_4415__", "_type": "request", "name": "Set status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4476,11 +6289,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1215__", + "parentId": "__FLD_198__", + "_id": "__REQ_4416__", "_type": "request", "name": "Remove status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-status-check-contexts", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4492,11 +6305,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1216__", + "parentId": "__FLD_198__", + "_id": "__REQ_4417__", "_type": "request", "name": "Get access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4508,11 +6321,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1217__", + "parentId": "__FLD_198__", + "_id": "__REQ_4418__", "_type": "request", "name": "Delete access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4524,11 +6337,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1218__", + "parentId": "__FLD_198__", + "_id": "__REQ_4419__", "_type": "request", "name": "Get apps with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-apps-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4540,11 +6353,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1219__", + "parentId": "__FLD_198__", + "_id": "__REQ_4420__", "_type": "request", "name": "Add app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4556,11 +6369,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1220__", + "parentId": "__FLD_198__", + "_id": "__REQ_4421__", "_type": "request", "name": "Set app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4572,11 +6385,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1221__", + "parentId": "__FLD_198__", + "_id": "__REQ_4422__", "_type": "request", "name": "Remove app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-app-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-app-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4588,11 +6401,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1222__", + "parentId": "__FLD_198__", + "_id": "__REQ_4423__", "_type": "request", "name": "Get teams with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-teams-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4604,11 +6417,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1223__", + "parentId": "__FLD_198__", + "_id": "__REQ_4424__", "_type": "request", "name": "Add team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4620,11 +6433,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1224__", + "parentId": "__FLD_198__", + "_id": "__REQ_4425__", "_type": "request", "name": "Set team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4636,11 +6449,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1225__", + "parentId": "__FLD_198__", + "_id": "__REQ_4426__", "_type": "request", "name": "Remove team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-team-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-team-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4652,11 +6465,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1226__", + "parentId": "__FLD_198__", + "_id": "__REQ_4427__", "_type": "request", "name": "Get users with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-users-with-access-to-the-protected-branch", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4668,11 +6481,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1227__", + "parentId": "__FLD_198__", + "_id": "__REQ_4428__", "_type": "request", "name": "Add user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4684,11 +6497,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1228__", + "parentId": "__FLD_198__", + "_id": "__REQ_4429__", "_type": "request", "name": "Set user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#set-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4700,11 +6513,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1229__", + "parentId": "__FLD_198__", + "_id": "__REQ_4430__", "_type": "request", "name": "Remove user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-user-access-restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-user-access-restrictions", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4716,24 +6529,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1230__", - "_type": "request", - "name": "Rename a branch", - "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github-ae@latest/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#rename-a-branch", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/rename", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_52__", - "_id": "__REQ_1231__", + "parentId": "__FLD_180__", + "_id": "__REQ_4431__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-run", @@ -4748,8 +6545,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1232__", + "parentId": "__FLD_180__", + "_id": "__REQ_4432__", "_type": "request", "name": "Get a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-run", @@ -4764,8 +6561,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1233__", + "parentId": "__FLD_180__", + "_id": "__REQ_4433__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-a-check-run", @@ -4780,8 +6577,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1234__", + "parentId": "__FLD_180__", + "_id": "__REQ_4434__", "_type": "request", "name": "List check run annotations", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-run-annotations", @@ -4807,8 +6604,24 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1235__", + "parentId": "__FLD_180__", + "_id": "__REQ_4435__", + "_type": "request", + "name": "Rerequest a check run", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#rerequest-a-check-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_180__", + "_id": "__REQ_4436__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/github-ae@latest/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite", @@ -4823,8 +6636,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1236__", + "parentId": "__FLD_180__", + "_id": "__REQ_4437__", "_type": "request", "name": "Update repository preferences for check suites", "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/github-ae@latest/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#update-repository-preferences-for-check-suites", @@ -4839,8 +6652,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1237__", + "parentId": "__FLD_180__", + "_id": "__REQ_4438__", "_type": "request", "name": "Get a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#get-a-check-suite", @@ -4855,8 +6668,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1238__", + "parentId": "__FLD_180__", + "_id": "__REQ_4439__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-in-a-check-suite", @@ -4895,27 +6708,266 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1239__", + "parentId": "__FLD_180__", + "_id": "__REQ_4440__", + "_type": "request", + "name": "Rerequest a check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#rerequest-a-check-suite", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4441__", + "_type": "request", + "name": "List code scanning alerts for a repository", + "description": "Lists all open code scanning alerts for the default branch (usually `main`\nor `master`). You must use an access token with the `security_events` scope to use\nthis endpoint. GitHub Apps must have the `security_events` read permission to use\nthis endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch or for the specified Git reference\n(if you used `ref` in the request).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "state", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4442__", + "_type": "request", + "name": "Get a code scanning alert", + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe instances field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The same information can now be retrieved via a GET request to the URL specified by `instances_url`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#get-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4443__", + "_type": "request", + "name": "Update a code scanning alert", + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#update-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4444__", + "_type": "request", + "name": "List instances of a code scanning alert", + "description": "Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/alerts/{{ alert_number }}/instances", + "body": {}, + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4445__", + "_type": "request", + "name": "List code scanning analyses for a repository", + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses", + "body": {}, + "parameters": [ + { + "name": "tool_name", + "disabled": false + }, + { + "name": "tool_guid", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "ref", + "disabled": false + }, + { + "name": "sarif_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4446__", + "_type": "request", + "name": "Get a code scanning analysis for a repository", + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4447__", + "_type": "request", + "name": "Delete a code scanning analysis from a repository", + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/analyses/{{ analysis_id }}", + "body": {}, + "parameters": [ + { + "name": "confirm_delete", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4448__", + "_type": "request", + "name": "Upload an analysis as SARIF data", + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#upload-a-sarif-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_181__", + "_id": "__REQ_4449__", + "_type": "request", + "name": "Get information about a SARIF upload", + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/code-scanning/sarifs/{{ sarif_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4450__", "_type": "request", - "name": "Rerequest a check suite", - "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#rerequest-a-check-suite", + "name": "List CODEOWNERS errors", + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-codeowners-errors", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/codeowners/errors", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1240__", + "parentId": "__FLD_198__", + "_id": "__REQ_4451__", "_type": "request", "name": "List repository collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/collaborators#list-repository-collaborators", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4943,11 +6995,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1241__", + "parentId": "__FLD_198__", + "_id": "__REQ_4452__", "_type": "request", "name": "Check if a user is a repository collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4959,11 +7011,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1242__", + "parentId": "__FLD_198__", + "_id": "__REQ_4453__", "_type": "request", "name": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/github-ae@latest/rest/reference/repos#invitations).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#add-a-repository-collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/github-ae@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/github-ae@latest/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/github-ae@latest/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/collaborators#add-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4975,11 +7027,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1243__", + "parentId": "__FLD_198__", + "_id": "__REQ_4454__", "_type": "request", "name": "Remove a repository collaborator", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#remove-a-repository-collaborator", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/collaborators#remove-a-repository-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4991,11 +7043,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1244__", + "parentId": "__FLD_198__", + "_id": "__REQ_4455__", "_type": "request", "name": "Get repository permissions for a user", - "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-permissions-for-a-user", + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5007,17 +7059,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1245__", + "parentId": "__FLD_198__", + "_id": "__REQ_4456__", "_type": "request", "name": "List commit comments for a repository", - "description": "Commit Comments use [these custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/github-ae@latest/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "Commit Comments use [these custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/github-ae@latest/rest/overview/media-types/).\n\nComments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#list-commit-comments-for-a-repository", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5039,17 +7086,12 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1246__", + "parentId": "__FLD_198__", + "_id": "__REQ_4457__", "_type": "request", "name": "Get a commit comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#get-a-commit-comment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5060,11 +7102,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1247__", + "parentId": "__FLD_198__", + "_id": "__REQ_4458__", "_type": "request", "name": "Update a commit comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-commit-comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#update-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5076,11 +7118,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1248__", + "parentId": "__FLD_198__", + "_id": "__REQ_4459__", "_type": "request", "name": "Delete a commit comment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-commit-comment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#delete-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5092,11 +7134,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1249__", + "parentId": "__FLD_197__", + "_id": "__REQ_4460__", "_type": "request", "name": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-commit-comment", + "description": "List the reactions to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -5128,11 +7170,11 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1250__", + "parentId": "__FLD_197__", + "_id": "__REQ_4461__", "_type": "request", "name": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-commit-comment", "headers": [ { "name": "Accept", @@ -5149,11 +7191,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1251__", + "parentId": "__FLD_197__", + "_id": "__REQ_4462__", "_type": "request", "name": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-commit-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/github-ae@latest/rest/reference/repos#comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-a-commit-comment-reaction", "headers": [ { "name": "Accept", @@ -5170,11 +7212,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1252__", + "parentId": "__FLD_198__", + "_id": "__REQ_4463__", "_type": "request", "name": "List commits", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/commits/commits#list-commits", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5217,17 +7259,12 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1253__", + "parentId": "__FLD_198__", + "_id": "__REQ_4464__", "_type": "request", "name": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-branches-for-head-commit", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.groot-preview+json" - } - ], + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/commits#list-branches-for-head-commit", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5238,17 +7275,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1254__", + "parentId": "__FLD_198__", + "_id": "__REQ_4465__", "_type": "request", "name": "List commit comments", - "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#list-commit-comments", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5270,11 +7302,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1255__", + "parentId": "__FLD_198__", + "_id": "__REQ_4466__", "_type": "request", "name": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/comments#create-a-commit-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5286,17 +7318,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1256__", + "parentId": "__FLD_198__", + "_id": "__REQ_4467__", "_type": "request", "name": "List pull requests associated with a commit", - "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-pull-requests-associated-with-a-commit", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.groot-preview+json" - } - ], + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open pull requests associated with the commit. The results may include open and closed pull requests.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -5318,11 +7345,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1257__", + "parentId": "__FLD_198__", + "_id": "__REQ_4468__", "_type": "request", "name": "Get a commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/commits/commits#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5331,11 +7358,22 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1258__", + "parentId": "__FLD_180__", + "_id": "__REQ_4469__", "_type": "request", "name": "List check runs for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-runs-for-a-git-reference", @@ -5370,12 +7408,16 @@ "name": "page", "value": 1, "disabled": false + }, + { + "name": "app_id", + "disabled": false } ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1259__", + "parentId": "__FLD_180__", + "_id": "__REQ_4470__", "_type": "request", "name": "List check suites for a Git reference", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/checks#list-check-suites-for-a-git-reference", @@ -5409,11 +7451,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1260__", + "parentId": "__FLD_198__", + "_id": "__REQ_4471__", "_type": "request", "name": "Get the combined status for a specific reference", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://docs.github.com/github-ae@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5422,14 +7464,25 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1261__", + "parentId": "__FLD_198__", + "_id": "__REQ_4472__", "_type": "request", "name": "List commit statuses for a reference", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-statuses-for-a-reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/statuses#list-commit-statuses-for-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5452,45 +7505,35 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1262__", - "_type": "request", - "name": "Get the code of conduct for a repository", - "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.\n\nhttps://docs.github.com/github-ae@latest/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.scarlet-witch-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_68__", - "_id": "__REQ_1263__", + "parentId": "__FLD_198__", + "_id": "__REQ_4473__", "_type": "request", "name": "Compare two commits", - "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#compare-two-commits", + "description": "The `basehead` param is comprised of two parts: `base` and `head`. Both must be branch names in `repo`. To compare branches across other repositories in the same network as `repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, you can use (`per_page` or `page`) to paginate the results. When using paging, the list of changed files is only returned with page 1, but includes all changed files for the entire comparison. For more information on working with pagination, see \"[Traversing with pagination](/rest/guides/traversing-with-pagination).\"\n\nWhen calling this API without any paging parameters (`per_page` or `page`), the returned list is limited to 250 commits and the last commit in the list is the most recent of the entire comparison. When a paging parameter is specified, the first commit in the returned list of each page is the earliest.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/commits/commits#compare-two-commits", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ basehead }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1264__", + "parentId": "__FLD_198__", + "_id": "__REQ_4474__", "_type": "request", "name": "Get repository content", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/github-ae@latest/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content", @@ -5510,8 +7553,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1265__", + "parentId": "__FLD_198__", + "_id": "__REQ_4475__", "_type": "request", "name": "Create or update file contents", "description": "Creates a new file or replaces an existing file in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-or-update-file-contents", @@ -5526,8 +7569,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1266__", + "parentId": "__FLD_198__", + "_id": "__REQ_4476__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-file", @@ -5542,11 +7585,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1267__", + "parentId": "__FLD_198__", + "_id": "__REQ_4477__", "_type": "request", "name": "List repository contributors", - "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-contributors", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5573,45 +7616,190 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1268__", + "parentId": "__FLD_198__", + "_id": "__REQ_4478__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4479__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub AE we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/github-ae@latest/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4480__", + "_type": "request", + "name": "Get a deployment", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4481__", + "_type": "request", + "name": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/github-ae@latest/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4482__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployment-statuses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4483__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4484__", + "_type": "request", + "name": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4485__", + "_type": "request", + "name": "Create a repository dispatch event", + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub AE to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-dispatch-event", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/dispatches", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4486__", "_type": "request", - "name": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/environments#list-environments", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments", "body": {}, "parameters": [ - { - "name": "sha", - "value": "none", - "disabled": false - }, - { - "name": "ref", - "value": "none", - "disabled": false - }, - { - "name": "task", - "value": "none", - "disabled": false - }, - { - "name": "environment", - "value": "none", - "disabled": false - }, { "name": "per_page", "value": 30, @@ -5625,81 +7813,66 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1269__", + "parentId": "__FLD_198__", + "_id": "__REQ_4487__", "_type": "request", - "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub AE we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/github-ae@latest/rest/reference/repos#statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-an-environment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1270__", + "parentId": "__FLD_198__", + "_id": "__REQ_4488__", "_type": "request", - "name": "Get a deployment", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.ant-man-preview+json" - } - ], + "name": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-or-update-an-environment", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1271__", + "parentId": "__FLD_198__", + "_id": "__REQ_4489__", "_type": "request", - "name": "Delete a deployment", - "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/github-ae@latest/rest/reference/repos/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deployment", + "name": "Delete an environment", + "description": "You must authenticate using an access token with the repo scope to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-an-environment", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1272__", + "parentId": "__FLD_198__", + "_id": "__REQ_4490__", "_type": "request", - "name": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deployment-statuses", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/branch-policies#list-deployment-branch-policies", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", "body": {}, "parameters": [ { @@ -5715,50 +7888,72 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1273__", + "parentId": "__FLD_198__", + "_id": "__REQ_4491__", "_type": "request", - "name": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Create a deployment branch policy", + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/branch-policies#create-deployment-branch-policy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1274__", + "parentId": "__FLD_198__", + "_id": "__REQ_4492__", "_type": "request", - "name": "Get a deployment status", - "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deployment-status", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" - } - ], + "name": "Get a deployment branch policy", + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/branch-policies#get-deployment-branch-policy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4493__", + "_type": "request", + "name": "Update a deployment branch policy", + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/branch-policies#update-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4494__", + "_type": "request", + "name": "Delete a deployment branch policy", + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/deployments/branch-policies#delete-deployment-branch-policy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/environments/{{ environment_name }}/deployment-branch-policies/{{ branch_policy_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1275__", + "parentId": "__FLD_178__", + "_id": "__REQ_4495__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-events", @@ -5784,8 +7979,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1276__", + "parentId": "__FLD_198__", + "_id": "__REQ_4496__", "_type": "request", "name": "List forks", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-forks", @@ -5816,11 +8011,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1277__", + "parentId": "__FLD_198__", + "_id": "__REQ_4497__", "_type": "request", "name": "Create a fork", - "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub AE Support](https://support.github.com/contact) or [GitHub AE Premium Support](https://premium.githubsupport.com).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub AE Support](https://support.github.com/contact?tags=dotcom-rest-api).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-fork", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5832,8 +8027,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1278__", + "parentId": "__FLD_186__", + "_id": "__REQ_4498__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-blob", @@ -5848,8 +8043,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1279__", + "parentId": "__FLD_186__", + "_id": "__REQ_4499__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-blob", @@ -5864,11 +8059,11 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1280__", + "parentId": "__FLD_186__", + "_id": "__REQ_4500__", "_type": "request", "name": "Create a commit", - "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5880,11 +8075,11 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1281__", + "parentId": "__FLD_186__", + "_id": "__REQ_4501__", "_type": "request", "name": "Get a commit", - "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-commit", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5896,8 +8091,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1282__", + "parentId": "__FLD_186__", + "_id": "__REQ_4502__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#list-matching-references", @@ -5909,22 +8104,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1283__", + "parentId": "__FLD_186__", + "_id": "__REQ_4503__", "_type": "request", "name": "Get a reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-reference", @@ -5939,8 +8123,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1284__", + "parentId": "__FLD_186__", + "_id": "__REQ_4504__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference", @@ -5955,8 +8139,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1285__", + "parentId": "__FLD_186__", + "_id": "__REQ_4505__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference", @@ -5971,8 +8155,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1286__", + "parentId": "__FLD_186__", + "_id": "__REQ_4506__", "_type": "request", "name": "Delete a reference", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#delete-a-reference", @@ -5987,8 +8171,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1287__", + "parentId": "__FLD_186__", + "_id": "__REQ_4507__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tag-object", @@ -6003,8 +8187,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1288__", + "parentId": "__FLD_186__", + "_id": "__REQ_4508__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tag", @@ -6019,11 +8203,11 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1289__", + "parentId": "__FLD_186__", + "_id": "__REQ_4509__", "_type": "request", "name": "Create a tree", - "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/github-ae@latest/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/github-ae@latest/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#create-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6035,8 +8219,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1290__", + "parentId": "__FLD_186__", + "_id": "__REQ_4510__", "_type": "request", "name": "Get a tree", "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree", @@ -6056,11 +8240,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1291__", + "parentId": "__FLD_198__", + "_id": "__REQ_4511__", "_type": "request", "name": "List repository webhooks", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-webhooks", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#list-repository-webhooks", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6083,11 +8267,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1292__", + "parentId": "__FLD_198__", + "_id": "__REQ_4512__", "_type": "request", "name": "Create a repository webhook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#create-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6099,11 +8283,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1293__", + "parentId": "__FLD_198__", + "_id": "__REQ_4513__", "_type": "request", "name": "Get a repository webhook", - "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#get-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6115,11 +8299,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1294__", + "parentId": "__FLD_198__", + "_id": "__REQ_4514__", "_type": "request", "name": "Update a repository webhook", - "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#update-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6131,11 +8315,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1295__", + "parentId": "__FLD_198__", + "_id": "__REQ_4515__", "_type": "request", "name": "Delete a repository webhook", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-webhook", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#delete-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6147,11 +8331,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1296__", + "parentId": "__FLD_198__", + "_id": "__REQ_4516__", "_type": "request", "name": "Get a webhook configuration for a repository", - "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#get-a-webhook-configuration-for-a-repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6163,11 +8347,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1297__", + "parentId": "__FLD_198__", + "_id": "__REQ_4517__", "_type": "request", "name": "Update a webhook configuration for a repository", - "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/v3/repos#update-a-webhook-configuration-for-a-repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6179,11 +8363,69 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1298__", + "parentId": "__FLD_198__", + "_id": "__REQ_4518__", + "_type": "request", + "name": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "cursor", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4519__", + "_type": "request", + "name": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4520__", + "_type": "request", + "name": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/deliveries/{{ delivery_id }}/attempts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4521__", "_type": "request", "name": "Ping a repository webhook", - "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#ping-a-repository-webhook", + "description": "This will trigger a [ping event](https://docs.github.com/github-ae@latest/webhooks/#ping-event) to be sent to the hook.\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#ping-a-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6195,11 +8437,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1299__", + "parentId": "__FLD_198__", + "_id": "__REQ_4522__", "_type": "request", "name": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#test-the-push-repository-webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://docs.github.com/github-ae@latest/rest/webhooks/repos#test-the-push-repository-webhook", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6211,11 +8453,11 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1300__", + "parentId": "__FLD_179__", + "_id": "__REQ_4523__", "_type": "request", "name": "Get a repository installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6227,11 +8469,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1301__", + "parentId": "__FLD_198__", + "_id": "__REQ_4524__", "_type": "request", "name": "List repository invitations", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#list-repository-invitations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6254,11 +8496,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1302__", + "parentId": "__FLD_198__", + "_id": "__REQ_4525__", "_type": "request", "name": "Update a repository invitation", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#update-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6270,11 +8512,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1303__", + "parentId": "__FLD_198__", + "_id": "__REQ_4526__", "_type": "request", "name": "Delete a repository invitation", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#delete-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6286,17 +8528,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1304__", + "parentId": "__FLD_188__", + "_id": "__REQ_4527__", "_type": "request", "name": "List repository issues", - "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-repository-issues", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-repository-issues", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6357,11 +8594,11 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1305__", + "parentId": "__FLD_188__", + "_id": "__REQ_4528__", "_type": "request", "name": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#create-an-issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6373,17 +8610,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1306__", + "parentId": "__FLD_188__", + "_id": "__REQ_4529__", "_type": "request", "name": "List issue comments for a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6418,17 +8650,12 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1307__", + "parentId": "__FLD_188__", + "_id": "__REQ_4530__", "_type": "request", "name": "Get an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-comment", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6439,8 +8666,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1308__", + "parentId": "__FLD_188__", + "_id": "__REQ_4531__", "_type": "request", "name": "Update an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-an-issue-comment", @@ -6455,8 +8682,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1309__", + "parentId": "__FLD_188__", + "_id": "__REQ_4532__", "_type": "request", "name": "Delete an issue comment", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-an-issue-comment", @@ -6471,11 +8698,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1310__", + "parentId": "__FLD_197__", + "_id": "__REQ_4533__", "_type": "request", "name": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue-comment", + "description": "List the reactions to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6507,11 +8734,11 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1311__", + "parentId": "__FLD_197__", + "_id": "__REQ_4534__", "_type": "request", "name": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-an-issue-comment", "headers": [ { "name": "Accept", @@ -6528,11 +8755,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1312__", + "parentId": "__FLD_197__", + "_id": "__REQ_4535__", "_type": "request", "name": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-an-issue-comment-reaction", "headers": [ { "name": "Accept", @@ -6549,17 +8776,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1313__", + "parentId": "__FLD_188__", + "_id": "__REQ_4536__", "_type": "request", "name": "List issue events for a repository", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events-for-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6581,17 +8803,12 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1314__", + "parentId": "__FLD_188__", + "_id": "__REQ_4537__", "_type": "request", "name": "Get an issue event", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue-event", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6602,17 +8819,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1315__", + "parentId": "__FLD_188__", + "_id": "__REQ_4538__", "_type": "request", "name": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#get-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/github-ae@latest/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-an-issue", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6623,11 +8835,11 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1316__", + "parentId": "__FLD_188__", + "_id": "__REQ_4539__", "_type": "request", "name": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#update-an-issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6639,8 +8851,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1317__", + "parentId": "__FLD_188__", + "_id": "__REQ_4540__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-assignees-to-an-issue", @@ -6655,8 +8867,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1318__", + "parentId": "__FLD_188__", + "_id": "__REQ_4541__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue", @@ -6671,17 +8883,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1319__", + "parentId": "__FLD_188__", + "_id": "__REQ_4542__", "_type": "request", "name": "List issue comments", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-comments", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6707,11 +8914,11 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1320__", + "parentId": "__FLD_188__", + "_id": "__REQ_4543__", "_type": "request", "name": "Create an issue comment", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6723,17 +8930,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1321__", + "parentId": "__FLD_188__", + "_id": "__REQ_4544__", "_type": "request", "name": "List issue events", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-issue-events", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6755,8 +8957,8 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1322__", + "parentId": "__FLD_188__", + "_id": "__REQ_4545__", "_type": "request", "name": "List labels for an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-an-issue", @@ -6782,8 +8984,8 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1323__", + "parentId": "__FLD_188__", + "_id": "__REQ_4546__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#add-labels-to-an-issue", @@ -6798,8 +9000,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1324__", + "parentId": "__FLD_188__", + "_id": "__REQ_4547__", "_type": "request", "name": "Set labels for an issue", "description": "Removes any previous labels and sets the new labels for an issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#set-labels-for-an-issue", @@ -6814,8 +9016,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1325__", + "parentId": "__FLD_188__", + "_id": "__REQ_4548__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-all-labels-from-an-issue", @@ -6830,8 +9032,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1326__", + "parentId": "__FLD_188__", + "_id": "__REQ_4549__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#remove-a-label-from-an-issue", @@ -6846,11 +9048,11 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1327__", + "parentId": "__FLD_188__", + "_id": "__REQ_4550__", "_type": "request", "name": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#lock-an-issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#lock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6862,11 +9064,11 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1328__", + "parentId": "__FLD_188__", + "_id": "__REQ_4551__", "_type": "request", "name": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#unlock-an-issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#unlock-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6878,11 +9080,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1329__", + "parentId": "__FLD_197__", + "_id": "__REQ_4552__", "_type": "request", "name": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-an-issue", + "description": "List the reactions to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-an-issue", "headers": [ { "name": "Accept", @@ -6914,11 +9116,11 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1330__", + "parentId": "__FLD_197__", + "_id": "__REQ_4553__", "_type": "request", "name": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-an-issue", "headers": [ { "name": "Accept", @@ -6935,11 +9137,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1331__", + "parentId": "__FLD_197__", + "_id": "__REQ_4554__", "_type": "request", "name": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-an-issue-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/github-ae@latest/rest/reference/issues/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-an-issue-reaction", "headers": [ { "name": "Accept", @@ -6956,17 +9158,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1332__", + "parentId": "__FLD_188__", + "_id": "__REQ_4555__", "_type": "request", "name": "List timeline events for an issue", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-timeline-events-for-an-issue", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -6988,8 +9185,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1333__", + "parentId": "__FLD_198__", + "_id": "__REQ_4556__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-deploy-keys", @@ -7015,8 +9212,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1334__", + "parentId": "__FLD_198__", + "_id": "__REQ_4557__", "_type": "request", "name": "Create a deploy key", "description": "You can create a read-only deploy key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-deploy-key", @@ -7031,8 +9228,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1335__", + "parentId": "__FLD_198__", + "_id": "__REQ_4558__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-deploy-key", @@ -7047,8 +9244,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1336__", + "parentId": "__FLD_198__", + "_id": "__REQ_4559__", "_type": "request", "name": "Delete a deploy key", "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-deploy-key", @@ -7063,8 +9260,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1337__", + "parentId": "__FLD_188__", + "_id": "__REQ_4560__", "_type": "request", "name": "List labels for a repository", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-a-repository", @@ -7090,8 +9287,8 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1338__", + "parentId": "__FLD_188__", + "_id": "__REQ_4561__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-label", @@ -7106,8 +9303,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1339__", + "parentId": "__FLD_188__", + "_id": "__REQ_4562__", "_type": "request", "name": "Get a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-label", @@ -7122,8 +9319,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1340__", + "parentId": "__FLD_188__", + "_id": "__REQ_4563__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-label", @@ -7138,8 +9335,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1341__", + "parentId": "__FLD_188__", + "_id": "__REQ_4564__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-label", @@ -7154,11 +9351,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1342__", + "parentId": "__FLD_198__", + "_id": "__REQ_4565__", "_type": "request", "name": "List repository languages", - "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-languages", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7170,11 +9367,43 @@ "parameters": [] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1343__", + "parentId": "__FLD_198__", + "_id": "__REQ_4566__", + "_type": "request", + "name": "Enable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#enable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4567__", + "_type": "request", + "name": "Disable Git LFS for a repository", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#disable-git-lfs-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/lfs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_189__", + "_id": "__REQ_4568__", "_type": "request", "name": "Get the license for a repository", - "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/github-ae@latest/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/github-ae@latest/v3/licenses/#get-the-license-for-a-repository", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/github-ae@latest/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/licenses/#get-the-license-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7186,8 +9415,24 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1344__", + "parentId": "__FLD_198__", + "_id": "__REQ_4569__", + "_type": "request", + "name": "Sync a fork branch with the upstream repository", + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merge-upstream", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4570__", "_type": "request", "name": "Merge a branch", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#merge-a-branch", @@ -7202,8 +9447,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1345__", + "parentId": "__FLD_188__", + "_id": "__REQ_4571__", "_type": "request", "name": "List milestones", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-milestones", @@ -7244,8 +9489,8 @@ ] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1346__", + "parentId": "__FLD_188__", + "_id": "__REQ_4572__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#create-a-milestone", @@ -7260,8 +9505,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1347__", + "parentId": "__FLD_188__", + "_id": "__REQ_4573__", "_type": "request", "name": "Get a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#get-a-milestone", @@ -7276,8 +9521,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1348__", + "parentId": "__FLD_188__", + "_id": "__REQ_4574__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#update-a-milestone", @@ -7292,8 +9537,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1349__", + "parentId": "__FLD_188__", + "_id": "__REQ_4575__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#delete-a-milestone", @@ -7308,8 +9553,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1350__", + "parentId": "__FLD_188__", + "_id": "__REQ_4576__", "_type": "request", "name": "List labels for issues in a milestone", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-labels-for-issues-in-a-milestone", @@ -7335,8 +9580,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1351__", + "parentId": "__FLD_178__", + "_id": "__REQ_4577__", "_type": "request", "name": "List repository notifications for the authenticated user", "description": "List all notifications for the current user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", @@ -7380,8 +9625,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1352__", + "parentId": "__FLD_178__", + "_id": "__REQ_4578__", "_type": "request", "name": "Mark repository notifications as read", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub AE](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub AE will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#mark-repository-notifications-as-read", @@ -7396,11 +9641,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1353__", + "parentId": "__FLD_198__", + "_id": "__REQ_4579__", "_type": "request", "name": "Get a GitHub AE Pages site", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-github-pages-site", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/pages#get-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7412,17 +9657,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1354__", - "_type": "request", - "name": "Create a GitHub AE Pages site", - "description": "Configures a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-github-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" - } - ], + "parentId": "__FLD_198__", + "_id": "__REQ_4580__", + "_type": "request", + "name": "Create a GitHub AE Pages site", + "description": "Configures a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nhttps://docs.github.com/github-ae@latest/rest/pages#create-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7433,11 +9673,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1355__", + "parentId": "__FLD_198__", + "_id": "__REQ_4581__", "_type": "request", "name": "Update information about a GitHub AE Pages site", - "description": "Updates information for a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-information-about-a-github-pages-site", + "description": "Updates information for a GitHub AE Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nhttps://docs.github.com/github-ae@latest/rest/pages#update-information-about-a-github-pages-site", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7449,17 +9689,12 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1356__", + "parentId": "__FLD_198__", + "_id": "__REQ_4582__", "_type": "request", "name": "Delete a GitHub AE Pages site", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-github-pages-site", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.switcheroo-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/pages#delete-a-github-pages-site", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7470,11 +9705,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1357__", + "parentId": "__FLD_198__", + "_id": "__REQ_4583__", "_type": "request", "name": "List GitHub AE Pages builds", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-github-pages-builds", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/pages#list-github-pages-builds", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7497,11 +9732,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1358__", + "parentId": "__FLD_198__", + "_id": "__REQ_4584__", "_type": "request", "name": "Request a GitHub AE Pages build", - "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#request-a-github-pages-build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://docs.github.com/github-ae@latest/rest/pages#request-a-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7513,11 +9748,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1359__", + "parentId": "__FLD_198__", + "_id": "__REQ_4585__", "_type": "request", "name": "Get latest Pages build", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-latest-pages-build", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/pages#get-latest-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7529,11 +9764,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1360__", + "parentId": "__FLD_198__", + "_id": "__REQ_4586__", "_type": "request", "name": "Get GitHub AE Pages build", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-github-pages-build", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/pages#get-github-pages-build", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7545,17 +9780,12 @@ "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1361__", + "parentId": "__FLD_194__", + "_id": "__REQ_4587__", "_type": "request", "name": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-repository-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-repository-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7582,17 +9812,12 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1362__", + "parentId": "__FLD_194__", + "_id": "__REQ_4588__", "_type": "request", "name": "Create a repository project", - "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-repository-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-repository-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7603,11 +9828,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1363__", + "parentId": "__FLD_195__", + "_id": "__REQ_4589__", "_type": "request", "name": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7652,11 +9877,11 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1364__", + "parentId": "__FLD_195__", + "_id": "__REQ_4590__", "_type": "request", "name": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#create-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7668,17 +9893,12 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1365__", + "parentId": "__FLD_195__", + "_id": "__REQ_4591__", "_type": "request", "name": "List review comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-in-a-repository", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7689,7 +9909,6 @@ "parameters": [ { "name": "sort", - "value": "created", "disabled": false }, { @@ -7713,17 +9932,12 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1366__", + "parentId": "__FLD_195__", + "_id": "__REQ_4592__", "_type": "request", "name": "Get a review comment for a pull request", "description": "Provides details for a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7734,17 +9948,12 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1367__", + "parentId": "__FLD_195__", + "_id": "__REQ_4593__", "_type": "request", "name": "Update a review comment for a pull request", "description": "Enables you to edit a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7755,8 +9964,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1368__", + "parentId": "__FLD_195__", + "_id": "__REQ_4594__", "_type": "request", "name": "Delete a review comment for a pull request", "description": "Deletes a review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", @@ -7771,11 +9980,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1369__", + "parentId": "__FLD_197__", + "_id": "__REQ_4595__", "_type": "request", "name": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "description": "List the reactions to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7807,11 +10016,11 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1370__", + "parentId": "__FLD_197__", + "_id": "__REQ_4596__", "_type": "request", "name": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "headers": [ { "name": "Accept", @@ -7828,11 +10037,11 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1371__", + "parentId": "__FLD_197__", + "_id": "__REQ_4597__", "_type": "request", "name": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#delete-a-pull-request-comment-reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/github-ae@latest/rest/reference/pulls#review-comments).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions#delete-a-pull-request-comment-reaction", "headers": [ { "name": "Accept", @@ -7849,11 +10058,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1372__", + "parentId": "__FLD_195__", + "_id": "__REQ_4598__", "_type": "request", "name": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/github-ae@latest/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-pull-request) a pull request, GitHub AE creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub AE has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#get-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/github-ae@latest/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-pull-request) a pull request, GitHub AE creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub AE has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7865,11 +10074,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1373__", + "parentId": "__FLD_195__", + "_id": "__REQ_4599__", "_type": "request", "name": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls/#update-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7881,17 +10090,12 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1374__", + "parentId": "__FLD_195__", + "_id": "__REQ_4600__", "_type": "request", "name": "List review comments on a pull request", "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-review-comments-on-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json,application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7926,17 +10130,12 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1375__", + "parentId": "__FLD_195__", + "_id": "__REQ_4601__", "_type": "request", "name": "Create a review comment for a pull request", - "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see the [`comfort-fade` preview notice](https://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request-preview-notices).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.comfort-fade-preview+json" - } - ], + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/github-ae@latest/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-comment-for-a-pull-request", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -7947,11 +10146,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1376__", + "parentId": "__FLD_195__", + "_id": "__REQ_4602__", "_type": "request", "name": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-reply-for-a-review-comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-reply-for-a-review-comment", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7963,11 +10162,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1377__", + "parentId": "__FLD_195__", + "_id": "__REQ_4603__", "_type": "request", "name": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-commits-on-a-pull-request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-commits-on-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7990,11 +10189,11 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1378__", + "parentId": "__FLD_195__", + "_id": "__REQ_4604__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8017,11 +10216,11 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1379__", + "parentId": "__FLD_195__", + "_id": "__REQ_4605__", "_type": "request", "name": "Check if a pull request has been merged", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#check-if-a-pull-request-has-been-merged", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8033,11 +10232,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1380__", + "parentId": "__FLD_195__", + "_id": "__REQ_4606__", "_type": "request", "name": "Merge a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#merge-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#merge-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8049,11 +10248,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1381__", + "parentId": "__FLD_195__", + "_id": "__REQ_4607__", "_type": "request", - "name": "List requested reviewers for a pull request", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "name": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/github-ae@latest/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8062,25 +10261,14 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1382__", + "parentId": "__FLD_195__", + "_id": "__REQ_4608__", "_type": "request", "name": "Request reviewers for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#request-reviewers-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/github-ae@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#request-reviewers-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8092,8 +10280,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1383__", + "parentId": "__FLD_195__", + "_id": "__REQ_4609__", "_type": "request", "name": "Remove requested reviewers from a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", @@ -8108,8 +10296,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1384__", + "parentId": "__FLD_195__", + "_id": "__REQ_4610__", "_type": "request", "name": "List reviews for a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-reviews-for-a-pull-request", @@ -8135,11 +10323,11 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1385__", + "parentId": "__FLD_195__", + "_id": "__REQ_4611__", "_type": "request", "name": "Create a review for a pull request", - "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state do not include the `submitted_at` property in the response.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-for-a-pull-request", + "description": "This endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/github-ae@latest/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#create-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8151,8 +10339,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1386__", + "parentId": "__FLD_195__", + "_id": "__REQ_4612__", "_type": "request", "name": "Get a review for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#get-a-review-for-a-pull-request", @@ -8167,8 +10355,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1387__", + "parentId": "__FLD_195__", + "_id": "__REQ_4613__", "_type": "request", "name": "Update a review for a pull request", "description": "Update the review summary comment with new text.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-review-for-a-pull-request", @@ -8183,8 +10371,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1388__", + "parentId": "__FLD_195__", + "_id": "__REQ_4614__", "_type": "request", "name": "Delete a pending review for a pull request", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", @@ -8199,8 +10387,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1389__", + "parentId": "__FLD_195__", + "_id": "__REQ_4615__", "_type": "request", "name": "List comments for a pull request review", "description": "List comments for a specific pull request review.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#list-comments-for-a-pull-request-review", @@ -8226,8 +10414,8 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1390__", + "parentId": "__FLD_195__", + "_id": "__REQ_4616__", "_type": "request", "name": "Dismiss a review for a pull request", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/github-ae@latest/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#dismiss-a-review-for-a-pull-request", @@ -8242,11 +10430,11 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1391__", + "parentId": "__FLD_195__", + "_id": "__REQ_4617__", "_type": "request", "name": "Submit a review for a pull request", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#submit-a-review-for-a-pull-request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/github-ae@latest/rest/pulls#create-a-review-for-a-pull-request).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#submit-a-review-for-a-pull-request", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8258,17 +10446,12 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1392__", + "parentId": "__FLD_195__", + "_id": "__REQ_4618__", "_type": "request", "name": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/github-ae@latest/v3/pulls/#update-a-pull-request-branch", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.lydian-preview+json" - } - ], + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/pulls#update-a-pull-request-branch", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -8279,8 +10462,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1393__", + "parentId": "__FLD_198__", + "_id": "__REQ_4619__", "_type": "request", "name": "Get a repository README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-readme", @@ -8300,8 +10483,29 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1394__", + "parentId": "__FLD_198__", + "_id": "__REQ_4620__", + "_type": "request", + "name": "Get a repository README for a directory", + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-directory-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme/{{ dir }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4621__", "_type": "request", "name": "List releases", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-releases", @@ -8327,11 +10531,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1395__", + "parentId": "__FLD_198__", + "_id": "__REQ_4622__", "_type": "request", "name": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8343,8 +10547,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1396__", + "parentId": "__FLD_198__", + "_id": "__REQ_4623__", "_type": "request", "name": "Get a release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/github-ae@latest/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-asset", @@ -8359,8 +10563,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1397__", + "parentId": "__FLD_198__", + "_id": "__REQ_4624__", "_type": "request", "name": "Update a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release-asset", @@ -8375,8 +10579,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1398__", + "parentId": "__FLD_198__", + "_id": "__REQ_4625__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release-asset", @@ -8391,8 +10595,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1399__", + "parentId": "__FLD_198__", + "_id": "__REQ_4626__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-latest-release", @@ -8407,8 +10611,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1400__", + "parentId": "__FLD_198__", + "_id": "__REQ_4627__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release-by-tag-name", @@ -8423,8 +10627,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1401__", + "parentId": "__FLD_198__", + "_id": "__REQ_4628__", "_type": "request", "name": "Get a release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-a-release", @@ -8439,8 +10643,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1402__", + "parentId": "__FLD_198__", + "_id": "__REQ_4629__", "_type": "request", "name": "Update a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release", @@ -8455,8 +10659,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1403__", + "parentId": "__FLD_198__", + "_id": "__REQ_4630__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-release", @@ -8471,8 +10675,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1404__", + "parentId": "__FLD_198__", + "_id": "__REQ_4631__", "_type": "request", "name": "List release assets", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-release-assets", @@ -8498,11 +10702,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1405__", + "parentId": "__FLD_198__", + "_id": "__REQ_4632__", "_type": "request", "name": "Upload a release asset", - "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub AE expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub AE renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/github-ae@latest/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub AE Support](https://support.github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#upload-a-release-asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub AE expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub AE renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/github-ae@latest/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub AE Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#upload-a-release-asset", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8523,8 +10727,157 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1406__", + "parentId": "__FLD_197__", + "_id": "__REQ_4633__", + "_type": "request", + "name": "List reactions for a release", + "description": "List the reactions to a [release](https://docs.github.com/github-ae@latest/rest/reference/repos#releases).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions/#list-reactions-for-a-release", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4634__", + "_type": "request", + "name": "Create reaction for a release", + "description": "Create a reaction to a [release](https://docs.github.com/github-ae@latest/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions/#create-reaction-for-a-release", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_197__", + "_id": "__REQ_4635__", + "_type": "request", + "name": "Delete a release reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/github-ae@latest/rest/reference/repos#releases).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/reactions/#delete-a-release-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4636__", + "_type": "request", + "name": "List secret scanning alerts for a repository", + "description": "Lists secret scanning alerts for a private repository, from newest to oldest. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "secret_type", + "disabled": false + }, + { + "name": "resolution", + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4637__", + "_type": "request", + "name": "Get a secret scanning alert", + "description": "Gets a single secret scanning alert detected in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/secret-scanning#get-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_200__", + "_id": "__REQ_4638__", + "_type": "request", + "name": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/secret-scanning/alerts/{{ alert_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_178__", + "_id": "__REQ_4639__", "_type": "request", "name": "List stargazers", "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-stargazers", @@ -8550,11 +10903,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1407__", + "parentId": "__FLD_198__", + "_id": "__REQ_4640__", "_type": "request", "name": "Get the weekly commit activity", - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-activity", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\nhttps://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-weekly-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8566,11 +10919,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1408__", + "parentId": "__FLD_198__", + "_id": "__REQ_4641__", "_type": "request", "name": "Get the last year of commit activity", - "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-last-year-of-commit-activity", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\nhttps://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8582,11 +10935,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1409__", + "parentId": "__FLD_198__", + "_id": "__REQ_4642__", "_type": "request", "name": "Get all contributor commit activity", - "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-contributor-commit-activity", + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\nhttps://docs.github.com/github-ae@latest/rest/metrics/statistics#get-all-contributor-commit-activity", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8598,11 +10951,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1410__", + "parentId": "__FLD_198__", + "_id": "__REQ_4643__", "_type": "request", "name": "Get the weekly commit count", - "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-count", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\nhttps://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-weekly-commit-count", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8614,11 +10967,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1411__", + "parentId": "__FLD_198__", + "_id": "__REQ_4644__", "_type": "request", "name": "Get the hourly commit count for each day", - "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://docs.github.com/github-ae@latest/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8630,11 +10983,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1412__", + "parentId": "__FLD_198__", + "_id": "__REQ_4645__", "_type": "request", "name": "Create a commit status", - "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://docs.github.com/github-ae@latest/rest/commits/statuses#create-a-commit-status", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8646,8 +10999,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1413__", + "parentId": "__FLD_178__", + "_id": "__REQ_4646__", "_type": "request", "name": "List watchers", "description": "Lists the people watching the specified repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-watchers", @@ -8673,8 +11026,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1414__", + "parentId": "__FLD_178__", + "_id": "__REQ_4647__", "_type": "request", "name": "Get a repository subscription", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#get-a-repository-subscription", @@ -8689,8 +11042,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1415__", + "parentId": "__FLD_178__", + "_id": "__REQ_4648__", "_type": "request", "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription) completely.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription", @@ -8705,8 +11058,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1416__", + "parentId": "__FLD_178__", + "_id": "__REQ_4649__", "_type": "request", "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/github-ae@latest/rest/reference/activity#set-a-repository-subscription).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#delete-a-repository-subscription", @@ -8721,11 +11074,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1417__", + "parentId": "__FLD_198__", + "_id": "__REQ_4650__", "_type": "request", "name": "List repository tags", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-tags", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-tags", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8748,8 +11101,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1418__", + "parentId": "__FLD_198__", + "_id": "__REQ_4651__", "_type": "request", "name": "Download a repository archive (tar)", "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", @@ -8764,11 +11117,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1419__", + "parentId": "__FLD_198__", + "_id": "__REQ_4652__", "_type": "request", "name": "List repository teams", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repository-teams", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-teams", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8791,169 +11144,220 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1420__", + "parentId": "__FLD_198__", + "_id": "__REQ_4653__", "_type": "request", "name": "Get all repository topics", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#get-all-repository-topics", - "headers": [ + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#get-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [ { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" + "name": "page", + "value": 1, + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false } - ], + ] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4654__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4655__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_198__", + "_id": "__REQ_4656__", + "_type": "request", + "name": "Download a repository archive (zip)", + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1421__", + "parentId": "__FLD_198__", + "_id": "__REQ_4657__", "_type": "request", - "name": "Replace all repository topics", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#replace-all-repository-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-using-a-template", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1422__", + "parentId": "__FLD_184__", + "_id": "__REQ_4658__", "_type": "request", - "name": "Transfer a repository", - "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#transfer-a-repository", + "name": "List provisioned SCIM groups for an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "method": "GET", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "startIndex", + "disabled": false + }, + { + "name": "count", + "disabled": false + }, + { + "name": "filter", + "disabled": false + }, + { + "name": "excludedAttributes", + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1423__", + "parentId": "__FLD_184__", + "_id": "__REQ_4659__", "_type": "request", - "name": "Enable vulnerability alerts", - "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#enable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "name": "Provision a SCIM enterprise group and invite users", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nProvision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "method": "POST", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1424__", + "parentId": "__FLD_184__", + "_id": "__REQ_4660__", "_type": "request", - "name": "Disable vulnerability alerts", - "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#disable-vulnerability-alerts", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.dorian-preview+json" - } - ], + "name": "Get SCIM provisioning information for an enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "method": "GET", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, - "parameters": [] + "parameters": [ + { + "name": "excludedAttributes", + "disabled": false + } + ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1425__", + "parentId": "__FLD_184__", + "_id": "__REQ_4661__", "_type": "request", - "name": "Download a repository archive (zip)", - "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#download-a-repository-archive", + "name": "Set SCIM information for a provisioned enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nReplaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/zipball/{{ ref }}", + "method": "PUT", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1426__", + "parentId": "__FLD_184__", + "_id": "__REQ_4662__", "_type": "request", - "name": "Create a repository using a template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-using-a-template", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.baptiste-preview+json" - } - ], + "name": "Update an attribute for a SCIM enterprise group", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nAllows you to change a provisioned group’s individual attributes. To change a group’s values, you must provide a specific Operations JSON format that contains at least one of the add, remove, or replace operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "method": "PATCH", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1427__", + "parentId": "__FLD_184__", + "_id": "__REQ_4663__", "_type": "request", - "name": "List public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-public-repositories", + "name": "Delete a SCIM group from an enterprise", + "description": "**Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "GET", - "url": "{{ github_api_root }}/repositories", + "method": "DELETE", + "url": "{{ github_api_root }}/scim/v2/enterprises/{{ enterprise }}/Groups/{{ scim_group_id }}", "body": {}, - "parameters": [ - { - "name": "since", - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1428__", + "parentId": "__FLD_199__", + "_id": "__REQ_4664__", "_type": "request", "name": "Search code", - "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-code", + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-code", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8989,17 +11393,12 @@ ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1429__", + "parentId": "__FLD_199__", + "_id": "__REQ_4665__", "_type": "request", "name": "Search commits", - "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-commits", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.cloak-preview+json" - } - ], + "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-commits", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9034,11 +11433,11 @@ ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1430__", + "parentId": "__FLD_199__", + "_id": "__REQ_4666__", "_type": "request", "name": "Search issues and pull requests", - "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-issues-and-pull-requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-issues-and-pull-requests", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9074,11 +11473,11 @@ ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1431__", + "parentId": "__FLD_199__", + "_id": "__REQ_4667__", "_type": "request", "name": "Search labels", - "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-labels", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9104,21 +11503,26 @@ "name": "order", "value": "desc", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1432__", + "parentId": "__FLD_199__", + "_id": "__REQ_4668__", "_type": "request", "name": "Search repositories", - "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-repositories", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-repositories", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9153,17 +11557,12 @@ ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1433__", + "parentId": "__FLD_199__", + "_id": "__REQ_4669__", "_type": "request", "name": "Search topics", - "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-topics", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-topics", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9175,15 +11574,25 @@ { "name": "q", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1434__", + "parentId": "__FLD_199__", + "_id": "__REQ_4670__", "_type": "request", "name": "Search users", - "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/github-ae@latest/v3/search/#search-users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/github-ae@latest/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/search#search-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9219,11 +11628,11 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1435__", + "parentId": "__FLD_201__", + "_id": "__REQ_4671__", "_type": "request", "name": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#get-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-team-by-name) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#get-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9235,11 +11644,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1436__", + "parentId": "__FLD_201__", + "_id": "__REQ_4672__", "_type": "request", "name": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#update-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#update-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9251,11 +11660,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1437__", + "parentId": "__FLD_201__", + "_id": "__REQ_4673__", "_type": "request", "name": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#delete-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#delete-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9267,17 +11676,12 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1438__", + "parentId": "__FLD_201__", + "_id": "__REQ_4674__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussions-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9304,17 +11708,12 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1439__", + "parentId": "__FLD_201__", + "_id": "__REQ_4675__", "_type": "request", "name": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9325,17 +11724,12 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1440__", + "parentId": "__FLD_201__", + "_id": "__REQ_4676__", "_type": "request", "name": "Get a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9346,17 +11740,12 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1441__", + "parentId": "__FLD_201__", + "_id": "__REQ_4677__", "_type": "request", "name": "Update a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9367,8 +11756,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1442__", + "parentId": "__FLD_201__", + "_id": "__REQ_4678__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-legacy", @@ -9383,143 +11772,23 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1443__", - "_type": "request", - "name": "List discussion comments (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", - "body": {}, - "parameters": [ - { - "name": "direction", - "value": "desc", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_70__", - "_id": "__REQ_1444__", - "_type": "request", - "name": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_70__", - "_id": "__REQ_1445__", - "_type": "request", - "name": "Get a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_70__", - "_id": "__REQ_1446__", - "_type": "request", - "name": "Update a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "PATCH", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_70__", - "_id": "__REQ_1447__", - "_type": "request", - "name": "Delete a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment-legacy", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "DELETE", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", - "body": {}, - "parameters": [] - }, - { - "parentId": "__FLD_67__", - "_id": "__REQ_1448__", + "parentId": "__FLD_201__", + "_id": "__REQ_4679__", "_type": "request", - "name": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "List discussion comments (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-discussion-comments-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [ { - "name": "content", + "name": "direction", + "value": "desc", "disabled": false }, { @@ -9535,86 +11804,72 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1449__", + "parentId": "__FLD_201__", + "_id": "__REQ_4680__", "_type": "request", - "name": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Create a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#create-a-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", "body": {}, "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1450__", + "parentId": "__FLD_201__", + "_id": "__REQ_4681__", "_type": "request", - "name": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#list-reactions-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Get a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-a-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, - "parameters": [ - { - "name": "content", - "disabled": false - }, - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1451__", + "parentId": "__FLD_201__", + "_id": "__REQ_4682__", "_type": "request", - "name": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/github-ae@latest/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://docs.github.com/github-ae@latest/v3/reactions/#create-reaction-for-a-team-discussion-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "name": "Update a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#update-a-discussion-comment-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "POST", - "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_201__", + "_id": "__REQ_4683__", + "_type": "request", + "name": "Delete a discussion comment (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#delete-a-discussion-comment-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1452__", + "parentId": "__FLD_201__", + "_id": "__REQ_4684__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-team-members-legacy", @@ -9645,8 +11900,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1453__", + "parentId": "__FLD_201__", + "_id": "__REQ_4685__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-member-legacy", @@ -9661,11 +11916,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1454__", + "parentId": "__FLD_201__", + "_id": "__REQ_4686__", "_type": "request", "name": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-team-member-legacy", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9677,11 +11932,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1455__", + "parentId": "__FLD_201__", + "_id": "__REQ_4687__", "_type": "request", "name": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-member-legacy", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-member-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9693,11 +11948,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1456__", + "parentId": "__FLD_201__", + "_id": "__REQ_4688__", "_type": "request", "name": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/github-ae@latest/rest/reference/teams#create-a-team).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#get-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9709,11 +11964,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1457__", + "parentId": "__FLD_201__", + "_id": "__REQ_4689__", "_type": "request", "name": "Add or update team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9725,11 +11980,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1458__", + "parentId": "__FLD_201__", + "_id": "__REQ_4690__", "_type": "request", "name": "Remove team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub AE](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#remove-team-membership-for-a-user-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9741,17 +11996,12 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1459__", + "parentId": "__FLD_201__", + "_id": "__REQ_4691__", "_type": "request", "name": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-projects-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#list-team-projects-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9773,17 +12023,12 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1460__", + "parentId": "__FLD_201__", + "_id": "__REQ_4692__", "_type": "request", "name": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-project-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#check-team-permissions-for-a-project-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9794,17 +12039,12 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1461__", + "parentId": "__FLD_201__", + "_id": "__REQ_4693__", "_type": "request", "name": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-project-permissions-legacy", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#add-or-update-team-project-permissions-legacy", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -9815,11 +12055,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1462__", + "parentId": "__FLD_201__", + "_id": "__REQ_4694__", "_type": "request", "name": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-project-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#remove-a-project-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9831,11 +12071,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1463__", + "parentId": "__FLD_201__", + "_id": "__REQ_4695__", "_type": "request", "name": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-team-repositories-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/github-ae@latest/rest/reference/teams#list-team-repositories) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#list-team-repositories-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9858,11 +12098,11 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1464__", + "parentId": "__FLD_201__", + "_id": "__REQ_4696__", "_type": "request", "name": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#check-team-permissions-for-a-repository-legacy", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/github-ae@latest/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#check-team-permissions-for-a-repository-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9874,11 +12114,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1465__", + "parentId": "__FLD_201__", + "_id": "__REQ_4697__", "_type": "request", "name": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#add-or-update-team-repository-permissions-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/github-ae@latest/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9890,11 +12130,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1466__", + "parentId": "__FLD_201__", + "_id": "__REQ_4698__", "_type": "request", "name": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#remove-a-repository-from-a-team-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/github-ae@latest/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#remove-a-repository-from-a-team-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9906,11 +12146,11 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1467__", + "parentId": "__FLD_201__", + "_id": "__REQ_4699__", "_type": "request", "name": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-child-teams-legacy", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/github-ae@latest/rest/reference/teams#list-child-teams) endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams/#list-child-teams-legacy", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9933,11 +12173,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1468__", + "parentId": "__FLD_202__", + "_id": "__REQ_4700__", "_type": "request", "name": "Get the authenticated user", - "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-the-authenticated-user", + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9949,11 +12189,11 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1469__", + "parentId": "__FLD_202__", + "_id": "__REQ_4701__", "_type": "request", "name": "Update the authenticated user", - "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#update-the-authenticated-user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users/#update-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9965,8 +12205,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1470__", + "parentId": "__FLD_202__", + "_id": "__REQ_4702__", "_type": "request", "name": "List followers of the authenticated user", "description": "Lists the people following the authenticated user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-the-authenticated-user", @@ -9992,8 +12232,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1471__", + "parentId": "__FLD_202__", + "_id": "__REQ_4703__", "_type": "request", "name": "List the people the authenticated user follows", "description": "Lists the people who the authenticated user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-the-authenticated-user-follows", @@ -10019,8 +12259,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1472__", + "parentId": "__FLD_202__", + "_id": "__REQ_4704__", "_type": "request", "name": "Check if a person is followed by the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", @@ -10035,8 +12275,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1473__", + "parentId": "__FLD_202__", + "_id": "__REQ_4705__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#follow-a-user", @@ -10051,8 +12291,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1474__", + "parentId": "__FLD_202__", + "_id": "__REQ_4706__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#unfollow-a-user", @@ -10067,8 +12307,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1475__", + "parentId": "__FLD_202__", + "_id": "__REQ_4707__", "_type": "request", "name": "List GPG keys for the authenticated user", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-the-authenticated-user", @@ -10094,8 +12334,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1476__", + "parentId": "__FLD_202__", + "_id": "__REQ_4708__", "_type": "request", "name": "Create a GPG key for the authenticated user", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", @@ -10110,8 +12350,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1477__", + "parentId": "__FLD_202__", + "_id": "__REQ_4709__", "_type": "request", "name": "Get a GPG key for the authenticated user", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", @@ -10126,8 +12366,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1478__", + "parentId": "__FLD_202__", + "_id": "__REQ_4710__", "_type": "request", "name": "Delete a GPG key for the authenticated user", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", @@ -10142,8 +12382,8 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1479__", + "parentId": "__FLD_179__", + "_id": "__REQ_4711__", "_type": "request", "name": "List app installations accessible to the user access token", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", @@ -10169,17 +12409,12 @@ ] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1480__", + "parentId": "__FLD_179__", + "_id": "__REQ_4712__", "_type": "request", "name": "List repositories accessible to the user access token", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.mercy-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10201,8 +12436,8 @@ ] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1481__", + "parentId": "__FLD_179__", + "_id": "__REQ_4713__", "_type": "request", "name": "Add a repository to an app installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#add-a-repository-to-an-app-installation", @@ -10217,8 +12452,8 @@ "parameters": [] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1482__", + "parentId": "__FLD_179__", + "_id": "__REQ_4714__", "_type": "request", "name": "Remove a repository from an app installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github-ae@latest/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#remove-a-repository-from-an-app-installation", @@ -10233,17 +12468,12 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1483__", + "parentId": "__FLD_188__", + "_id": "__REQ_4715__", "_type": "request", "name": "List user account issues assigned to the authenticated user", - "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.squirrel-girl-preview+json" - } - ], + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/github-ae@latest/rest/reference/pulls#list-pull-requests)\" endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10293,8 +12523,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1484__", + "parentId": "__FLD_202__", + "_id": "__REQ_4716__", "_type": "request", "name": "List public SSH keys for the authenticated user", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", @@ -10320,8 +12550,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1485__", + "parentId": "__FLD_202__", + "_id": "__REQ_4717__", "_type": "request", "name": "Create a public SSH key for the authenticated user", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", @@ -10336,8 +12566,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1486__", + "parentId": "__FLD_202__", + "_id": "__REQ_4718__", "_type": "request", "name": "Get a public SSH key for the authenticated user", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", @@ -10352,8 +12582,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1487__", + "parentId": "__FLD_202__", + "_id": "__REQ_4719__", "_type": "request", "name": "Delete a public SSH key for the authenticated user", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", @@ -10368,8 +12598,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1488__", + "parentId": "__FLD_193__", + "_id": "__REQ_4720__", "_type": "request", "name": "List organization memberships for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", @@ -10399,8 +12629,8 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1489__", + "parentId": "__FLD_193__", + "_id": "__REQ_4721__", "_type": "request", "name": "Get an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", @@ -10415,8 +12645,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1490__", + "parentId": "__FLD_193__", + "_id": "__REQ_4722__", "_type": "request", "name": "Update an organization membership for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", @@ -10431,11 +12661,97 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1491__", + "parentId": "__FLD_192__", + "_id": "__REQ_4723__", + "_type": "request", + "name": "List user migrations", + "description": "Lists all migrations a user has started.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#list-user-migrations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4724__", + "_type": "request", + "name": "Start a user migration", + "description": "Initiates the generation of a user migration archive.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#start-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/migrations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4725__", + "_type": "request", + "name": "Download a user migration archive", + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#download-a-user-migration-archive", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/archive", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_192__", + "_id": "__REQ_4726__", + "_type": "request", + "name": "List repositories for a user migration", + "description": "Lists all the repositories for this user migration.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/migrations#list-repositories-for-a-user-migration", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/migrations/{{ migration_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_193__", + "_id": "__REQ_4727__", "_type": "request", "name": "List organizations for the authenticated user", - "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-the-authenticated-user", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10458,17 +12774,12 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1492__", + "parentId": "__FLD_194__", + "_id": "__REQ_4728__", "_type": "request", "name": "Create a user project", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#create-a-user-project", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#create-a-user-project", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10479,11 +12790,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1493__", + "parentId": "__FLD_198__", + "_id": "__REQ_4729__", "_type": "request", "name": "List repositories for the authenticated user", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-the-authenticated-user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10538,17 +12849,12 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1494__", + "parentId": "__FLD_198__", + "_id": "__REQ_4730__", "_type": "request", "name": "Create a repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#create-a-repository-for-the-authenticated-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" - } - ], + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -10559,11 +12865,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1495__", + "parentId": "__FLD_198__", + "_id": "__REQ_4731__", "_type": "request", "name": "List repository invitations for the authenticated user", - "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10586,11 +12892,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1496__", + "parentId": "__FLD_198__", + "_id": "__REQ_4732__", "_type": "request", "name": "Accept a repository invitation", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#accept-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#accept-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10602,11 +12908,11 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1497__", + "parentId": "__FLD_198__", + "_id": "__REQ_4733__", "_type": "request", "name": "Decline a repository invitation", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#decline-a-repository-invitation", + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/collaborators/invitations#decline-a-repository-invitation", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10618,8 +12924,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1498__", + "parentId": "__FLD_178__", + "_id": "__REQ_4734__", "_type": "request", "name": "List repositories starred by the authenticated user", "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", @@ -10655,8 +12961,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1499__", + "parentId": "__FLD_178__", + "_id": "__REQ_4735__", "_type": "request", "name": "Check if a repository is starred by the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", @@ -10671,8 +12977,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1500__", + "parentId": "__FLD_178__", + "_id": "__REQ_4736__", "_type": "request", "name": "Star a repository for the authenticated user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#star-a-repository-for-the-authenticated-user", @@ -10687,8 +12993,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1501__", + "parentId": "__FLD_178__", + "_id": "__REQ_4737__", "_type": "request", "name": "Unstar a repository for the authenticated user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", @@ -10703,8 +13009,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1502__", + "parentId": "__FLD_178__", + "_id": "__REQ_4738__", "_type": "request", "name": "List repositories watched by the authenticated user", "description": "Lists repositories the authenticated user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", @@ -10730,11 +13036,11 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1503__", + "parentId": "__FLD_201__", + "_id": "__REQ_4739__", "_type": "request", "name": "List teams for the authenticated user", - "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/v3/teams/#list-teams-for-the-authenticated-user", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/).\n\nhttps://docs.github.com/github-ae@latest/rest/reference/teams#list-teams-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10757,11 +13063,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1504__", + "parentId": "__FLD_202__", + "_id": "__REQ_4740__", "_type": "request", "name": "List users", - "description": "Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/github-ae@latest/v3/users/#list-users", + "description": "Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-users", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10783,11 +13089,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1505__", + "parentId": "__FLD_202__", + "_id": "__REQ_4741__", "_type": "request", "name": "Get a user", - "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub AE plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub AE plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub AE [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub AE. For more information, see [Authentication](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/github-ae@latest/rest/reference/users#emails)\".\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-a-user", + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub AE plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub AE plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub AE [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub AE. For more information, see [Authentication](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/github-ae@latest/rest/reference/users#emails)\".\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10799,8 +13105,8 @@ "parameters": [] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1506__", + "parentId": "__FLD_178__", + "_id": "__REQ_4742__", "_type": "request", "name": "List events for the authenticated user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-for-the-authenticated-user", @@ -10826,8 +13132,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1507__", + "parentId": "__FLD_178__", + "_id": "__REQ_4743__", "_type": "request", "name": "List organization events for the authenticated user", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-organization-events-for-the-authenticated-user", @@ -10853,35 +13159,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1508__", - "_type": "request", - "name": "List public events for a user", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-for-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/events/public", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_71__", - "_id": "__REQ_1509__", + "parentId": "__FLD_202__", + "_id": "__REQ_4744__", "_type": "request", "name": "List followers of a user", "description": "Lists the people following the specified user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-followers-of-a-user", @@ -10907,8 +13186,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1510__", + "parentId": "__FLD_202__", + "_id": "__REQ_4745__", "_type": "request", "name": "List the people a user follows", "description": "Lists the people who the specified user follows.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-the-people-a-user-follows", @@ -10934,8 +13213,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1511__", + "parentId": "__FLD_202__", + "_id": "__REQ_4746__", "_type": "request", "name": "Check if a user follows another user", "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#check-if-a-user-follows-another-user", @@ -10950,11 +13229,11 @@ "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1512__", + "parentId": "__FLD_185__", + "_id": "__REQ_4747__", "_type": "request", "name": "List gists for a user", - "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/github-ae@latest/v3/gists/#list-gists-for-a-user", + "description": "Lists public gists for the specified user:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/gists#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10981,8 +13260,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1513__", + "parentId": "__FLD_202__", + "_id": "__REQ_4748__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-gpg-keys-for-a-user", @@ -11008,11 +13287,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1514__", + "parentId": "__FLD_202__", + "_id": "__REQ_4749__", "_type": "request", "name": "Get contextual information for a user", - "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/github-ae@latest/v3/users/#get-contextual-information-for-a-user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#get-contextual-information-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11033,11 +13312,11 @@ ] }, { - "parentId": "__FLD_51__", - "_id": "__REQ_1515__", + "parentId": "__FLD_179__", + "_id": "__REQ_4750__", "_type": "request", "name": "Get a user installation for the authenticated app", - "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11049,8 +13328,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1516__", + "parentId": "__FLD_202__", + "_id": "__REQ_4751__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/users#list-public-keys-for-a-user", @@ -11076,11 +13355,11 @@ ] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1517__", + "parentId": "__FLD_193__", + "_id": "__REQ_4752__", "_type": "request", "name": "List organizations for a user", - "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/github-ae@latest/v3/orgs/#list-organizations-for-a-user", + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/orgs#list-organizations-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11103,17 +13382,12 @@ ] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1518__", + "parentId": "__FLD_194__", + "_id": "__REQ_4753__", "_type": "request", "name": "List user projects", - "description": "\n\nhttps://docs.github.com/github-ae@latest/v3/projects/#list-user-projects", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.inertia-preview+json" - } - ], + "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/projects#list-user-projects", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11140,71 +13414,12 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1519__", - "_type": "request", - "name": "List events received by the authenticated user", - "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-events-received-by-the-authenticated-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_50__", - "_id": "__REQ_1520__", - "_type": "request", - "name": "List public events received by a user", - "description": "\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-public-events-received-by-a-user", - "headers": [], - "authentication": { - "token": "{{ github_token }}", - "type": "bearer" - }, - "method": "GET", - "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", - "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] - }, - { - "parentId": "__FLD_68__", - "_id": "__REQ_1521__", + "parentId": "__FLD_198__", + "_id": "__REQ_4754__", "_type": "request", "name": "List repositories for a user", - "description": "Lists public repositories for the specified user.\n\nhttps://docs.github.com/github-ae@latest/v3/repos/#list-repositories-for-a-user", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.nebula-preview+json" - } - ], + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/repos#list-repositories-for-a-user", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -11240,8 +13455,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1522__", + "parentId": "__FLD_178__", + "_id": "__REQ_4755__", "_type": "request", "name": "List repositories starred by a user", "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types/) via the `Accept` header:\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-starred-by-a-user", @@ -11277,8 +13492,8 @@ ] }, { - "parentId": "__FLD_50__", - "_id": "__REQ_1523__", + "parentId": "__FLD_178__", + "_id": "__REQ_4756__", "_type": "request", "name": "List repositories watched by a user", "description": "Lists repositories a user is watching.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/activity#list-repositories-watched-by-a-user", @@ -11304,11 +13519,11 @@ ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1524__", + "parentId": "__FLD_184__", + "_id": "__REQ_4757__", "_type": "request", "name": "Suspend a user", - "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/github-ae@latest/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#suspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11320,11 +13535,11 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1525__", + "parentId": "__FLD_184__", + "_id": "__REQ_4758__", "_type": "request", "name": "Unsuspend a user", - "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#unsuspend-a-user", + "description": "If your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/github-ae@latest/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#unsuspend-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11336,8 +13551,8 @@ "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1526__", + "parentId": "__FLD_191__", + "_id": "__REQ_4759__", "_type": "request", "name": "Get the Zen of GitHub", "description": "",